Re: [RFC 2/4] gro: remove use of VLAs

2024-07-04 Thread Ferruh Yigit
On 6/12/2024 1:48 AM, Ferruh Yigit wrote: > On 5/23/2024 5:26 PM, Konstantin Ananyev wrote: >> From: Konstantin Ananyev >> >> ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] >> ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] >> >> In both cases the

Re: [RFC 2/4] gro: remove use of VLAs

2024-07-04 Thread Ferruh Yigit
On 7/4/2024 11:05 AM, Konstantin Ananyev wrote: > >>> >>> ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] >>> ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] >>> >>> In both cases the pattern is the same: we use unprocess_pkts[n

RE: [RFC 2/4] gro: remove use of VLAs

2024-07-04 Thread Konstantin Ananyev
> > > > ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] > > ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] > > > > In both cases the pattern is the same: we use unprocess_pkts[nb_pkts] to > > collect un-used by GRO packets,

Re: [RFC 2/4] gro: remove use of VLAs

2024-07-04 Thread Ferruh Yigit
On 6/28/2024 1:57 PM, Konstantin Ananyev wrote: > On 5/23/2024 5:26 PM, Konstantin Ananyev wrote: > From: Konstantin Ananyev > > ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] > ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla]

RE: [RFC 2/4] gro: remove use of VLAs

2024-06-28 Thread Konstantin Ananyev
> >> On 5/23/2024 5:26 PM, Konstantin Ananyev wrote: > >>> From: Konstantin Ananyev > >>> > >>> ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] > >>> ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] > >>> > >>> In both cases the pattern is the same

Re: [RFC 2/4] gro: remove use of VLAs

2024-06-14 Thread Ferruh Yigit
On 6/13/2024 11:20 AM, Konstantin Ananyev wrote: > > >> >> On 5/23/2024 5:26 PM, Konstantin Ananyev wrote: >>> From: Konstantin Ananyev >>> >>> ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] >>> ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] >>

RE: [RFC 2/4] gro: remove use of VLAs

2024-06-13 Thread Konstantin Ananyev
> > On 5/23/2024 5:26 PM, Konstantin Ananyev wrote: > > From: Konstantin Ananyev > > > > ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] > > ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] > > > > In both cases the pattern is the same: we use un

Re: [RFC 2/4] gro: remove use of VLAs

2024-06-11 Thread Ferruh Yigit
On 5/23/2024 5:26 PM, Konstantin Ananyev wrote: > From: Konstantin Ananyev > > ../lib/gro/rte_gro.c:182:34: warning: variable length array used [-Wvla] > ../lib/gro/rte_gro.c:363:34: warning: variable length array used [-Wvla] > > In both cases the pattern is the same: we use unprocess_pkts[nb_p