Lines Matching refs:vp_oper
754 struct mlx4_vport_oper_state *vp_oper; in update_vport_qp_param() local
761 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in update_vport_qp_param()
768 if (MLX4_VGT != vp_oper->state.default_vlan) { in update_vport_qp_param()
795 if (vp_oper->state.link_state == IFLA_VF_LINK_STATE_DISABLE && in update_vport_qp_param()
804 } else if (0 != vp_oper->state.default_vlan) { in update_vport_qp_param()
805 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) { in update_vport_qp_param()
828 qpc->pri_path.vlan_index = vp_oper->vlan_idx; in update_vport_qp_param()
830 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in update_vport_qp_param()
836 qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; in update_vport_qp_param()
837 qpc->qos_vport = vp_oper->state.qos_vport; in update_vport_qp_param()
839 if (vp_oper->state.spoofchk) { 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()