DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH]  vmxnet3: initialize receive mode correctly
@ 2014-07-25 17:50 Stephen Hemminger
  2014-08-01 14:50 ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2014-07-25 17:50 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

The driver must listen to broadcast packets, like other devices.
Otherwise protocols like ARP won't work!

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>


--- a/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c	2014-07-25 10:49:18.720201127 -0700
+++ b/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c	2014-07-25 10:49:18.720201127 -0700
@@ -522,7 +522,7 @@ vmxnet3_dev_start(struct rte_eth_dev *de
 	}
 
 	/* Setting proper Rx Mode and issue Rx Mode Update command */
-	vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_UCAST | VMXNET3_RXM_ALL_MULTI, 1);
+	vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_UCAST | VMXNET3_RXM_BCAST, 1);
 
 	/*
 	 * Don't need to handle events for now

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

end of thread, other threads:[~2014-08-26  6:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 17:50 [dpdk-dev] [PATCH] vmxnet3: initialize receive mode correctly Stephen Hemminger
2014-08-01 14:50 ` Thomas Monjalon
2014-08-01 15:53   ` Stephen Hemminger
2014-08-26  0:33   ` Stephen Hemminger
2014-08-26  6:50     ` 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).