/* both requests, or both responses. GIDs different */
                return 0;
 
-       if (ib_query_ah(wr->send_buf.ah, &attr))
+       if (rdma_query_ah(wr->send_buf.ah, &attr))
                /* Assume not equal, to avoid false positives. */
                return 0;
 
 
                    (rmpp_recv->method & IB_MGMT_METHOD_RESP))
                        continue;
 
-               if (ib_query_ah(mad_send_wr->send_buf.ah, &ah_attr))
+               if (rdma_query_ah(mad_send_wr->send_buf.ah, &ah_attr))
                        continue;
 
                if (rmpp_recv->slid == ah_attr.dlid) {
 
 }
 EXPORT_SYMBOL(rdma_modify_ah);
 
-int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
+int rdma_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr)
 {
        return ah->device->query_ah ?
                ah->device->query_ah(ah, ah_attr) :
                -ENOSYS;
 }
-EXPORT_SYMBOL(ib_query_ah);
+EXPORT_SYMBOL(rdma_query_ah);
 
 int ib_destroy_ah(struct ib_ah *ah)
 {
 
        if (!agent)
                return -EAGAIN;
 
-       ib_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr);
+       rdma_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr);
 
        if (ib_find_cached_pkey(&dev->ib_dev, ctx->port, IB_DEFAULT_PKEY_FULL, &wc.pkey_index))
                return -EINVAL;
 
 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
+ * rdma_query_ah - Queries the address vector associated with an address
  *   handle.
  * @ah: The address handle to query.
  * @ah_attr: The address vector attributes associated with the address
  *   handle.
  */
-int ib_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
+int rdma_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
 
 /**
  * ib_destroy_ah - Destroys an address handle.