From: Rasesh Mody Date: Thu, 28 Jun 2018 06:01:57 +0000 (-0700) Subject: net/qede: fix default extended VLAN offload config X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c6dd1eb8a55c1f66da8398508ea8a749799eef18;p=dpdk.git net/qede: fix default extended VLAN offload config This patch disables extended VLAN offload by default as PMD does not support it. Fixes: d87246a43759 ("net/qede: enable and disable VLAN filtering") Cc: stable@dpdk.org Signed-off-by: Rasesh Mody --- diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index b726e89d13..68c8c899b2 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -1494,8 +1494,7 @@ static int qede_dev_configure(struct rte_eth_dev *eth_dev) /* Enable VLAN offloads by default */ ret = qede_vlan_offload_set(eth_dev, ETH_VLAN_STRIP_MASK | - ETH_VLAN_FILTER_MASK | - ETH_VLAN_EXTEND_MASK); + ETH_VLAN_FILTER_MASK); if (ret) return ret;