Lines Matching refs:pri_path
715 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
717 qp_ctx->pri_path.mgid_index = in update_gid()
720 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid()
724 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
726 qp_ctx->pri_path.mgid_index += in update_gid()
728 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid()
730 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid()
759 port = (qpc->pri_path.sched_queue & 0x40) ? 2 : 1; in update_vport_qp_param()
793 qpc->pri_path.vlan_control &= in update_vport_qp_param()
797 qpc->pri_path.vlan_control |= in update_vport_qp_param()
810 qpc->pri_path.vlan_control |= in update_vport_qp_param()
816 qpc->pri_path.vlan_control |= in update_vport_qp_param()
822 qpc->pri_path.vlan_control |= in update_vport_qp_param()
827 qpc->pri_path.fvl_rx |= MLX4_FVL_RX_FORCE_ETH_VLAN; in update_vport_qp_param()
828 qpc->pri_path.vlan_index = vp_oper->vlan_idx; in update_vport_qp_param()
829 qpc->pri_path.fl |= MLX4_FL_ETH_HIDE_CQE_VLAN; in update_vport_qp_param()
831 qpc->pri_path.fl |= MLX4_FL_SV; in update_vport_qp_param()
833 qpc->pri_path.fl |= MLX4_FL_CV; in update_vport_qp_param()
834 qpc->pri_path.feup |= MLX4_FEUP_FORCE_ETH_UP | MLX4_FVL_FORCE_ETH_VLAN; in update_vport_qp_param()
835 qpc->pri_path.sched_queue &= 0xC7; in update_vport_qp_param()
836 qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; in update_vport_qp_param()
840 qpc->pri_path.feup |= MLX4_FSM_FORCE_ETH_SRC_MAC; in update_vport_qp_param()
841 qpc->pri_path.grh_mylmc = (0x80 & qpc->pri_path.grh_mylmc) + vp_oper->mac_idx; in update_vport_qp_param()
1015 qpc->pri_path.counter_index = counter->com.res_id; in handle_unexisting_counter()
1031 qpc->pri_path.counter_index = counter_idx; in handle_unexisting_counter()
1033 __func__, slave, qpc->pri_path.counter_index); in handle_unexisting_counter()
1043 if (qpc->pri_path.counter_index != MLX4_SINK_COUNTER_INDEX(dev)) in handle_counter()
1045 qpc->pri_path.counter_index); in handle_counter()
3218 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
3223 if (qp_ctx->pri_path.mgid_index >= num_gids) in verify_qp_parameters()
3244 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in verify_qp_parameters()
3775 dev, slave, (qpc->pri_path.sched_queue >> 6 & 1) + 1) - 1; in adjust_qp_sched_queue()
3780 pri_sched_queue = (qpc->pri_path.sched_queue & ~(1 << 6)) | in adjust_qp_sched_queue()
3784 qpc->pri_path.sched_queue || mlx4_is_eth(dev, port + 1)) { in adjust_qp_sched_queue()
3785 qpc->pri_path.sched_queue = pri_sched_queue; in adjust_qp_sched_queue()
3813 smac_ix = qpc->pri_path.grh_mylmc & 0x7f; in roce_verify_mac()
3831 u8 orig_vlan_control = qpc->pri_path.vlan_control; in mlx4_INIT2RTR_QP_wrapper()
3832 u8 orig_fvl_rx = qpc->pri_path.fvl_rx; in mlx4_INIT2RTR_QP_wrapper()
3833 u8 orig_pri_path_fl = qpc->pri_path.fl; in mlx4_INIT2RTR_QP_wrapper()
3834 u8 orig_vlan_index = qpc->pri_path.vlan_index; in mlx4_INIT2RTR_QP_wrapper()
3835 u8 orig_feup = qpc->pri_path.feup; in mlx4_INIT2RTR_QP_wrapper()
3850 orig_sched_queue = qpc->pri_path.sched_queue; in mlx4_INIT2RTR_QP_wrapper()
4325 smac_index = cmd->qp_context.pri_path.grh_mylmc; in mlx4_UPDATE_QP_wrapper()
5363 upd_context->qp_context.pri_path.vlan_control = qp->vlan_control; in mlx4_vf_immed_vlan_work_handler()
5364 upd_context->qp_context.pri_path.fvl_rx = qp->fvl_rx; in mlx4_vf_immed_vlan_work_handler()
5365 upd_context->qp_context.pri_path.vlan_index = qp->vlan_index; in mlx4_vf_immed_vlan_work_handler()
5366 upd_context->qp_context.pri_path.fl = qp->pri_path_fl; in mlx4_vf_immed_vlan_work_handler()
5367 upd_context->qp_context.pri_path.feup = qp->feup; in mlx4_vf_immed_vlan_work_handler()
5368 upd_context->qp_context.pri_path.sched_queue = in mlx4_vf_immed_vlan_work_handler()
5372 upd_context->qp_context.pri_path.vlan_control = vlan_control; in mlx4_vf_immed_vlan_work_handler()
5373 upd_context->qp_context.pri_path.vlan_index = work->vlan_ix; in mlx4_vf_immed_vlan_work_handler()
5374 upd_context->qp_context.pri_path.fvl_rx = in mlx4_vf_immed_vlan_work_handler()
5376 upd_context->qp_context.pri_path.fl = in mlx4_vf_immed_vlan_work_handler()
5379 upd_context->qp_context.pri_path.fl |= MLX4_FL_SV; in mlx4_vf_immed_vlan_work_handler()
5381 upd_context->qp_context.pri_path.fl |= MLX4_FL_CV; in mlx4_vf_immed_vlan_work_handler()
5382 upd_context->qp_context.pri_path.feup = in mlx4_vf_immed_vlan_work_handler()
5384 upd_context->qp_context.pri_path.sched_queue = in mlx4_vf_immed_vlan_work_handler()
5386 upd_context->qp_context.pri_path.sched_queue |= in mlx4_vf_immed_vlan_work_handler()