From: Stephen Hemminger Date: Fri, 25 Jul 2014 17:50:37 +0000 (-0700) Subject: vmxnet3: initialize receive mode for broadcast X-Git-Tag: spdx-start~10477 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=638e82a1399d0a33722d9dd4e64994cf1500399e;p=dpdk.git vmxnet3: initialize receive mode for broadcast The driver must listen to broadcast packets, like other devices. Otherwise protocols like ARP won't work! Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon --- diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c b/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c index e6caa0a25c..c6e69f223c 100644 --- a/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c +++ b/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c @@ -522,7 +522,7 @@ vmxnet3_dev_start(struct rte_eth_dev *dev) } /* 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