Commit 67b985b6 authored by Dasaratharaman Chandramouli's avatar Dasaratharaman Chandramouli Committed by Doug Ledford

IB/core: Rename ib_modify_ah to rdma_modify_ah

Rename ib_modify_ah to rdma_modify_ah so its in sync with the
rename of the ib address handle attribute
Reviewed-by: default avatarIra Weiny <ira.weiny@intel.com>
Reviewed-by: default avatarDon Hiatt <don.hiatt@intel.com>
Reviewed-by: default avatarSean Hefty <sean.hefty@intel.com>
Signed-off-by: default avatarDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 0a18cfe4
...@@ -571,13 +571,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, ...@@ -571,13 +571,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc,
} }
EXPORT_SYMBOL(ib_create_ah_from_wc); EXPORT_SYMBOL(ib_create_ah_from_wc);
int ib_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr) int rdma_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
{ {
return ah->device->modify_ah ? return ah->device->modify_ah ?
ah->device->modify_ah(ah, ah_attr) : ah->device->modify_ah(ah, ah_attr) :
-ENOSYS; -ENOSYS;
} }
EXPORT_SYMBOL(ib_modify_ah); EXPORT_SYMBOL(rdma_modify_ah);
int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr) int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
{ {
......
...@@ -2778,13 +2778,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, ...@@ -2778,13 +2778,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc,
const struct ib_grh *grh, u8 port_num); const struct ib_grh *grh, u8 port_num);
/** /**
* ib_modify_ah - Modifies the address vector associated with an address * rdma_modify_ah - Modifies the address vector associated with an address
* handle. * handle.
* @ah: The address handle to modify. * @ah: The address handle to modify.
* @ah_attr: The new address vector attributes to associate with the * @ah_attr: The new address vector attributes to associate with the
* address handle. * address handle.
*/ */
int ib_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr); int rdma_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
/** /**
* ib_query_ah - Queries the address vector associated with an address * ib_query_ah - Queries the address vector associated with an address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment