]> 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)
commit785e4c35dbd31557608e74c78bba6eaf759452c1
treeb409c77f4b1c0f9faac7b75d786981f39897efc7
parenteb8dcaabe3cbf2518122228e8ad398b60f2a5dbc
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