diff options
author | Parav Pandit <parav@mellanox.com> | 2017-11-14 14:52:16 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-18 15:37:11 -0700 |
commit | 4ad6a0245ec818bc0e03910ea3f503824f25b0fc (patch) | |
tree | 4e47ae212a91ac949f3072e8d2f51606adc12442 /drivers/infiniband/ulp/ipoib | |
parent | 33f93e1ebcf5acfaef06cda2d3e373730519e33e (diff) | |
download | talos-obmc-linux-4ad6a0245ec818bc0e03910ea3f503824f25b0fc.tar.gz talos-obmc-linux-4ad6a0245ec818bc0e03910ea3f503824f25b0fc.zip |
IB/{core, cm, cma, ipoib}: Rename ib_init_ah_from_path to ib_init_ah_attr_from_path
Since ib_init_ah_from_path initializes the address handle attribute, it is
renamed to reflect so.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index c182604076e1..cb79be1a1474 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -768,7 +768,8 @@ static void path_rec_completion(int status, if (!status) { struct rdma_ah_attr av; - if (!ib_init_ah_from_path(priv->ca, priv->port, pathrec, &av)) + if (!ib_init_ah_attr_from_path(priv->ca, priv->port, + pathrec, &av)) ah = ipoib_create_ah(dev, priv->pd, &av); } |