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

Zhang, Qi Z qi.z.zhang at intel.com
Fri Nov 11 10:01:55 CET 2022



> -----Original Message-----
> From: Ye, MingjinX <mingjinx.ye at intel.com>
> Sent: Saturday, November 12, 2022 12:13 AM
> 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>; Wu, Jingjing <jingjing.wu at intel.com>; Ferruh Yigit
> <ferruh.yigit at intel.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Liu,
> KevinX <kevinx.liu at intel.com>
> Subject: [PATCH v4 2/2] net/ice: fix scalar Tx path segment
> 
> The scalar Tx path would send empty buffer that causes the Tx queue to
> overflow.
> 
> This patch adds the last buffer length judgment in tx_prepare to fix this issue,
> rte_errno will be set to EINVAL and returned if the last buffer is empty.
> 
> Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
> Fixes: ccf33dccf7aa ("net/ice: check illegal packet sizes")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list