> -----Original Message-----
> From: Ye, MingjinX <[email protected]>
> Sent: Saturday, November 12, 2022 12:13 AM
> To: [email protected]
> Cc: Yang, Qiming <[email protected]>; [email protected]; Zhou, YidingX
> <[email protected]>; Ye, MingjinX <[email protected]>; Zhang, Qi
> Z <[email protected]>; Wu, Jingjing <[email protected]>; Ferruh Yigit
> <[email protected]>; Lu, Wenzhuo <[email protected]>; Liu,
> KevinX <[email protected]>
> 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: [email protected]
>
> Signed-off-by: Mingjin Ye <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi