]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Return all configured create flags through query QP
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:17 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:24 +0000 (20:42 -0300)
commit2537827d8e79b723c26ebfcec8e3efcc635fa8ca
tree6907b4da88433f41c6ef807e202714eed31de627
parentcc3327290124af30a9fd8dfa1844aba31b4313a2
RDMA/mlx5: Return all configured create flags through query QP

The "flags" field in struct mlx5_ib_qp contains all UAPI flags
configured at the create QP stage. Return all the data as is
without masking.

Link: https://lore.kernel.org/r/20200427154636.381474-18-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/qp.c