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:
3b63d93
)
i40e: disable double vlan by default
author
Helin Zhang
<helin.zhang@intel.com>
Tue, 24 Jun 2014 02:02:37 +0000
(10:02 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 24 Jun 2014 11:05:21 +0000
(13:05 +0200)
Double vlan should be specifically disabled by default during
port initialization which is expected.
Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c
patch
|
blob
|
history
diff --git
a/lib/librte_pmd_i40e/i40e_ethdev.c
b/lib/librte_pmd_i40e/i40e_ethdev.c
index
0d7be44
..
204d2cb
100644
(file)
--- a/
lib/librte_pmd_i40e/i40e_ethdev.c
+++ b/
lib/librte_pmd_i40e/i40e_ethdev.c
@@
-482,6
+482,10
@@
eth_i40e_dev_init(__rte_unused struct eth_driver *eth_drv,
}
vsi = pf->main_vsi;
+
+ /* Disable double vlan by default */
+ i40e_vsi_config_double_vlan(vsi, FALSE);
+
if (!vsi->max_macaddrs)
len = ETHER_ADDR_LEN;
else