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

* RE: [PATCH] net/iavf: fix vlan offload issue
  2022-11-02  0:28 [PATCH] net/iavf: fix vlan offload issue Wenzhuo Lu
@ 2022-11-09  1:14 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2022-11-09  1:14 UTC (permalink / raw)
  To: Lu, Wenzhuo, dev; +Cc: Lu, Wenzhuo, stable



> -----Original Message-----
> From: Wenzhuo Lu <wenzhuo.lu@intel.com>
> Sent: Wednesday, November 2, 2022 8:29 AM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo <wenzhuo.lu@intel.com>; stable@dpdk.org
> Subject: [PATCH] net/iavf: fix vlan offload issue
> 
> 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>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


^ 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).