RDMA/ipoib: Handle user-supplied address when creating child
authorMichael Guralnik <michaelgur@mellanox.com>
Tue, 23 Jun 2020 11:01:05 +0000 (14:01 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Jul 2020 15:57:58 +0000 (12:57 -0300)
commit87fb5c1ccb856838f7f75b1cc85ed0691ee8eb79
tree619a5f350f878936137c27c4cf54b40c0daee916
parent4dca650991e4175b8d5bae7ff6f1637a0c42be4a
RDMA/ipoib: Handle user-supplied address when creating child

Use the address supplied by user when creating a child interface.

Previously, the address requested by the user was ignored and overridden
with parent's GID and the random QP number assigned to the child.

Link: https://lore.kernel.org/r/20200623110105.1225750-3-leon@kernel.org
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Reviewed-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c