From: Shahed Shaikh Date: Sun, 20 Oct 2019 05:20:51 +0000 (-0700) Subject: net/qede: fix setting VLAN strip mode X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=30b170b4a56f313f1668d4f583d9572ce48823c7;p=dpdk.git net/qede: fix setting VLAN strip mode Commit 9a6d30ae6d46 ("net/qede: refactoring vport handling code") deleted the code as part of refactoring which sets vlan strip mode. Revert it back and fix vlan strip feature. Fixes: 9a6d30ae6d46 ("net/qede: refactoring vport handling code") Cc: stable@dpdk.org Signed-off-by: Shahed Shaikh Reviewed-by: Rasesh Mody --- diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 42e2b50831..575982fd08 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -833,6 +833,8 @@ static int qede_vlan_stripping(struct rte_eth_dev *eth_dev, bool flg) } } + qdev->vlan_strip_flg = flg; + DP_INFO(edev, "VLAN stripping %s\n", flg ? "enabled" : "disabled"); return 0; }