From: Wei Dai Date: Thu, 4 May 2017 09:54:40 +0000 (+0800) Subject: net/ixgbe: fix VF Rx mode for allmulticast disabled X-Git-Tag: spdx-start~3276 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b604589d572ee8844afaf196e82d2d563f51f543;p=dpdk.git net/ixgbe: fix VF Rx mode for allmulticast 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. Fixes: 260e2e22e26f ("net/ixgbe/base: move multicast mode update") Fixes: 72dec9e37a84 ("ixgbe: support multicast promiscuous mode on VF") Cc: stable@dpdk.org Signed-off-by: Wei Dai Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index b17c8b1098..210610eaac 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -7863,7 +7863,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)