Re: [dpdk-dev] [PATCH v2 1/4] test/stack: avoid trivial memory allocations

2020-08-13 Thread Eads, Gage
> -Original Message- > From: Steven Lariau > Sent: Wednesday, August 12, 2020 2:19 PM > To: Eads, Gage ; Olivier Matz > > Cc: dev@dpdk.org; n...@arm.com; Steven Lariau > Subject: [PATCH v2 1/4] test/stack: avoid trivial memory allocations > > Replace the arguments array by one argume

[dpdk-dev] [PATCH v2 1/4] test/stack: avoid trivial memory allocations

2020-08-12 Thread Steven Lariau
Replace the arguments array by one argument. All objects in the args array have the same values, so there is no need to use an array, only one struct is enough. The args object is a lot smaller, and the allocation can be replaced with a global variable. The allocation of obj_table isn't needed eit