Lines Matching refs:vfconfigs

156 	memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN);  in nsim_set_vf_mac()
170 nsim_dev->vfconfigs[vf].vlan = vlan; in nsim_set_vf_vlan()
171 nsim_dev->vfconfigs[vf].qos = qos; in nsim_set_vf_vlan()
172 nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()
190 nsim_dev->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate()
191 nsim_dev->vfconfigs[vf].max_tx_rate = max; in nsim_set_vf_rate()
203 nsim_dev->vfconfigs[vf].spoofchk_enabled = val; in nsim_set_vf_spoofchk()
215 nsim_dev->vfconfigs[vf].rss_query_enabled = val; in nsim_set_vf_rss_query_en()
227 nsim_dev->vfconfigs[vf].trusted = val; in nsim_set_vf_trust()
242 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
243 ivi->min_tx_rate = nsim_dev->vfconfigs[vf].min_tx_rate; in nsim_get_vf_config()
244 ivi->max_tx_rate = nsim_dev->vfconfigs[vf].max_tx_rate; in nsim_get_vf_config()
245 ivi->vlan = nsim_dev->vfconfigs[vf].vlan; in nsim_get_vf_config()
246 ivi->vlan_proto = nsim_dev->vfconfigs[vf].vlan_proto; in nsim_get_vf_config()
247 ivi->qos = nsim_dev->vfconfigs[vf].qos; in nsim_get_vf_config()
248 memcpy(&ivi->mac, nsim_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
249 ivi->spoofchk = nsim_dev->vfconfigs[vf].spoofchk_enabled; in nsim_get_vf_config()
250 ivi->trusted = nsim_dev->vfconfigs[vf].trusted; in nsim_get_vf_config()
251 ivi->rss_query_en = nsim_dev->vfconfigs[vf].rss_query_enabled; in nsim_get_vf_config()
273 nsim_dev->vfconfigs[vf].link_state = state; in nsim_set_vf_link_state()