Lines Matching refs:ivi
161 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) in nsim_get_vf_config() argument
169 ivi->vf = vf; in nsim_get_vf_config()
170 ivi->linkstate = nsim_bus_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
171 ivi->min_tx_rate = nsim_bus_dev->vfconfigs[vf].min_tx_rate; in nsim_get_vf_config()
172 ivi->max_tx_rate = nsim_bus_dev->vfconfigs[vf].max_tx_rate; in nsim_get_vf_config()
173 ivi->vlan = nsim_bus_dev->vfconfigs[vf].vlan; in nsim_get_vf_config()
174 ivi->vlan_proto = nsim_bus_dev->vfconfigs[vf].vlan_proto; in nsim_get_vf_config()
175 ivi->qos = nsim_bus_dev->vfconfigs[vf].qos; in nsim_get_vf_config()
176 memcpy(&ivi->mac, nsim_bus_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
177 ivi->spoofchk = nsim_bus_dev->vfconfigs[vf].spoofchk_enabled; in nsim_get_vf_config()
178 ivi->trusted = nsim_bus_dev->vfconfigs[vf].trusted; in nsim_get_vf_config()
179 ivi->rss_query_en = nsim_bus_dev->vfconfigs[vf].rss_query_enabled; in nsim_get_vf_config()