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

Xu, Ke1 ke1.xu at intel.com
Fri Oct 21 11:14:06 CEST 2022



> -----Original Message-----
> From: Mingjin Ye <mingjinx.ye at intel.com>
> Sent: Friday, October 21, 2022 9:00 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>; Somnath Kotur <somnath.kotur at broadcom.com>;
> Matz, Olivier <olivier.matz at 6wind.com>; Ajit Khaparde
> <ajit.khaparde at broadcom.com>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>
> Subject: [PATCH v2] net/ice: support vxlan gpe tunnel offload
> 
> PMD tx path does not support VXLAN_GPE tunnel offload. Because it does
> not process RTE_MBUF_F_TX_TUNNEL_VXLAN_GPE flag in mbuf, and then
> the "L4TUNT"
> field will not be set in Tx context descriptor.
> 
> This patch is to add the RTE_MBUF_F_TX_TUNNEL_VXLAN_GPE flag to
> support Tx VXLAN_GPE offload under the scenario if the offload tso and
> VXLAN_GPE tunnel are both required, so that it would avoid tx queue
> overflowing.
> 
> Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>

Verified and passed.
Tested-by: Ke Xu <ke1.xu at intel.com>

> ---
>  drivers/net/ice/ice_rxtx.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> --
> 2.34.1



More information about the stable mailing list