DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ixgbe: fix VF Rx mode if allmulticast is disabled
@ 2017-05-04  9:54 Wei Dai
  2017-05-05  1:52 ` Lu, Wenzhuo
  0 siblings, 1 reply; 3+ messages in thread
From: Wei Dai @ 2017-05-04  9:54 UTC (permalink / raw)
  To: helin.zhang, konstantin.ananyev, wenzhuo.lu; +Cc: dev, Wei Dai, stable

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")
Cc: stable@dpdk.org

Signed-off-by: Wei Dai <wei.dai@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index bbae4f9..dbe777d 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -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)
-- 
2.7.4

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

* Re: [dpdk-dev] [PATCH] net/ixgbe: fix VF Rx mode if allmulticast is disabled
  2017-05-04  9:54 [dpdk-dev] [PATCH] net/ixgbe: fix VF Rx mode if allmulticast is disabled Wei Dai
@ 2017-05-05  1:52 ` Lu, Wenzhuo
  2017-05-05 15:03   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Lu, Wenzhuo @ 2017-05-05  1:52 UTC (permalink / raw)
  To: Dai, Wei, Zhang, Helin, Ananyev, Konstantin; +Cc: dev, stable

Hi,

> -----Original Message-----
> From: Dai, Wei
> Sent: Thursday, May 4, 2017 5:55 PM
> To: Zhang, Helin; Ananyev, Konstantin; Lu, Wenzhuo
> Cc: dev@dpdk.org; Dai, Wei; stable@dpdk.org
> 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.
> 
> When patch fixes this issue.
> 
> 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 <wei.dai@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

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

* Re: [dpdk-dev] [PATCH] net/ixgbe: fix VF Rx mode if allmulticast is disabled
  2017-05-05  1:52 ` Lu, Wenzhuo
@ 2017-05-05 15:03   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2017-05-05 15:03 UTC (permalink / raw)
  To: Dai, Wei; +Cc: dev, Lu, Wenzhuo, Zhang, Helin, Ananyev, Konstantin, stable

> > 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")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Wei Dai <wei.dai@intel.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Applied, thanks

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

end of thread, other threads:[~2017-05-05 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04  9:54 [dpdk-dev] [PATCH] net/ixgbe: fix VF Rx mode if allmulticast is disabled Wei Dai
2017-05-05  1:52 ` Lu, Wenzhuo
2017-05-05 15:03   ` 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).