[PATCH v4 1/2] net/ice: fix scalar Rx path segment

Xu, Ke1 ke1.xu at intel.com
Fri Nov 11 10:13:31 CET 2022



> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zhang at intel.com>
> Sent: Friday, November 11, 2022 5:03 PM
> To: Ye, MingjinX <mingjinx.ye at intel.com>; dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; stable at dpdk.org; Zhou, YidingX
> <yidingx.zhou at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Ferruh
> Yigit <ferruh.yigit at intel.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Li,
> Xiaoyun <xiaoyun.li at intel.com>
> Subject: RE: [PATCH v4 1/2] net/ice: fix scalar Rx path segment
> 
> 
> 
> > -----Original Message-----
> > From: Ye, MingjinX <mingjinx.ye at intel.com>
> > Sent: Saturday, November 12, 2022 12:13 AM
> > To: dev at dpdk.org
> > Cc: Yang, Qiming <qiming.yang at intel.com>; stable at dpdk.org; Zhou,
> > YidingX <yidingx.zhou at intel.com>; Ye, MingjinX
> > <mingjinx.ye at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; Wu,
> > Jingjing <jingjing.wu at intel.com>; Ferruh Yigit
> > <ferruh.yigit at intel.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Li,
> > Xiaoyun <xiaoyun.li at intel.com>
> > Subject: [PATCH v4 1/2] net/ice: fix scalar Rx path segment
> >
> > CRC is stripped by the hardware in the scattered Rx path. The last
> > buffer is invalid if it's packet length is zero.
> >
> > This patch adds a judgment for the last buffer length to fix this
> > issue, it would free the mbuf associated to the last one if the last buffer is
> empty.
> >
> > Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
> 
> v3 already be applied, no new change on v4, will ignore this patch.

Tested with v4 patch, passed.

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



More information about the stable mailing list