OSDN Git Service

RDMA/mlx5: Remove second copy from user for non RSS RAW QPs
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:11 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:22 +0000 (20:42 -0300)
commit2dfac92dbb5d6e7607d5a4d3dc9d750f45440d98
treec70a356e1914b33d58221029f797619d1cece602
parent2fdddbd5c966c1ff7e35b0e4d1fa4b951d0f5542
RDMA/mlx5: Remove second copy from user for non RSS RAW QPs

Change the common code to use already copied user command buffer.

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