RE: [PATCH v4 02/19] eal/linux: remove use of VLAs

2024-11-08 Thread Konstantin Ananyev
> On Tue, Nov 05, 2024 at 09:19:25AM +0100, David Marchand wrote: > > Hello Andre, > > > > Thanks for taking over this series. > > > > On Tue, Nov 5, 2024 at 4:18 AM Andre Muezerie > > wrote: > > > > > > From: Konstantin Ananyev > > > > > > 1) ./lib/eal/linux/eal_interrupts.c:1073:16 > > >

Re: [PATCH v4 02/19] eal/linux: remove use of VLAs

2024-11-05 Thread Andre Muezerie
On Tue, Nov 05, 2024 at 09:19:25AM +0100, David Marchand wrote: > Hello Andre, > > Thanks for taking over this series. > > On Tue, Nov 5, 2024 at 4:18 AM Andre Muezerie > wrote: > > > > From: Konstantin Ananyev > > > > 1) ./lib/eal/linux/eal_interrupts.c:1073:16 > > : warning: ISO C90 forbi

Re: [PATCH v4 02/19] eal/linux: remove use of VLAs

2024-11-05 Thread David Marchand
Hello Andre, Thanks for taking over this series. On Tue, Nov 5, 2024 at 4:18 AM Andre Muezerie wrote: > > From: Konstantin Ananyev > > 1) ./lib/eal/linux/eal_interrupts.c:1073:16 > : warning: ISO C90 forbids variable length array ‘events’ > > eal_intr_handle_interrupts() is called by eal_in

[PATCH v4 02/19] eal/linux: remove use of VLAs

2024-11-04 Thread Andre Muezerie
From: Konstantin Ananyev 1) ./lib/eal/linux/eal_interrupts.c:1073:16 : warning: ISO C90 forbids variable length array ‘events’ eal_intr_handle_interrupts() is called by eal_intr_thread_main() so it seems ok to simply alloc space for events from heap and reuse the same buffer through the life