Searched refs:pri_path (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 58 context->pri_path.ackto = 1 & 0x07; in mlx4_en_fill_qp_context() 59 context->pri_path.sched_queue = 0x83 | (priv->port - 1) << 6; in mlx4_en_fill_qp_context() 60 context->pri_path.counter_index = 0xff; in mlx4_en_fill_qp_context()
|
D | en_rx.c | 900 ptr = ((void *) &context) + offsetof(struct mlx4_qp_context, pri_path) in mlx4_en_config_rss_steer()
|
D | resource_tracker.c | 276 qp_ctx->pri_path.mgid_index = 0x80 | slave; in update_ud_gid() 279 slave, qp_ctx->pri_path.mgid_index); in update_ud_gid()
|
/linux-3.4.99/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1085 mlx4_set_sched(&context->pri_path, attr->port_num); in __mlx4_ib_modify_qp() 1092 context->pri_path.counter_index = in __mlx4_ib_modify_qp() 1096 context->pri_path.counter_index = 0xff; in __mlx4_ib_modify_qp() 1100 context->pri_path.pkey_index = attr->pkey_index; in __mlx4_ib_modify_qp() 1105 if (mlx4_set_path(dev, &attr->ah_attr, &context->pri_path, in __mlx4_ib_modify_qp() 1114 context->pri_path.ackto |= attr->timeout << 3; in __mlx4_ib_modify_qp() 1204 context->pri_path.sched_queue = (qp->port - 1) << 6; in __mlx4_ib_modify_qp() 1206 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_QP0_SCHED_QUEUE; in __mlx4_ib_modify_qp() 1208 context->pri_path.sched_queue |= MLX4_IB_DEFAULT_SCHED_QUEUE; in __mlx4_ib_modify_qp() 2117 to_ib_ah_attr(dev, &qp_attr->ah_attr, &context.pri_path); in mlx4_ib_query_qp() [all …]
|
/linux-3.4.99/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 130 struct mthca_qp_path pri_path; member 470 to_ib_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); in mthca_query_qp() 477 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; in mthca_query_qp() 479 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; in mthca_query_qp() 490 qp_attr->timeout = context->pri_path.ackto >> 3; in mthca_query_qp() 492 qp_attr->rnr_retry = context->pri_path.rnr_retry >> 5; in mthca_query_qp() 618 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 622 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 629 qp_context->pri_path.port_pkey |= in __mthca_modify_qp() 635 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp() [all …]
|
/linux-3.4.99/include/linux/mlx4/ |
D | qp.h | 157 struct mlx4_qp_path pri_path; member
|
/linux-3.4.99/drivers/infiniband/core/ |
D | cm.c | 1004 struct ib_sa_path_rec *pri_path = param->primary_path; in cm_format_req() local 1033 if (pri_path->hop_limit <= 1) { in cm_format_req() 1034 req_msg->primary_local_lid = pri_path->slid; in cm_format_req() 1035 req_msg->primary_remote_lid = pri_path->dlid; in cm_format_req() 1041 req_msg->primary_local_gid = pri_path->sgid; in cm_format_req() 1042 req_msg->primary_remote_gid = pri_path->dgid; in cm_format_req() 1043 cm_req_set_primary_flow_label(req_msg, pri_path->flow_label); in cm_format_req() 1044 cm_req_set_primary_packet_rate(req_msg, pri_path->rate); in cm_format_req() 1045 req_msg->primary_traffic_class = pri_path->traffic_class; in cm_format_req() 1046 req_msg->primary_hop_limit = pri_path->hop_limit; in cm_format_req() [all …]
|