RDMA/mlx5: Group all create QP parameters to simplify in-kernel interfaces
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:30 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 30 Apr 2020 21:45:45 +0000 (18:45 -0300)
commitf78d358cec9088ed77b5129c44f858cdfdb1e8c9
treed92492b7deb9e41a350d5dd55318db46b92e166e
parent747c519cdbe4a3f6a616d50c19bcb97413abe384
RDMA/mlx5: Group all create QP parameters to simplify in-kernel interfaces

The amount of parameters passed in and out between internal mlx5
create QP functions is too large to easily follow the flow. Change
it by grouping all create QP parameter into one structure.

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