Searched refs:pri_path (Results 1 – 6 of 6) sorted by relevance
59 context->pri_path.ackto = 1 & 0x07; in mlx4_en_fill_qp_context()60 context->pri_path.sched_queue = 0x83 | (priv->port - 1) << 6; in mlx4_en_fill_qp_context()62 context->pri_path.sched_queue |= user_prio << 3; in mlx4_en_fill_qp_context()63 context->pri_path.feup = MLX4_FEUP_FORCE_ETH_UP; in mlx4_en_fill_qp_context()65 context->pri_path.counter_index = 0xff; in mlx4_en_fill_qp_context()
346 qp_ctx->pri_path.mgid_index = 0x80 | slave; in update_gid()350 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid()366 port = (qpc->pri_path.sched_queue & 0x40) ? 2 : 1; in update_vport_qp_param()378 qpc->pri_path.vlan_control = in update_vport_qp_param()383 qpc->pri_path.vlan_control = in update_vport_qp_param()388 qpc->pri_path.fvl_rx |= MLX4_FVL_RX_FORCE_ETH_VLAN; in update_vport_qp_param()389 qpc->pri_path.vlan_index = vp_oper->vlan_idx; in update_vport_qp_param()390 qpc->pri_path.fl |= MLX4_FL_CV | MLX4_FL_ETH_HIDE_CQE_VLAN; in update_vport_qp_param()391 qpc->pri_path.feup |= MLX4_FEUP_FORCE_ETH_UP | MLX4_FVL_FORCE_ETH_VLAN; in update_vport_qp_param()392 qpc->pri_path.sched_queue &= 0xC7; in update_vport_qp_param()[all …]
991 ptr = ((void *) &context) + offsetof(struct mlx4_qp_context, pri_path) in mlx4_en_config_rss_steer()
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()[all …]
130 struct mthca_qp_path pri_path; member471 to_ib_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); in mthca_query_qp()478 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; in mthca_query_qp()480 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; in mthca_query_qp()491 qp_attr->timeout = context->pri_path.ackto >> 3; in mthca_query_qp()493 qp_attr->rnr_retry = context->pri_path.rnr_retry >> 5; in mthca_query_qp()620 qp_context->pri_path.port_pkey |= in __mthca_modify_qp()624 qp_context->pri_path.port_pkey |= in __mthca_modify_qp()631 qp_context->pri_path.port_pkey |= in __mthca_modify_qp()637 qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = in __mthca_modify_qp()[all …]
1005 struct ib_sa_path_rec *pri_path = param->primary_path; in cm_format_req() local1034 if (pri_path->hop_limit <= 1) { in cm_format_req()1035 req_msg->primary_local_lid = pri_path->slid; in cm_format_req()1036 req_msg->primary_remote_lid = pri_path->dlid; in cm_format_req()1042 req_msg->primary_local_gid = pri_path->sgid; in cm_format_req()1043 req_msg->primary_remote_gid = pri_path->dgid; in cm_format_req()1044 cm_req_set_primary_flow_label(req_msg, pri_path->flow_label); in cm_format_req()1045 cm_req_set_primary_packet_rate(req_msg, pri_path->rate); in cm_format_req()1046 req_msg->primary_traffic_class = pri_path->traffic_class; in cm_format_req()1047 req_msg->primary_hop_limit = pri_path->hop_limit; in cm_format_req()[all …]