net/mlx5e: Generalize RQ activation
authorAya Levin <ayal@nvidia.com>
Mon, 8 Feb 2021 16:25:56 +0000 (18:25 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 26 Mar 2021 02:50:04 +0000 (19:50 -0700)
commita8dd7ac12fc3f6d37758e8c1e650600d71554a21
tree012f4730f8f934898ccc259edd88596999ab69ee
parent869c5f9262476aba305082c0a2365847838b2d57
net/mlx5e: Generalize RQ activation

Support RQ activation for RQs without an ICOSQ in the main flow, like
existing trap-RQ and like PTP-RQ that will be introduced in the coming
patches in the patchset.
With this patch, remove the wrapper in traps to deactivate the trap-RQ.

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/trap.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c