pri_path 1276 drivers/infiniband/core/cm.c struct sa_path_rec *pri_path = param->primary_path; pri_path 1280 drivers/infiniband/core/cm.c if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) pri_path 1281 drivers/infiniband/core/cm.c pri_ext = opa_is_extended_lid(pri_path->opa.dlid, pri_path 1282 drivers/infiniband/core/cm.c pri_path->opa.slid); pri_path 1310 drivers/infiniband/core/cm.c req_msg->primary_local_gid = pri_path->sgid; pri_path 1311 drivers/infiniband/core/cm.c req_msg->primary_remote_gid = pri_path->dgid; pri_path 1314 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); pri_path 1316 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); pri_path 1318 drivers/infiniband/core/cm.c if (pri_path->hop_limit <= 1) { pri_path 1320 drivers/infiniband/core/cm.c htons(ntohl(sa_path_get_slid(pri_path))); pri_path 1322 drivers/infiniband/core/cm.c htons(ntohl(sa_path_get_dlid(pri_path))); pri_path 1328 drivers/infiniband/core/cm.c cm_req_set_primary_flow_label(req_msg, pri_path->flow_label); pri_path 1329 drivers/infiniband/core/cm.c cm_req_set_primary_packet_rate(req_msg, pri_path->rate); pri_path 1330 drivers/infiniband/core/cm.c req_msg->primary_traffic_class = pri_path->traffic_class; pri_path 1331 drivers/infiniband/core/cm.c req_msg->primary_hop_limit = pri_path->hop_limit; pri_path 1332 drivers/infiniband/core/cm.c cm_req_set_primary_sl(req_msg, pri_path->sl); pri_path 1333 drivers/infiniband/core/cm.c cm_req_set_primary_subnet_local(req_msg, (pri_path->hop_limit <= 1)); pri_path 1336 drivers/infiniband/core/cm.c pri_path->packet_life_time)); pri_path 1958 drivers/infiniband/hw/mlx4/qp.c context->pri_path.sched_queue = MLX4_IB_DEFAULT_SCHED_QUEUE | ((qp->port - 1) << 6); pri_path 1965 drivers/infiniband/hw/mlx4/qp.c context->pri_path.grh_mylmc = 0x80 | (u8) smac_index; pri_path 2116 drivers/infiniband/hw/mlx4/qp.c pri_path) + MLX4_RSS_OFFSET_IN_QPC_PRI_PATH; pri_path 2265 drivers/infiniband/hw/mlx4/qp.c mlx4_set_sched(&context->pri_path, attr->port_num); pri_path 2281 drivers/infiniband/hw/mlx4/qp.c context->pri_path.counter_index = counter_index; pri_path 2284 drivers/infiniband/hw/mlx4/qp.c context->pri_path.fl |= pri_path 2286 drivers/infiniband/hw/mlx4/qp.c context->pri_path.vlan_control |= pri_path 2290 drivers/infiniband/hw/mlx4/qp.c context->pri_path.counter_index = pri_path 2309 drivers/infiniband/hw/mlx4/qp.c context->pri_path.disable_pkey_check = 0x40; pri_path 2310 drivers/infiniband/hw/mlx4/qp.c context->pri_path.pkey_index = attr->pkey_index; pri_path 2331 drivers/infiniband/hw/mlx4/qp.c if (mlx4_set_path(dev, attr, attr_mask, qp, &context->pri_path, pri_path 2352 drivers/infiniband/hw/mlx4/qp.c context->pri_path.ackto |= attr->timeout << 3; pri_path 2467 drivers/infiniband/hw/mlx4/qp.c context->pri_path.sched_queue = (qp->port - 1) << 6; pri_path 2471 drivers/infiniband/hw/mlx4/qp.c context->pri_path.sched_queue |= MLX4_IB_DEFAULT_QP0_SCHED_QUEUE; pri_path 2473 drivers/infiniband/hw/mlx4/qp.c context->pri_path.fl = 0x80; pri_path 2476 drivers/infiniband/hw/mlx4/qp.c context->pri_path.fl = 0x80; pri_path 2477 drivers/infiniband/hw/mlx4/qp.c context->pri_path.sched_queue |= MLX4_IB_DEFAULT_SCHED_QUEUE; pri_path 2483 drivers/infiniband/hw/mlx4/qp.c context->pri_path.feup = 1 << 7; /* don't fsm */ pri_path 2500 drivers/infiniband/hw/mlx4/qp.c context->pri_path.ackto = (context->pri_path.ackto & 0xf8) | pri_path 2514 drivers/infiniband/hw/mlx4/qp.c context->pri_path.ackto = MLX4_IB_LINK_TYPE_ETH; pri_path 4062 drivers/infiniband/hw/mlx4/qp.c to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context.pri_path); pri_path 4069 drivers/infiniband/hw/mlx4/qp.c qp_attr->pkey_index = context.pri_path.pkey_index & 0x7f; pri_path 4073 drivers/infiniband/hw/mlx4/qp.c qp_attr->port_num = context.pri_path.sched_queue & 0x40 ? 2 : 1; pri_path 4084 drivers/infiniband/hw/mlx4/qp.c qp_attr->timeout = context.pri_path.ackto >> 3; pri_path 3532 drivers/infiniband/hw/mlx5/qp.c context->pri_path.pkey_index = cpu_to_be16(attr->pkey_index); pri_path 3537 drivers/infiniband/hw/mlx5/qp.c context->pri_path.port = qp->port; pri_path 3540 drivers/infiniband/hw/mlx5/qp.c context->pri_path.port = attr->port_num; pri_path 3543 drivers/infiniband/hw/mlx5/qp.c err = mlx5_set_path(dev, qp, &attr->ah_attr, &context->pri_path, pri_path 3551 drivers/infiniband/hw/mlx5/qp.c context->pri_path.ackto_lt |= attr->timeout << 3; pri_path 5662 drivers/infiniband/hw/mlx5/qp.c to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); pri_path 5670 drivers/infiniband/hw/mlx5/qp.c qp_attr->pkey_index = be16_to_cpu(context->pri_path.pkey_index); pri_path 5671 drivers/infiniband/hw/mlx5/qp.c qp_attr->port_num = context->pri_path.port; pri_path 5682 drivers/infiniband/hw/mlx5/qp.c qp_attr->timeout = context->pri_path.ackto_lt >> 3; pri_path 131 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_qp_path pri_path; pri_path 477 drivers/infiniband/hw/mthca/mthca_qp.c to_rdma_ah_attr(dev, &qp_attr->ah_attr, &context->pri_path); pri_path 485 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; pri_path 487 drivers/infiniband/hw/mthca/mthca_qp.c (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; pri_path 498 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->timeout = context->pri_path.ackto >> 3; pri_path 500 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->rnr_retry = context->pri_path.rnr_retry >> 5; pri_path 636 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.port_pkey |= pri_path 640 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.port_pkey |= pri_path 647 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.port_pkey |= pri_path 653 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = pri_path 660 drivers/infiniband/hw/mthca/mthca_qp.c if (mthca_path_set(dev, &attr->ah_attr, &qp_context->pri_path, pri_path 681 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.ackto = attr->timeout << 3; pri_path 64 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.ackto = 1 & 0x07; pri_path 65 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.sched_queue = 0x83 | (priv->port - 1) << 6; pri_path 68 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.sched_queue |= user_prio << 3; pri_path 69 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.feup = MLX4_FEUP_FORCE_ETH_UP; pri_path 71 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.counter_index = priv->counter_index; pri_path 76 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.counter_index != pri_path 80 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.fl |= MLX4_FL_ETH_SRC_CHECK_MC_LB; pri_path 81 drivers/net/ethernet/mellanox/mlx4/en_resources.c context->pri_path.control |= MLX4_CTRL_ETH_SRC_CHECK_IF_COUNTER; pri_path 1202 drivers/net/ethernet/mellanox/mlx4/en_rx.c ptr = ((void *) &context) + offsetof(struct mlx4_qp_context, pri_path) pri_path 459 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.pri_path.grh_mylmc = params->smac_index; pri_path 474 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.pri_path.fl |= pri_path 715 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; pri_path 717 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index = pri_path 720 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index = slave | 0x80; pri_path 724 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; pri_path 726 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index += pri_path 728 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index &= 0x7f; pri_path 730 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qp_ctx->pri_path.mgid_index = slave & 0x7F; pri_path 759 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qpc->pri_path.sched_queue & 0x40) ? 2 : 1; pri_path 793 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_control &= pri_path 797 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_control |= pri_path 810 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_control |= pri_path 816 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_control |= pri_path 822 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_control |= pri_path 827 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.fvl_rx |= MLX4_FVL_RX_FORCE_ETH_VLAN; pri_path 828 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_index = vp_oper->vlan_idx; pri_path 829 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.fl |= MLX4_FL_ETH_HIDE_CQE_VLAN; pri_path 831 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.fl |= MLX4_FL_SV; pri_path 833 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.fl |= MLX4_FL_CV; pri_path 834 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.feup |= MLX4_FEUP_FORCE_ETH_UP | MLX4_FVL_FORCE_ETH_VLAN; pri_path 835 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.sched_queue &= 0xC7; pri_path 836 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; pri_path 840 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.feup |= MLX4_FSM_FORCE_ETH_SRC_MAC; pri_path 841 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.grh_mylmc = (0x80 & qpc->pri_path.grh_mylmc) + vp_oper->mac_idx; pri_path 1015 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.counter_index = counter->com.res_id; pri_path 1031 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.counter_index = counter_idx; pri_path 1033 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __func__, slave, qpc->pri_path.counter_index); pri_path 1043 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (qpc->pri_path.counter_index != MLX4_SINK_COUNTER_INDEX(dev)) pri_path 1045 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.counter_index); pri_path 3217 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; pri_path 3222 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (qp_ctx->pri_path.mgid_index >= num_gids) pri_path 3243 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; pri_path 3774 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev, slave, (qpc->pri_path.sched_queue >> 6 & 1) + 1) - 1; pri_path 3779 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c pri_sched_queue = (qpc->pri_path.sched_queue & ~(1 << 6)) | pri_path 3783 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.sched_queue || mlx4_is_eth(dev, port + 1)) { pri_path 3784 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.sched_queue = pri_sched_queue; pri_path 3812 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c smac_ix = qpc->pri_path.grh_mylmc & 0x7f; pri_path 3830 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 orig_vlan_control = qpc->pri_path.vlan_control; pri_path 3831 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 orig_fvl_rx = qpc->pri_path.fvl_rx; pri_path 3832 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 orig_pri_path_fl = qpc->pri_path.fl; pri_path 3833 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 orig_vlan_index = qpc->pri_path.vlan_index; pri_path 3834 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 orig_feup = qpc->pri_path.feup; pri_path 3849 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c orig_sched_queue = qpc->pri_path.sched_queue; pri_path 4324 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c smac_index = cmd->qp_context.pri_path.grh_mylmc; pri_path 5361 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_control = qp->vlan_control; pri_path 5362 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fvl_rx = qp->fvl_rx; pri_path 5363 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_index = qp->vlan_index; pri_path 5364 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl = qp->pri_path_fl; pri_path 5365 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.feup = qp->feup; pri_path 5366 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.sched_queue = pri_path 5370 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_control = vlan_control; pri_path 5371 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_index = work->vlan_ix; pri_path 5372 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fvl_rx = pri_path 5374 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl = pri_path 5377 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl |= MLX4_FL_SV; pri_path 5379 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl |= MLX4_FL_CV; pri_path 5380 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.feup = pri_path 5382 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.sched_queue = pri_path 5384 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.sched_queue |= pri_path 173 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c context->pri_path.port = 1; pri_path 174 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c context->pri_path.pkey_index = cpu_to_be16(ipriv->pkey_index); pri_path 202 include/linux/mlx4/qp.h struct mlx4_qp_path pri_path; pri_path 524 include/linux/mlx5/qp.h struct mlx5_qp_path pri_path;