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

2022-11-11 Thread Xu, Ke1
t; > ; Zhang, Qi Z ; Wu, > > Jingjing ; Ferruh Yigit > > ; Lu, Wenzhuo ; Li, > > Xiaoyun > > 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

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

2022-11-11 Thread Zhang, Qi Z
t; 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 &

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

2022-11-11 Thread Mingjin Ye
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

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

2022-11-11 Thread Mingjin Ye
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