summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib_main.c
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@mellanox.com>2020-05-20 13:59:06 +0300
committerLeon Romanovsky <leonro@mellanox.com>2020-07-03 18:38:01 +0300
commit4dca650991e4175b8d5bae7ff6f1637a0c42be4a (patch)
tree29519ee8795eb8abeef51a04bd89cfe8b43367d9 /drivers/infiniband/ulp/ipoib/ipoib_main.c
parent2d1b69ed65ee033aa541518cc9f6a815296ac493 (diff)
net/mlx5: Enable QP number request when creating IPoIB underlay QP
If in the process of creating the underlay QP for an IPoIB interface the user has set the address and specifically the 1st-3rd bytes representing the QP number, use the requested QP number when creating the underlay QP. For a user to be able to request a QP number on QP creation, the MKEY_BY_NAME NVCONFIG should be set. As mkey_by_name and qp_by_name are coupled in FW. This requires driver to query the mkey_by_name max cap during initialization and set the current cap if it was enabled in FW. Signed-off-by: Michael Guralnik <michaelgur@mellanox.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_main.c')
0 files changed, 0 insertions, 0 deletions