]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Generalize direct-TIRs and direct-RQTs API
authorAya Levin <ayal@nvidia.com>
Thu, 25 Feb 2021 15:46:25 +0000 (17:46 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 26 Mar 2021 02:50:09 +0000 (19:50 -0700)
commitd173340f262ed9e937b8f10f3ebc8b42652c11e2
tree6b4557ef72d1afd52e348bc612e1baed545b00b9
parentf9c4cdeb0653372f5f0938aec8a68f330225f62e
net/mlx5e: Generalize direct-TIRs and direct-RQTs API

Add input parameter indicating the size of direct-TIRs/direct-RQTs array
to be created/destroyed. This allows next patches in the patch-set to
handle a single direct-TIR pointing to a direct-RQT with a single entry.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c