]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Introduce abstraction of RSS context
authorTariq Toukan <tariqt@nvidia.com>
Sun, 15 Aug 2021 11:21:46 +0000 (14:21 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 16 Aug 2021 23:17:27 +0000 (16:17 -0700)
commitfa72ccadab3b819304bf660b194089d7355351ca
tree32f85c8bef5c32173bb9cb17949582b16a0c1f4a
parentbf8a3f23d51f0162eb592842a93e7b839b87e8ad
net/mlx5e: Introduce abstraction of RSS context

Bring all fields that define and maintain RSS behavior together
into a new structure.
Align all usages with this new structure. Keep it hidden within
rx_res.c.
This helps supporting multiple RSS contexts in downstream patch.

Use dynamic allocations for the RSS context.

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/rx_res.c
drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c