diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2021-04-09 17:31:09 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-08-02 19:26:24 -0700 |
commit | e6e01b5fdc281ea5819b21c48c813bcb156d3735 (patch) | |
tree | 617eaf4e1f126733bebe1138cdac836ccec5064f /drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c | |
parent | 43befe99bc62a019142f4760b3c3e29c4892565a (diff) |
net/mlx5e: Introduce mlx5e_channels API to get RQNs
Currently, struct mlx5e_channels is defined in en.h, along with a lot of
other stuff. In the following commit mlx5e_rx_res will need to get RQNs
(RQ hardware IDs), given a pointer to mlx5e_channels and the channel
index. In order to make it possible without including the whole en.h,
this commit introduces functions that will hide the implementation
details of mlx5e_channels.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c')
0 files changed, 0 insertions, 0 deletions