Skip to content

Commit 67b985b

Browse files
Dasaratharaman Chandramoulidledford
authored andcommitted
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: Ira Weiny <[email protected]> Reviewed-by: Don Hiatt <[email protected]> Reviewed-by: Sean Hefty <[email protected]> Signed-off-by: Dasaratharaman Chandramouli <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent 0a18cfe commit 67b985b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/infiniband/core/verbs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,13 +571,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc,
571571
}
572572
EXPORT_SYMBOL(ib_create_ah_from_wc);
573573

574-
int ib_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
574+
int rdma_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
575575
{
576576
return ah->device->modify_ah ?
577577
ah->device->modify_ah(ah, ah_attr) :
578578
-ENOSYS;
579579
}
580-
EXPORT_SYMBOL(ib_modify_ah);
580+
EXPORT_SYMBOL(rdma_modify_ah);
581581

582582
int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
583583
{

include/rdma/ib_verbs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,13 +2778,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc,
27782778
const struct ib_grh *grh, u8 port_num);
27792779

27802780
/**
2781-
* ib_modify_ah - Modifies the address vector associated with an address
2781+
* rdma_modify_ah - Modifies the address vector associated with an address
27822782
* handle.
27832783
* @ah: The address handle to modify.
27842784
* @ah_attr: The new address vector attributes to associate with the
27852785
* address handle.
27862786
*/
2787-
int ib_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
2787+
int rdma_modify_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
27882788

27892789
/**
27902790
* ib_query_ah - Queries the address vector associated with an address

0 commit comments

Comments
 (0)