DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/iavf: fix vlan offload issue
@ 2022-11-02  0:28 Wenzhuo Lu
  2022-11-09  1:14 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Wenzhuo Lu @ 2022-11-02  0:28 UTC (permalink / raw)
  To: dev; +Cc: Wenzhuo Lu, stable

HW VLAN offload cannot be enabled because the HW capability flags
are not set correctly.

Fixes: eff56a7b9f97 ("net/iavf: add offload path for Rx AVX512")
Cc: stable@dpdk.org

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
 drivers/net/iavf/iavf_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index 8d9f3a6..3196210 100644
--- a/drivers/net/iavf/iavf_ethdev.c
+++ b/drivers/net/iavf/iavf_ethdev.c
@@ -1125,6 +1125,7 @@ static int iavf_config_rx_queues_irqs(struct rte_eth_dev *dev,
 		RTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM |
 		RTE_ETH_RX_OFFLOAD_SCATTER |
 		RTE_ETH_RX_OFFLOAD_VLAN_FILTER |
+		RTE_ETH_RX_OFFLOAD_VLAN_EXTEND |
 		RTE_ETH_RX_OFFLOAD_RSS_HASH;
 
 	dev_info->tx_offload_capa =
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-09  1:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02  0:28 [PATCH] net/iavf: fix vlan offload issue Wenzhuo Lu
2022-11-09  1:14 ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).