Lines Matching refs:pri_path
1310 mlx4_set_sched(&context->pri_path, attr->port_num); in __mlx4_ib_modify_qp()
1317 context->pri_path.counter_index = in __mlx4_ib_modify_qp()
1321 context->pri_path.counter_index = 0xff; in __mlx4_ib_modify_qp()
1326 context->pri_path.disable_pkey_check = 0x40; in __mlx4_ib_modify_qp()
1327 context->pri_path.pkey_index = attr->pkey_index; in __mlx4_ib_modify_qp()
1332 if (mlx4_set_path(dev, &attr->ah_attr, &context->pri_path, in __mlx4_ib_modify_qp()
1342 context->pri_path.ackto |= attr->timeout << 3; in __mlx4_ib_modify_qp()
1449 context->pri_path.sched_queue = (qp->port - 1) << 6; in __mlx4_ib_modify_qp()
1453 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_QP0_SCHED_QUEUE; in __mlx4_ib_modify_qp()
1455 context->pri_path.fl = 0x80; in __mlx4_ib_modify_qp()
1458 context->pri_path.fl = 0x80; in __mlx4_ib_modify_qp()
1459 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_SCHED_QUEUE; in __mlx4_ib_modify_qp()
1464 context->pri_path.ackto = (context->pri_path.ackto & 0xf8) | in __mlx4_ib_modify_qp()
2711 to_ib_ah_attr(dev, &qp_attr->ah_attr, &context.pri_path); in mlx4_ib_query_qp()
2717 qp_attr->pkey_index = context.pri_path.pkey_index & 0x7f; in mlx4_ib_query_qp()
2721 qp_attr->port_num = context.pri_path.sched_queue & 0x40 ? 2 : 1; in mlx4_ib_query_qp()
2732 qp_attr->timeout = context.pri_path.ackto >> 3; in mlx4_ib_query_qp()