Re: [PATCH] net/mlx5e: allocate 'indirection_rqt' buffer dynamically

2021-03-11 Thread Saeed Mahameed
On Mon, 2021-03-08 at 18:28 +0200, Tariq Toukan wrote: > > > On 3/8/2021 5:32 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Increasing the size of the indirection_rqt array from 128 to 256 > > bytes > > pushed the stack usage of the mlx5e_hairpin_fill_rqt_rqns() > > function > > over

Re: [PATCH] net/mlx5e: allocate 'indirection_rqt' buffer dynamically

2021-03-08 Thread Tariq Toukan
On 3/8/2021 5:32 PM, Arnd Bergmann wrote: From: Arnd Bergmann Increasing the size of the indirection_rqt array from 128 to 256 bytes pushed the stack usage of the mlx5e_hairpin_fill_rqt_rqns() function over the warning limit when building with clang and CONFIG_KASAN: drivers/net/ethernet/me

[PATCH] net/mlx5e: allocate 'indirection_rqt' buffer dynamically

2021-03-08 Thread Arnd Bergmann
From: Arnd Bergmann Increasing the size of the indirection_rqt array from 128 to 256 bytes pushed the stack usage of the mlx5e_hairpin_fill_rqt_rqns() function over the warning limit when building with clang and CONFIG_KASAN: drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:970:1: error: stack fr