RDMA/mlx5: Change scatter CQE flag to be set like other vendor flags
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:16 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:23 +0000 (20:42 -0300)
commit90ecb37a751b6923bee846c4e19f73b943c6ffa1
tree3627f9b2eb656b86793a4de960456839187247a4
parentc95e6d53970254fa04a09c0fd79ae2cfa54cd1f5
RDMA/mlx5: Change scatter CQE flag to be set like other vendor flags

In similar way to wqe_sig, the scat_cqe was treated differently from
other create QP vendor flags. Change it to be similar to other flags
and use flags_en mechanism.

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