patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] net/txgbe: fix VLAN filter setting for VF
@ 2021-07-14  6:05 Jiawen Wu
  2021-07-23 14:07 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Jiawen Wu @ 2021-07-14  6:05 UTC (permalink / raw)
  To: dev; +Cc: Jiawen Wu, stable

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(-)

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-23 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  6:05 [dpdk-stable] [PATCH] net/txgbe: fix VLAN filter setting for VF Jiawen Wu
2021-07-23 14:07 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).