[PATCH] net/ice: fix scalar Rx and Tx path segment
Xu, Ke1
ke1.xu at intel.com
Fri Nov 4 07:57:11 CET 2022
> -----Original Message-----
> From: Mingjin Ye <mingjinx.ye at intel.com>
> Sent: Friday, November 4, 2022 1:21 AM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Zhou, YidingX <yidingx.zhou at intel.com>; Ye, MingjinX
> <mingjinx.ye at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi
> Z <qi.z.zhang at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Lu,
> Wenzhuo <wenzhuo.lu at intel.com>; Ferruh Yigit <ferruh.yigit at intel.com>; Li,
> Xiaoyun <xiaoyun.li at intel.com>
> Subject: [PATCH] net/ice: fix scalar Rx and Tx path segment
>
> 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 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>
V1 patch verified and passed. Remains some compile errors to fix for redhat.
Tested-by: Ke Xu <ke1.xu at intel.com>
> ---
> drivers/net/ice/ice_rxtx.c | 53 ++++++++++++++++++++++++++++++++++++--
> 1 file changed, 51 insertions(+), 2 deletions(-)
>
More information about the dev
mailing list