]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: alloc the correct size for indirection_rqt
authorSaeed Mahameed <saeedm@nvidia.com>
Mon, 15 Mar 2021 18:27:01 +0000 (11:27 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 26 Mar 2021 02:49:46 +0000 (19:49 -0700)
commite1fb9a4245494705c8da3160b44081b7c6e6c7c3
treea1f97baf819cc4e4635dcbc91615c13ff109c2ce
parentf668fad8b04937645c51210e5591c1c53f65dab2
net/mlx5e: alloc the correct size for indirection_rqt

The cited patch allocated the wrong size for the indirection_rqt table,
fix that.

Fixes: cbe9500684c1 ("net/mlx5e: allocate 'indirection_rqt' buffer dynamically")
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c