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)
commit49095f641b69875fd36e9da277dbf299b27e3fb2
treea44b88a2f31e655e0351b61973e932515ec77f12
parent25307a91cb50a044921705c3b7dc714bee70cbcb
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