net/mlx5e: Convert RSS to a dedicated object
authorTariq Toukan <tariqt@nvidia.com>
Mon, 16 Aug 2021 12:50:24 +0000 (15:50 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 16 Aug 2021 23:17:27 +0000 (16:17 -0700)
commit25307a91cb50a044921705c3b7dc714bee70cbcb
treec59af33c8bcb2dd63b5d8fed0ba26a3b40723bd3
parent713ba5e5f6896cbdde7ddb339cd8b06eb7c7334a
net/mlx5e: Convert RSS to a dedicated object

Code related to RSS is now encapsulated into a dedicated object and put
into new files en/rss.{c,h}. All usages are converted.

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/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/rss.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c
drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.h