[dpdk-stable] [PATCH] net/txgbe: fix VLAN filter setting for VF
Jiawen Wu
jiawenwu at trustnetic.com
Wed Jul 14 08:05:48 CEST 2021
Fix the function call error on VLAN filter table address setting for VF.
Fixes: aa1ae7941e71 ("net/txgbe: support VF VLAN")
Cc: stable at dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
---
drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/txgbe/txgbe_ethdev_vf.c b/drivers/net/txgbe/txgbe_ethdev_vf.c
index 6f577f4c80..0bae6ffd1f 100644
--- a/drivers/net/txgbe/txgbe_ethdev_vf.c
+++ b/drivers/net/txgbe/txgbe_ethdev_vf.c
@@ -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;
}
--
2.21.0.windows.1
More information about the stable
mailing list