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

Zhang, Qi Z qi.z.zhang at intel.com
Tue Oct 18 08:47:09 CEST 2022



> -----Original Message-----
> From: Ye, MingjinX <mingjinx.ye at intel.com>
> Sent: Tuesday, October 18, 2022 5:29 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Zhou, YidingX <yidingx.zhou at intel.com>; Ye, MingjinX
> <mingjinx.ye at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi
> Z <qi.z.zhang at intel.com>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>; Matz, Olivier
> <olivier.matz at 6wind.com>; Somnath Kotur
> <somnath.kotur at broadcom.com>; Ajit Khaparde
> <ajit.khaparde at broadcom.com>
> Subject: [PATCH] net/ice: support vxlan gpe tunnel offload
> 
> 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.
> 

Is that an issue on the Tx descriptor if ICE_TXD_CTX_UDP_TUNNELING is not configured with a VxLAN GPE packet?
Better to describe the reproduce scenario a little bit here

> 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