Lines Matching defs:vp_oper
741 struct mlx4_vport_oper_state *vp_oper;
748 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port];
755 if (MLX4_VGT != vp_oper->state.default_vlan) {
782 if (1 /*vp_oper->state.link_state == IFLA_VF_LINK_STATE_DISABLE*/ &&
791 } else if (0 != vp_oper->state.default_vlan) {
792 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) {
815 qpc->pri_path.vlan_index = vp_oper->vlan_idx;
817 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD))
823 qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3;
824 qpc->qos_vport = vp_oper->state.qos_vport;
826 if (vp_oper->state.spoofchk) {
828 qpc->pri_path.grh_mylmc = (0x80 & qpc->pri_path.grh_mylmc) + vp_oper->mac_idx;