Re: [dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-11 Thread David Marchand
On Thu, Jun 10, 2021 at 2:19 PM Maxime Coquelin wrote: > > __rte_alloc_size is mapped to compiler alloc_size attribute. > > > > Quoting gcc documentation: > > """ > > alloc_size > > The alloc_size attribute is used to tell the compiler that the > > function return value points to memory, w

Re: [dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-11 Thread David Marchand
On Fri, Jun 11, 2021 at 9:26 AM David Marchand wrote: > > On Thu, Jun 10, 2021 at 2:09 PM David Marchand > wrote: > > > > __rte_alloc_size is mapped to compiler alloc_size attribute. > > I get the following splat from dts. There is the exact same output in last night next-net-intel test: https:/

Re: [dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-11 Thread David Marchand
On Thu, Jun 10, 2021 at 2:09 PM David Marchand wrote: > > __rte_alloc_size is mapped to compiler alloc_size attribute. I get the following splat from dts. I don't see how this patch could have an impact. There is an odd mac address (00:00:00:00:51:14), so maybe a broken nic / firmware / forced

Re: [dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-10 Thread Maxime Coquelin
On 6/10/21 2:09 PM, David Marchand wrote: > __rte_alloc_size is mapped to compiler alloc_size attribute. > > Quoting gcc documentation: > """ > alloc_size > The alloc_size attribute is used to tell the compiler that the > function return value points to memory, where the size is given b

[dpdk-dev] [PATCH] malloc: fix size annotation for NUMA-aware realloc

2021-06-10 Thread David Marchand
__rte_alloc_size is mapped to compiler alloc_size attribute. Quoting gcc documentation: """ alloc_size The alloc_size attribute is used to tell the compiler that the function return value points to memory, where the size is given by one or two of the functions parameters. GCC uses this