]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net/mlx5e: Enable napi in channel's activation stage
authorTariq Toukan <tariqt@mellanox.com>
Mon, 30 Dec 2019 12:41:53 +0000 (14:41 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 2 Feb 2021 06:52:34 +0000 (22:52 -0800)
commit7637e499e219ae89e5c42d947b96603ef3ab5a44
tree6e0af1222ed57b59b64581d9fabd1a375927b186
parent6b424e13b01003b52ed9624067abb027789c7bb6
net/mlx5e: Enable napi in channel's activation stage

The channel's napi is first needed upon activation, not creation.
Minimize its enabled scope by moving it from the channel's open/close
stage into the activate/deactivate stage.

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