git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e470a6
)
examples/ethtool: disable promiscuous mode by default
author
Qi Zhang
<qi.z.zhang@intel.com>
Wed, 12 Apr 2017 19:58:19 +0000
(15:58 -0400)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 21 Apr 2017 00:24:31 +0000
(
02:24
+0200)
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>
examples/ethtool/ethtool-app/main.c
patch
|
blob
|
history
diff --git
a/examples/ethtool/ethtool-app/main.c
b/examples/ethtool/ethtool-app/main.c
index
2c655d8
..
6d50d46
100644
(file)
--- 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);
}