net/mlx5e: Take HW interrupt trigger into a function
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Fri, 1 Mar 2019 10:05:21 +0000 (12:05 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 23 Apr 2019 19:09:22 +0000 (12:09 -0700)
commit63d26b490b56fe9e1765dc2413d2188cec7f6bf7
treec3077d799f0a9afbf418ccb96af41451fe67666e
parent10961c5606512ea321aa8a589f174e269eafb8fe
net/mlx5e: Take HW interrupt trigger into a function

mlx5e_trigger_irq posts a NOP to the ICO SQ just to trigger an IRQ and
enter the NAPI poll on the right CPU according to the affinity. Use it
in mlx5e_activate_rq.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.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_txrx.c