RE: [PATCH] net/ice: fix scalar Rx and Tx path segment

2022-11-03 Thread Xu, Ke1
> -Original Message- > From: Mingjin Ye > Sent: Friday, November 4, 2022 1:21 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Zhou, YidingX ; Ye, MingjinX > ; Yang, Qiming ; Zhang, Qi > Z ; Wu, Jingjing ; Lu, > Wenzhuo ; Ferruh Yigit ; Li, > Xiaoyun > Subjec

[PATCH] net/ice: fix scalar Rx and Tx path segment

2022-11-03 Thread Mingjin Ye
CRC is stripped by the hardware in the scattered Rx path. If the last buffer packet length is '0', the scalar Tx path would send empty buffer that causes the Tx queue to overflow. This patch adds a judgment for the last buffer length to fix this issue, so that it would free the mbuf associated to