Lines Matching refs:vp_admin

1845 	struct mlx4_vport_state *vp_admin;  in mlx4_master_immediate_activate_vlan_qos()  local
1852 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_master_immediate_activate_vlan_qos()
1854 if (vp_oper->state.default_vlan == vp_admin->default_vlan && in mlx4_master_immediate_activate_vlan_qos()
1855 vp_oper->state.default_qos == vp_admin->default_qos && in mlx4_master_immediate_activate_vlan_qos()
1856 vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_master_immediate_activate_vlan_qos()
1857 vp_oper->state.link_state == vp_admin->link_state && in mlx4_master_immediate_activate_vlan_qos()
1858 vp_oper->state.qos_vport == vp_admin->qos_vport) in mlx4_master_immediate_activate_vlan_qos()
1866 vp_oper->state.link_state = vp_admin->link_state; in mlx4_master_immediate_activate_vlan_qos()
1873 vp_admin->default_vlan, vp_admin->default_qos, in mlx4_master_immediate_activate_vlan_qos()
1874 vp_admin->link_state); in mlx4_master_immediate_activate_vlan_qos()
1880 if (vp_oper->state.default_vlan != vp_admin->default_vlan) { in mlx4_master_immediate_activate_vlan_qos()
1881 if (MLX4_VGT != vp_admin->default_vlan) { in mlx4_master_immediate_activate_vlan_qos()
1883 vp_admin->default_vlan, in mlx4_master_immediate_activate_vlan_qos()
1898 (int)(vp_admin->default_vlan), in mlx4_master_immediate_activate_vlan_qos()
1907 if (vp_oper->state.default_qos != vp_admin->default_qos) in mlx4_master_immediate_activate_vlan_qos()
1913 vp_oper->state.default_vlan = vp_admin->default_vlan; in mlx4_master_immediate_activate_vlan_qos()
1914 vp_oper->state.default_qos = vp_admin->default_qos; in mlx4_master_immediate_activate_vlan_qos()
1915 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_immediate_activate_vlan_qos()
1916 vp_oper->state.link_state = vp_admin->link_state; in mlx4_master_immediate_activate_vlan_qos()
1917 vp_oper->state.qos_vport = vp_admin->qos_vport; in mlx4_master_immediate_activate_vlan_qos()
1919 if (vp_admin->link_state == IFLA_VF_LINK_STATE_DISABLE) in mlx4_master_immediate_activate_vlan_qos()
1998 struct mlx4_vport_state *vp_admin; in mlx4_master_activate_admin_state() local
2010 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_master_activate_admin_state()
2011 if (vp_admin->vlan_proto != htons(ETH_P_8021AD) || in mlx4_master_activate_admin_state()
2013 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_activate_admin_state()
2014 vp_oper->state.default_vlan = vp_admin->default_vlan; in mlx4_master_activate_admin_state()
2015 vp_oper->state.default_qos = vp_admin->default_qos; in mlx4_master_activate_admin_state()
2017 vp_oper->state.link_state = vp_admin->link_state; in mlx4_master_activate_admin_state()
2018 vp_oper->state.mac = vp_admin->mac; in mlx4_master_activate_admin_state()
2019 vp_oper->state.spoofchk = vp_admin->spoofchk; in mlx4_master_activate_admin_state()
2020 vp_oper->state.tx_rate = vp_admin->tx_rate; in mlx4_master_activate_admin_state()
2021 vp_oper->state.qos_vport = vp_admin->qos_vport; in mlx4_master_activate_admin_state()
2022 vp_oper->state.guid = vp_admin->guid; in mlx4_master_activate_admin_state()
2024 if (MLX4_VGT != vp_admin->default_vlan) { in mlx4_master_activate_admin_state()
2026 vp_admin->default_vlan, &(vp_oper->vlan_idx)); in mlx4_master_activate_admin_state()
2040 if (vp_admin->spoofchk) { in mlx4_master_activate_admin_state()
2043 vp_admin->mac); in mlx4_master_activate_admin_state()