[PATCH] net/ice: support vxlan gpe tunnel offload

Mingjin Ye mingjinx.ye at intel.com
Mon Oct 17 15:24:04 CEST 2022


PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause
the tx queues overflow and stop working when sending such packets.

This patch adds support for the vxlan gpe.

Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags")
Cc: stable at dpdk.org

Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
---
 drivers/net/ice/ice_rxtx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 697251c603..0a2b0376ac 100644
--- a/drivers/net/ice/ice_rxtx.c
+++ b/drivers/net/ice/ice_rxtx.c
@@ -2690,6 +2690,7 @@ ice_parse_tunneling_params(uint64_t ol_flags,
 		/* for non UDP / GRE tunneling, set to 00b */
 		break;
 	case RTE_MBUF_F_TX_TUNNEL_VXLAN:
+	case RTE_MBUF_F_TX_TUNNEL_VXLAN_GPE:
 	case RTE_MBUF_F_TX_TUNNEL_GTP:
 	case RTE_MBUF_F_TX_TUNNEL_GENEVE:
 		*cd_tunneling |= ICE_TXD_CTX_UDP_TUNNELING;
-- 
2.34.1



More information about the stable mailing list