From 1d61728822266eeb3dd548c578feada93979de26 Mon Sep 17 00:00:00 2001 From: Helin Zhang Date: Tue, 24 Jun 2014 10:02:37 +0800 Subject: [PATCH] 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 --- lib/librte_pmd_i40e/i40e_ethdev.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1