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

2023-09-27 Thread David Marchand
On Tue, Sep 19, 2023 at 10:15 AM David Marchand wrote: > Replying on this old thread, as it seems no in depth review was done > but I need more info before fixing a bug added by ccf33dccf7aa > ("net/ice: check illegal packet sizes"). > > > On Fri, Nov 11, 2022 at 9:26 AM Mingjin Ye wrote: > > > >

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

2023-09-19 Thread David Marchand
Hello, Replying on this old thread, as it seems no in depth review was done but I need more info before fixing a bug added by ccf33dccf7aa ("net/ice: check illegal packet sizes"). On Fri, Nov 11, 2022 at 9:26 AM Mingjin Ye wrote: > > The scalar Tx path would send empty buffer that causes the Tx

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

2022-11-11 Thread Xu, Ke1
; > ; Zhang, Qi Z ; Wu, > > Jingjing ; Ferruh Yigit > > ; Lu, Wenzhuo ; Liu, > > KevinX > > 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. > >

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

2022-11-11 Thread Zhang, Qi Z
t; 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 a

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

2022-11-11 Thread Mingjin Ye
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: c

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

2022-11-11 Thread Mingjin Ye
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: c