Skip to content

Commit 71d53ab

Browse files
Dasaratharaman Chandramoulidledford
authored andcommitted
IB/mlx4: 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 3652315 commit 71d53ab

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

drivers/infiniband/hw/mlx4/qp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3395,9 +3395,9 @@ static int to_ib_qp_access_flags(int mlx4_flags)
33953395
return ib_flags;
33963396
}
33973397

3398-
static void to_ib_ah_attr(struct mlx4_ib_dev *ibdev,
3399-
struct rdma_ah_attr *ib_ah_attr,
3400-
struct mlx4_qp_path *path)
3398+
static void to_rdma_ah_attr(struct mlx4_ib_dev *ibdev,
3399+
struct rdma_ah_attr *ib_ah_attr,
3400+
struct mlx4_qp_path *path)
34013401
{
34023402
struct mlx4_dev *dev = ibdev->dev;
34033403
int is_eth;
@@ -3469,8 +3469,8 @@ int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr
34693469
to_ib_qp_access_flags(be32_to_cpu(context.params2));
34703470

34713471
if (qp->ibqp.qp_type == IB_QPT_RC || qp->ibqp.qp_type == IB_QPT_UC) {
3472-
to_ib_ah_attr(dev, &qp_attr->ah_attr, &context.pri_path);
3473-
to_ib_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path);
3472+
to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context.pri_path);
3473+
to_rdma_ah_attr(dev, &qp_attr->alt_ah_attr, &context.alt_path);
34743474
qp_attr->alt_pkey_index = context.alt_path.pkey_index & 0x7f;
34753475
qp_attr->alt_port_num = qp_attr->alt_ah_attr.port_num;
34763476
}

0 commit comments

Comments
 (0)