From: Helin Zhang Date: Tue, 24 Jun 2014 02:02:37 +0000 (+0800) Subject: i40e: disable double vlan by default X-Git-Tag: spdx-start~10605 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1d61728822266eeb3dd548c578feada93979de26;p=dpdk.git i40e: disable double vlan by default Double vlan should be specifically disabled by default during port initialization which is expected. Signed-off-by: Helin Zhang Acked-by: Jing Chen Acked-by: Cunming Liang --- diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index 0d7be445fa..204d2cbe44 100644 --- 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