vp_oper 1844 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vport_oper_state *vp_oper; vp_oper 1851 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 1854 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vp_oper->state.default_vlan == vp_admin->default_vlan && vp_oper 1855 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.default_qos == vp_admin->default_qos && vp_oper 1856 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.vlan_proto == vp_admin->vlan_proto && vp_oper 1857 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.link_state == vp_admin->link_state && vp_oper 1858 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.qos_vport == vp_admin->qos_vport) vp_oper 1866 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.link_state = vp_admin->link_state; vp_oper 1880 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vp_oper->state.default_vlan != vp_admin->default_vlan) { vp_oper 1903 drivers/net/ethernet/mellanox/mlx4/cmd.c work->orig_vlan_id = vp_oper->state.default_vlan; vp_oper 1904 drivers/net/ethernet/mellanox/mlx4/cmd.c work->orig_vlan_ix = vp_oper->vlan_idx; vp_oper 1907 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vp_oper->state.default_qos != vp_admin->default_qos) vp_oper 1911 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->vlan_idx = admin_vlan_ix; vp_oper 1913 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.default_vlan = vp_admin->default_vlan; vp_oper 1914 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.default_qos = vp_admin->default_qos; vp_oper 1915 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.vlan_proto = vp_admin->vlan_proto; vp_oper 1916 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.link_state = vp_admin->link_state; vp_oper 1917 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.qos_vport = vp_admin->qos_vport; vp_oper 1925 drivers/net/ethernet/mellanox/mlx4/cmd.c work->qos = vp_oper->state.default_qos; vp_oper 1926 drivers/net/ethernet/mellanox/mlx4/cmd.c work->qos_vport = vp_oper->state.qos_vport; vp_oper 1927 drivers/net/ethernet/mellanox/mlx4/cmd.c work->vlan_id = vp_oper->state.default_vlan; vp_oper 1928 drivers/net/ethernet/mellanox/mlx4/cmd.c work->vlan_ix = vp_oper->vlan_idx; vp_oper 1929 drivers/net/ethernet/mellanox/mlx4/cmd.c work->vlan_proto = vp_oper->state.vlan_proto; vp_oper 1999 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vport_oper_state *vp_oper; vp_oper 2014 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 2018 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.vlan_proto = vp_admin->vlan_proto; vp_oper 2019 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.default_vlan = vp_admin->default_vlan; vp_oper 2020 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.default_qos = vp_admin->default_qos; vp_oper 2022 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.link_state = vp_admin->link_state; vp_oper 2023 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.mac = vp_admin->mac; vp_oper 2024 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.spoofchk = vp_admin->spoofchk; vp_oper 2025 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.tx_rate = vp_admin->tx_rate; vp_oper 2026 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.qos_vport = vp_admin->qos_vport; vp_oper 2027 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.guid = vp_admin->guid; vp_oper 2031 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_admin->default_vlan, &(vp_oper->vlan_idx)); vp_oper 2033 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->vlan_idx = NO_INDX; vp_oper 2034 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.default_vlan = MLX4_VGT; vp_oper 2035 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.vlan_proto = htons(ETH_P_8021Q); vp_oper 2042 drivers/net/ethernet/mellanox/mlx4/cmd.c (int)(vp_oper->state.default_vlan), vp_oper 2043 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->vlan_idx, slave, port); vp_oper 2046 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->mac_idx = __mlx4_register_mac(&priv->dev, vp_oper 2049 drivers/net/ethernet/mellanox/mlx4/cmd.c if (0 > vp_oper->mac_idx) { vp_oper 2050 drivers/net/ethernet/mellanox/mlx4/cmd.c err = vp_oper->mac_idx; vp_oper 2051 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->mac_idx = NO_INDX; vp_oper 2058 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->state.mac, vp_oper->mac_idx, slave, port); vp_oper 2067 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vport_oper_state *vp_oper; vp_oper 2081 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 2082 drivers/net/ethernet/mellanox/mlx4/cmd.c if (NO_INDX != vp_oper->vlan_idx) { vp_oper 2084 drivers/net/ethernet/mellanox/mlx4/cmd.c port, vp_oper->state.default_vlan); vp_oper 2085 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->vlan_idx = NO_INDX; vp_oper 2087 drivers/net/ethernet/mellanox/mlx4/cmd.c if (NO_INDX != vp_oper->mac_idx) { vp_oper 2088 drivers/net/ethernet/mellanox/mlx4/cmd.c __mlx4_unregister_mac(&priv->dev, port, vp_oper->state.mac); vp_oper 2089 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper->mac_idx = NO_INDX; vp_oper 3151 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vport_oper_state *vp_oper; vp_oper 3156 drivers/net/ethernet/mellanox/mlx4/cmd.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 3158 drivers/net/ethernet/mellanox/mlx4/cmd.c if (MLX4_VGT != vp_oper->state.default_vlan) { vp_oper 3160 drivers/net/ethernet/mellanox/mlx4/cmd.c *vlan = vp_oper->state.default_vlan; vp_oper 3162 drivers/net/ethernet/mellanox/mlx4/cmd.c *qos = vp_oper->state.default_qos; vp_oper 261 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vport_oper_state *vp_oper; vp_oper 265 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 268 drivers/net/ethernet/mellanox/mlx4/fw.c if (vp_admin->default_vlan != vp_oper->state.default_vlan) { vp_oper 271 drivers/net/ethernet/mellanox/mlx4/fw.c &vp_oper->vlan_idx); vp_oper 273 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->vlan_idx = NO_INDX; vp_oper 280 drivers/net/ethernet/mellanox/mlx4/fw.c (int)(vp_oper->state.default_vlan), vp_oper 281 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->vlan_idx, slave, port); vp_oper 283 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->state.vlan_proto = vp_admin->vlan_proto; vp_oper 284 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->state.default_vlan = vp_admin->default_vlan; vp_oper 285 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->state.default_qos = vp_admin->default_qos; vp_oper 292 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vport_oper_state *vp_oper; vp_oper 297 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 305 drivers/net/ethernet/mellanox/mlx4/fw.c if (vp_oper->state.vlan_proto == vp_admin->vlan_proto && vp_oper 306 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->state.default_vlan == vp_admin->default_vlan && vp_oper 307 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper->state.default_qos == vp_admin->default_qos) vp_oper 312 drivers/net/ethernet/mellanox/mlx4/fw.c vp_admin->vlan_proto = vp_oper->state.vlan_proto; vp_oper 313 drivers/net/ethernet/mellanox/mlx4/fw.c vp_admin->default_vlan = vp_oper->state.default_vlan; vp_oper 314 drivers/net/ethernet/mellanox/mlx4/fw.c vp_admin->default_qos = vp_oper->state.default_qos; vp_oper 399 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vport_oper_state *vp_oper; vp_oper 438 drivers/net/ethernet/mellanox/mlx4/fw.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 446 drivers/net/ethernet/mellanox/mlx4/fw.c if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) vp_oper 754 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vport_oper_state *vp_oper; vp_oper 761 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; vp_oper 768 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (MLX4_VGT != vp_oper->state.default_vlan) { vp_oper 795 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (vp_oper->state.link_state == IFLA_VF_LINK_STATE_DISABLE && vp_oper 804 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c } else if (0 != vp_oper->state.default_vlan) { vp_oper 805 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) { vp_oper 828 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.vlan_index = vp_oper->vlan_idx; vp_oper 830 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) vp_oper 836 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; vp_oper 837 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->qos_vport = vp_oper->state.qos_vport; vp_oper 839 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (vp_oper->state.spoofchk) { vp_oper 841 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpc->pri_path.grh_mylmc = (0x80 & qpc->pri_path.grh_mylmc) + vp_oper->mac_idx;