Searched refs:vp_oper (Results 1 – 2 of 2) sorted by relevance
261 struct mlx4_vport_oper_state *vp_oper; in mlx4_activate_vst_qinq() local265 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_activate_vst_qinq()268 if (vp_admin->default_vlan != vp_oper->state.default_vlan) { in mlx4_activate_vst_qinq()271 &vp_oper->vlan_idx); in mlx4_activate_vst_qinq()273 vp_oper->vlan_idx = NO_INDX; in mlx4_activate_vst_qinq()280 (int)(vp_oper->state.default_vlan), in mlx4_activate_vst_qinq()281 vp_oper->vlan_idx, slave, port); in mlx4_activate_vst_qinq()283 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_activate_vst_qinq()284 vp_oper->state.default_vlan = vp_admin->default_vlan; in mlx4_activate_vst_qinq()285 vp_oper->state.default_qos = vp_admin->default_qos; in mlx4_activate_vst_qinq()[all …]
748 struct mlx4_vport_oper_state *vp_oper; in update_vport_qp_param() local755 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in update_vport_qp_param()762 if (MLX4_VGT != vp_oper->state.default_vlan) { in update_vport_qp_param()789 if (vp_oper->state.link_state == IFLA_VF_LINK_STATE_DISABLE && in update_vport_qp_param()798 } else if (0 != vp_oper->state.default_vlan) { in update_vport_qp_param()799 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) { in update_vport_qp_param()822 qpc->pri_path.vlan_index = vp_oper->vlan_idx; in update_vport_qp_param()824 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in update_vport_qp_param()830 qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; in update_vport_qp_param()831 qpc->qos_vport = vp_oper->state.qos_vport; in update_vport_qp_param()[all …]