[PATCH v2] net/ice: fix the judgment order of buffer split

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



> -----Original Message-----
> From: Wang, YuanX <yuanx.wang at intel.com>
> Sent: Tuesday, October 18, 2022 1:05 AM
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Ding, Xuan <xuan.ding at intel.com>; Tang, Yaqi
> <yaqi.tang at intel.com>; Wang, YuanX <yuanx.wang at intel.com>
> Subject: [PATCH v2] net/ice: fix the judgment order of buffer split
> 
> proto_hdr defines a bit mask of the protocol sequence as RTE_PTYPE_*, The
> last RTE_PTYPE* in the mask indicates the split position.
> 
> To get the split position from proto_hdr, the order of judgement should be
> from inner to outer layer, so for tunneling packets the tunnel header should
> be placed at the end of the judgement condition.
> 
> Fixes: 629dad3ef325 ("net/ice: support buffer split in scalar Rx")
> 
> Signed-off-by: Yuan Wang <yuanx.wang at intel.com>

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

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list