diff options
author | Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> | 2017-04-29 14:41:20 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-05-01 14:32:43 -0400 |
commit | 67b985b6c75530bd3dccd55d61d2c9027ab2ca38 (patch) | |
tree | 67ffe1277b97c9e2aed08fa9488c420877685398 | |
parent | 0a18cfe4f6d7dba135a04dc18633006ba5b51646 (diff) |
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 <ira.weiny@intel.com>
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/infiniband/core/verbs.c | 4 | ||||
-rw-r--r-- | include/rdma/ib_verbs.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c index b52f4a1495ad..e856547e2cc2 100644 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c | |||
@@ -571,13 +571,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, | |||
571 | } | 571 | } |
572 | EXPORT_SYMBOL(ib_create_ah_from_wc); | 572 | EXPORT_SYMBOL(ib_create_ah_from_wc); |
573 | 573 | ||
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) |
575 | { | 575 | { |
576 | return ah->device->modify_ah ? | 576 | return ah->device->modify_ah ? |
577 | ah->device->modify_ah(ah, ah_attr) : | 577 | ah->device->modify_ah(ah, ah_attr) : |
578 | -ENOSYS; | 578 | -ENOSYS; |
579 | } | 579 | } |
580 | EXPORT_SYMBOL(ib_modify_ah); | 580 | EXPORT_SYMBOL(rdma_modify_ah); |
581 | 581 | ||
582 | int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr) | 582 | int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr) |
583 | { | 583 | { |
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index d65812147602..73fb465e88fc 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -2778,13 +2778,13 @@ struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, | |||
2778 | const struct ib_grh *grh, u8 port_num); | 2778 | const struct ib_grh *grh, u8 port_num); |
2779 | 2779 | ||
2780 | /** | 2780 | /** |
2781 | * ib_modify_ah - Modifies the address vector associated with an address | 2781 | * rdma_modify_ah - Modifies the address vector associated with an address |
2782 | * handle. | 2782 | * handle. |
2783 | * @ah: The address handle to modify. | 2783 | * @ah: The address handle to modify. |
2784 | * @ah_attr: The new address vector attributes to associate with the | 2784 | * @ah_attr: The new address vector attributes to associate with the |
2785 | * address handle. | 2785 | * address handle. |
2786 | */ | 2786 | */ |
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); |
2788 | 2788 | ||
2789 | /** | 2789 | /** |
2790 | * ib_query_ah - Queries the address vector associated with an address | 2790 | * ib_query_ah - Queries the address vector associated with an address |