From: Qi Zhang Date: Wed, 12 Apr 2017 19:58:19 +0000 (-0400) Subject: examples/ethtool: disable promiscuous mode by default X-Git-Tag: spdx-start~3419 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6fed57a3f4925f2e49482f0f85e48c3827cc2d7b;p=dpdk.git examples/ethtool: disable promiscuous mode by default Disable promiscuous mode by default since VLAN filter does not work when promiscuous mode is enabled. Signed-off-by: Qi Zhang Acked-by: Remy Horton --- diff --git a/examples/ethtool/ethtool-app/main.c b/examples/ethtool/ethtool-app/main.c index 2c655d83e9..6d50d4639e 100644 --- a/examples/ethtool/ethtool-app/main.c +++ b/examples/ethtool/ethtool-app/main.c @@ -172,7 +172,6 @@ static void setup_ports(struct app_config *app_cfg, int cnt_ports) "%s:%i: rte_eth_dev_start failed", __FILE__, __LINE__ ); - rte_eth_promiscuous_enable(idx_port); rte_eth_macaddr_get(idx_port, &ptr_port->mac_addr); rte_spinlock_init(&ptr_port->lock); }