> -----Original Message-----
> From: Zhang, Qi Z <[email protected]>
> Sent: Friday, November 11, 2022 5:03 PM
> To: Ye, MingjinX <[email protected]>; [email protected]
> Cc: Yang, Qiming <[email protected]>; [email protected]; Zhou, YidingX
> <[email protected]>; Wu, Jingjing <[email protected]>; Ferruh
> Yigit <[email protected]>; Lu, Wenzhuo <[email protected]>; Li,
> Xiaoyun <[email protected]>
> Subject: RE: [PATCH v4 1/2] net/ice: fix scalar Rx path segment
>
>
>
> > -----Original Message-----
> > From: Ye, MingjinX <[email protected]>
> > Sent: Saturday, November 12, 2022 12:13 AM
> > To: [email protected]
> > Cc: Yang, Qiming <[email protected]>; [email protected]; Zhou,
> > YidingX <[email protected]>; Ye, MingjinX
> > <[email protected]>; Zhang, Qi Z <[email protected]>; Wu,
> > Jingjing <[email protected]>; Ferruh Yigit
> > <[email protected]>; Lu, Wenzhuo <[email protected]>; Li,
> > Xiaoyun <[email protected]>
> > 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: [email protected]
> >
> > Signed-off-by: Mingjin Ye <[email protected]>
>
> v3 already be applied, no new change on v4, will ignore this patch.
Tested with v4 patch, passed.
Tested-by: Ke Xu <[email protected]>