]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Split open/close ICOSQ into stages
authorAya Levin <ayal@mellanox.com>
Tue, 2 Jul 2019 12:47:29 +0000 (15:47 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Aug 2019 20:08:17 +0000 (13:08 -0700)
commit28760db9267a5891d5630a921708a15cb27b4e73
treeb409c77f4b1c0f9faac7b75d786981f39897efc7
parentfda4cdd01925f8b0171ded60379c0a3b202d6311
net/mlx5e: Split open/close ICOSQ into stages

Align ICOSQ open/close behaviour with RQ and SQ. Split open flow into
open and activate where open handles creation and activate enables the
queue. Do a symmetric thing in close flow: split into close and
deactivate.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c