net/txgbe: fix VLAN filter setting for VF
Checks
Commit Message
Fix the function call error on VLAN filter table address setting for VF.
Fixes: aa1ae7941e71 ("net/txgbe: support VF VLAN")
Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
---
drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
14/07/2021 08:05, Jiawen Wu:
> Fix the function call error on VLAN filter table address setting for VF.
>
> Fixes: aa1ae7941e71 ("net/txgbe: support VF VLAN")
> Cc: stable@dpdk.org
>
> Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Applied, thanks
@@ -823,7 +823,7 @@ static void txgbevf_set_vfta_all(struct rte_eth_dev *dev, bool on)
mask = 1;
for (j = 0; j < 32; j++) {
if (vfta & mask)
- txgbe_set_vfta(hw, (i << 5) + j, 0,
+ hw->mac.set_vfta(hw, (i << 5) + j, 0,
on, false);
mask <<= 1;
}