RDMA/mlx5: Promote RSS RAW QP attribute check in higher level
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:21 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:43 +0000 (18:45 -0300)
commit266424eba6c90ab8b12cf73aae00f1b08c0619cf
tree2319179e7a20aaab8b4f41bd63d39d9d75f1ef77
parent7aede1a25f4b84318e8a266d7b830a5ed554e370
RDMA/mlx5: Promote RSS RAW QP attribute check in higher level

Perform check of attributes of RAW PACKET QP in separate function.

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