> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zh...@intel.com>
> Sent: Friday, November 11, 2022 5:02 PM
> To: Ye, MingjinX <mingjinx...@intel.com>; dev@dpdk.org
> Cc: Yang, Qiming <qiming.y...@intel.com>; sta...@dpdk.org; Zhou, YidingX
> <yidingx.z...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Ferruh
> Yigit <ferruh.yi...@intel.com>; Lu, Wenzhuo <wenzhuo...@intel.com>; Liu,
> KevinX <kevinx....@intel.com>
> Subject: RE: [PATCH v4 2/2] net/ice: fix scalar Tx path segment
>
>
>
> > -----Original Message-----
> > From: Ye, MingjinX <mingjinx...@intel.com>
> > Sent: Saturday, November 12, 2022 12:13 AM
> > To: dev@dpdk.org
> > Cc: Yang, Qiming <qiming.y...@intel.com>; sta...@dpdk.org; Zhou,
> > YidingX <yidingx.z...@intel.com>; Ye, MingjinX
> > <mingjinx...@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com>; Wu,
> > Jingjing <jingjing...@intel.com>; Ferruh Yigit
> > <ferruh.yi...@intel.com>; Lu, Wenzhuo <wenzhuo...@intel.com>; Liu,
> > KevinX <kevinx....@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: sta...@dpdk.org
> >
> > Signed-off-by: Mingjin Ye <mingjinx...@intel.com>
>
> Acked-by: Qi Zhang <qi.z.zh...@intel.com>
>
> Applied to dpdk-next-net-intel.
>
> Thanks
> Qi
Tested and passed.
Tested-by: Ke Xu <ke1...@intel.com>