From 6fed57a3f4925f2e49482f0f85e48c3827cc2d7b Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Wed, 12 Apr 2017 15:58:19 -0400 Subject: [PATCH] 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 --- examples/ethtool/ethtool-app/main.c | 1 - 1 file changed, 1 deletion(-) 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); } -- 2.20.1