RDMA/mlx5: Combine copy of create QP command in RSS RAW QP
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:22 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:43 +0000 (18:45 -0300)
commit5ce0592b0ee56e41f1a4a164ac2f54dbfbbf5e49
treec179a2ae28035f6c982af8b1ad1491e51d09bd51
parent266424eba6c90ab8b12cf73aae00f1b08c0619cf
RDMA/mlx5: Combine copy of create QP command in RSS RAW QP

Change the create QP flow to handle all copy_from_user() operations in
one place.

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