RDMA/mlx5: Promote RSS RAW QP flags check to higher level
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:31 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:45 +0000 (18:45 -0300)
commit5d6fffed1cfd0c368a9089acb9fcc902c649c31c
tree9c0b25ff23a5a149cf089c7478722a5877e25933
parentf78d358cec9088ed77b5129c44f858cdfdb1e8c9
RDMA/mlx5: Promote RSS RAW QP flags check to higher level

Move check that user didn't supplied RSS RAW QP unsupported
command flags to the function that checks all such flags.

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