net/mlx5e: Use mlx5e_rqt_get_rqtn to access RQT hardware id
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Tue, 6 Apr 2021 06:40:07 +0000 (09:40 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 26 Jul 2021 16:50:39 +0000 (09:50 -0700)
commit093d4bc1731dfe4ec209d3534608a38436331586
treed48a7bf072f11e9384c36866e88f3bc58b367e12
parent0570c1c958178113bf0e35a00f1398c63fed9644
net/mlx5e: Use mlx5e_rqt_get_rqtn to access RQT hardware id

In order to abstract from implementation details of mlx5e_rqt, use the
mlx5e_rqt_get_rqtn getter instead of accessing the field directly.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c