RDMA/core: Get xmit slave for LAG
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 30 Apr 2020 19:21:44 +0000 (22:21 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 2 May 2020 23:19:54 +0000 (20:19 -0300)
commit51aab12631dd7700385d275846ca49dc0b8c2124
tree1680bea6fb42e46bf3f28b5f3b9b73b14e0e48f7
parentbd3920eac133103f0d4aa5fc62290e6df9a6c6da
RDMA/core: Get xmit slave for LAG

Add a call to rdma_lag_get_ah_roce_slave() when the address handle is
created. Lower driver can use it to select the QP's affinity port.

Link: https://lore.kernel.org/r/20200430192146.12863-15-maorg@mellanox.com
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h