From 638e82a1399d0a33722d9dd4e64994cf1500399e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 25 Jul 2014 10:50:37 -0700 Subject: [PATCH] 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 --- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1