OSDN Git Service

net/smc: Replace ib_query_gid with rdma_get_gid_attr
authorParav Pandit <parav@mellanox.com>
Tue, 5 Jun 2018 05:40:19 +0000 (08:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:09:05 +0000 (11:09 -0600)
commitddb457c6993babbcdd41fca638b870d2a2fc3941
tree94dc8b6561d9e5089de2eb2c393bd5d81da05b26
parent77e786fcbe2ecdac57ced610260ffb1f7cfeed00
net/smc: Replace ib_query_gid with rdma_get_gid_attr

Push the copy of the gid_attr into the SMC code. This probably doesn't
push it far enough, as it looks like the conn->lgr should potentially hold
the reference for its lifetime.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
net/smc/smc_core.c
net/smc/smc_ib.c