diff options
author | Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> | 2017-04-29 14:41:24 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-05-01 14:32:43 -0400 |
commit | 38349389fece9dc1509f43791e086009a1b79db4 (patch) | |
tree | 86df676d3191bb42fffb5c055d552c26dc7bd259 | |
parent | 71d53ab47ee6e1f54f98e03f28ee36353f8c7f31 (diff) |
IB/mlx5: Rename to_ib_ah_attr to to_rdma_ah_attr
local function to_ib_ah_attr is renamed so it in
sync with the rename of the ib_ah_attr structure
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/hw/mlx5/qp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index 18974c15b403..22c6739d9311 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c | |||
@@ -4249,9 +4249,9 @@ static int to_ib_qp_access_flags(int mlx5_flags) | |||
4249 | return ib_flags; | 4249 | return ib_flags; |
4250 | } | 4250 | } |
4251 | 4251 | ||
4252 | static void to_ib_ah_attr(struct mlx5_ib_dev *ibdev, | 4252 | static void to_rdma_ah_attr(struct mlx5_ib_dev *ibdev, |
4253 | struct rdma_ah_attr *ib_ah_attr, | 4253 | struct rdma_ah_attr *ib_ah_attr, |
4254 | struct mlx5_qp_path *path) | 4254 | struct mlx5_qp_path *path) |
4255 | { | 4255 | { |
4256 | struct mlx5_core_dev *dev = ibdev->mdev; | 4256 | struct mlx5_core_dev *dev = ibdev->mdev; |
4257 | 4257 | ||
@@ -4441,8 +4441,8 @@ static int query_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, | |||
4441 | to_ib_qp_access_flags(be32_to_cpu(context->params2)); | 4441 | to_ib_qp_access_flags(be32_to_cpu(context->params2)); |
4442 | 4442 | ||
4443 | if (qp->ibqp.qp_type == IB_QPT_RC || qp->ibqp.qp_type == IB_QPT_UC) { | 4443 | if (qp->ibqp.qp_type == IB_QPT_RC || qp->ibqp.qp_type == IB_QPT_UC) { |
4444 | to_ib_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); | 4444 | to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); |
4445 | to_ib_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); | 4445 | to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path); |
4446 | qp_attr->alt_pkey_index = | 4446 | qp_attr->alt_pkey_index = |
4447 | be16_to_cpu(context->alt_path.pkey_index); | 4447 | be16_to_cpu(context->alt_path.pkey_index); |
4448 | qp_attr->alt_port_num = qp_attr->alt_ah_attr.port_num; | 4448 | qp_attr->alt_port_num = qp_attr->alt_ah_attr.port_num; |