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)
commit9d18b5144a0a850e722e7c3d7b700eb1fba7b7e2
treeb409c77f4b1c0f9faac7b75d786981f39897efc7
parent9032e7192eac8e657b52cf1c89fe730308b72c2a
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