]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Use flags_en mechanism to mark QP created with WQE signature
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:15 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:23 +0000 (20:42 -0300)
commitebaf0a12bf70b4dddce58d99b40cc416a5a2a6b6
treeca1160fa43183911f32254ffafe75142de182845
parent8d1074cfe43969793c5e09bab9be51781f50ce5c
RDMA/mlx5: Use flags_en mechanism to mark QP created with WQE signature

MLX5_QP_FLAG_SIGNATURE is exposed to the users but in the kernel
the create_qp flow treated it differently from other MLX5_QP_FLAG_*s.
Fix it by ditching wq_sig boolean variable and use general flag_en
mechanism.

Link: https://lore.kernel.org/r/20200427154636.381474-16-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/odp.c
drivers/infiniband/hw/mlx5/qp.c