Skip to content

Commit 3834938

Browse files
Dasaratharaman Chandramoulidledford
authored andcommitted
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 <[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 71d53ab commit 3834938

File tree

1 file changed

+5
-5
lines changed
  • drivers/infiniband/hw/mlx5

1 file changed

+5
-5
lines changed

drivers/infiniband/hw/mlx5/qp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4249,9 +4249,9 @@ static int to_ib_qp_access_flags(int mlx5_flags)
42494249
return ib_flags;
42504250
}
42514251

4252-
static void to_ib_ah_attr(struct mlx5_ib_dev *ibdev,
4253-
struct rdma_ah_attr *ib_ah_attr,
4254-
struct mlx5_qp_path *path)
4252+
static void to_rdma_ah_attr(struct mlx5_ib_dev *ibdev,
4253+
struct rdma_ah_attr *ib_ah_attr,
4254+
struct mlx5_qp_path *path)
42554255
{
42564256
struct mlx5_core_dev *dev = ibdev->mdev;
42574257

@@ -4441,8 +4441,8 @@ static int query_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp,
44414441
to_ib_qp_access_flags(be32_to_cpu(context->params2));
44424442

44434443
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);
4445-
to_ib_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path);
4444+
to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path);
4445+
to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context->alt_path);
44464446
qp_attr->alt_pkey_index =
44474447
be16_to_cpu(context->alt_path.pkey_index);
44484448
qp_attr->alt_port_num = qp_attr->alt_ah_attr.port_num;

0 commit comments

Comments
 (0)