Skip to contentSkip to conversation

net/ixgbe: fix VF Rx mode if allmulticast is disabled

PATCH Applied Wei Dai 3 participants 3 messages May 4, 2017 – May 5, 2017 Network drivers

lore
Share & tools
lore

Wei Dai

author
#0 lore raw

PATCH 1/1 net/ixgbe: fix VF Rx mode if allmulticast is disabled

Some customers find that 82599 NIC DPDK VF PMD can't receive any broadcast packets when it is bound to igb_uio in the first time to run a DPDK application like testpmd. But when the application is quited and run again, the DPDK VF PMD can receive broadcast packets again. The associated PF is run by kernel driver when the VF is driven by DPDK PMD.

When patch fixes this issue.

Fixes 260e2e22e26f ("net/ixgbe/base: move multicast mode update")
Fixes 72dec9e37a84 ("ixgbe: support multicast promiscuous mode on VF")
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ixgbe/ixgbe_ethdev.c +1 -1
index bbae4f9..dbe777d 100644
@@ -7852,7 +7852,7 @@ ixgbevf_dev_allmulticast_disable(struct rte_eth_dev *dev)
 {
 	struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);
 
-	hw->mac.ops.update_xcast_mode(hw, IXGBEVF_XCAST_MODE_NONE);
+	hw->mac.ops.update_xcast_mode(hw, IXGBEVF_XCAST_MODE_MULTI);
 }
 
 static void ixgbevf_mbx_process(struct rte_eth_dev *dev)
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 13 lines

-----Original Message-----
From: Dai, Wei
Sent: Thursday, May 4, 2017 5:55 PM
To: Zhang, Helin; Ananyev, Konstantin; Lu, Wenzhuo
Cc: [email protected]; Dai, Wei; [email protected]
Subject: [PATCH] net/ixgbe: fix VF Rx mode if allmulticast is disabled

Some customers find that 82599 NIC DPDK VF PMD can't receive any broadcast packets when it is bound to igb_uio in the first time to run a DPDK application like testpmd. But when the application is quited and run again, the DPDK VF PMD can receive broadcast packets again. The associated PF is run by kernel driver when the VF is driven by DPDK PMD.

Quoted 7 lines

When patch fixes this issue.

Fixes 260e2e22e26f ("net/ixgbe/base: move multicast mode update")
Fixes 72dec9e37a84 ("ixgbe: support multicast promiscuous mode on VF")
#2 lore raw
Quoted 6 lines
Quoted 6 lines

Some customers find that 82599 NIC DPDK VF PMD can't receive any broadcast packets when it is bound to igb_uio in the first time to run a DPDK application like testpmd. But when the application is quited and run again, the DPDK VF PMD can receive broadcast packets again. The associated PF is run by kernel driver when the VF is driven by DPDK PMD.

Quoted 8 lines
Quoted 7 lines

When patch fixes this issue.

Fixes 260e2e22e26f ("net/ixgbe/base: move multicast mode update")
Fixes 72dec9e37a84 ("ixgbe: support multicast promiscuous mode on VF")

Applied, thanks