OSDN Git Service

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)
commit42212d997155c24a51fde5dcba9e9de166e2221f
tree6b4557ef72d1afd52e348bc612e1baed545b00b9
parente078e8df4224d1c422081192e9a6d3db85fa1634
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