]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Dynamically allocate TIRs in RSS contexts
authorTariq Toukan <tariqt@nvidia.com>
Sun, 15 Aug 2021 11:38:08 +0000 (14:38 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 16 Aug 2021 23:17:27 +0000 (16:17 -0700)
commitafd84cee810fa8f8c012c43c07a40e6ca4a5f8ab
treea44b88a2f31e655e0351b61973e932515ec77f12
parent8e988429d1aa5dd8606b0b79ecce4eb349162134
net/mlx5e: Dynamically allocate TIRs in RSS contexts

Move from static to dynamic memory allocations for TIR.
This is in preparation to supporting on-demand TIR operations in
downstream patches, where every RSS context will be init with an
empty set of TIRs.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c