]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Handle udate outlen checks in one place
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:32 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:45 +0000 (18:45 -0300)
commit48a95dd5d22044d69a14406c2898f5dc040e3aa6
tree077f4b111be9c2b87ba23b9997a5ed2763907a6d
parent8b5e9fdee1de4f67b77f65f7c0a2f0f01dcfc08c
RDMA/mlx5: Handle udate outlen checks in one place

Place in one function all udata size checks. This will allow
us move ib_copy_to_udata() in general place and ensure that
it will be performed after call to the FW.

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