[PATCH v2] net/ice: fix scalar Rx and Tx path segment
Xu, Ke1
ke1.xu at intel.com
Thu Nov 10 03:01:12 CET 2022
> -----Original Message-----
> From: Mingjin Ye <mingjinx.ye at intel.com>
> Sent: Wednesday, November 9, 2022 8:56 PM
> 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>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>; Li, Xiaoyun <xiaoyun.li at intel.com>; Ferruh
> Yigit <ferruh.yigit at intel.com>
> Subject: [PATCH v2] 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>
Tested and passed.
Tested-by: Ke XU <ke1.xu at intel.com>
>
> v2:
> * Fix log level in ice_rxtx.c source file.
> ---
> drivers/net/ice/ice_rxtx.c | 53 ++++++++++++++++++++++++++++++++++++--
> 1 file changed, 51 insertions(+), 2 deletions(-)
>
More information about the dev
mailing list