summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQi Zhang <qi.z.zhang@intel.com>2017-04-12 15:58:19 -0400
committerThomas Monjalon <thomas@monjalon.net>2017-04-21 02:24:31 +0200
commit6fed57a3f4925f2e49482f0f85e48c3827cc2d7b (patch)
tree0f2c4755729aa9aedcb6634a2ea6e54be0bbaed7
parent5e470a6654e1c90066ce4e96dc26798093c34d6e (diff)
downloaddpdk-6fed57a3f4925f2e49482f0f85e48c3827cc2d7b.zip
dpdk-6fed57a3f4925f2e49482f0f85e48c3827cc2d7b.tar.gz
dpdk-6fed57a3f4925f2e49482f0f85e48c3827cc2d7b.tar.xz
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 <qi.z.zhang@intel.com> Acked-by: Remy Horton <remy.horton@intel.com>
-rw-r--r--examples/ethtool/ethtool-app/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/ethtool/ethtool-app/main.c b/examples/ethtool/ethtool-app/main.c
index 2c655d8..6d50d46 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);
}