Home
last modified time | relevance | path

Searched refs:vfconfigs (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/netdevsim/
Dnetdev.c90 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()
104 nsim_dev->vfconfigs[vf].vlan = vlan; in nsim_set_vf_vlan()
105 nsim_dev->vfconfigs[vf].qos = qos; in nsim_set_vf_vlan()
106 nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()
124 nsim_dev->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate()
125 nsim_dev->vfconfigs[vf].max_tx_rate = max; in nsim_set_vf_rate()
137 nsim_dev->vfconfigs[vf].spoofchk_enabled = val; in nsim_set_vf_spoofchk()
149 nsim_dev->vfconfigs[vf].rss_query_enabled = val; in nsim_set_vf_rss_query_en()
161 nsim_dev->vfconfigs[vf].trusted = val; in nsim_set_vf_trust()
176 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
[all …]
Ddev.c247 struct nsim_vf_config *vfconfigs; in nsim_bus_dev_max_vfs_write() local
272 vfconfigs = kcalloc(val, sizeof(struct nsim_vf_config), in nsim_bus_dev_max_vfs_write()
274 if (!vfconfigs) in nsim_bus_dev_max_vfs_write()
283 swap(nsim_dev->vfconfigs, vfconfigs); in nsim_bus_dev_max_vfs_write()
290 kfree(vfconfigs); in nsim_bus_dev_max_vfs_write()
413 &nsim_dev->vfconfigs[vf_id].min_tx_rate); in nsim_dev_port_debugfs_init()
415 &nsim_dev->vfconfigs[vf_id].max_tx_rate); in nsim_dev_port_debugfs_init()
1190 nsim_dev->vfconfigs[vf_id].min_tx_rate = tx_share; in nsim_leaf_tx_share_set()
1206 nsim_dev->vfconfigs[vf_id].max_tx_rate = tx_max; in nsim_leaf_tx_max_set()
1556 nsim_dev->vfconfigs = kcalloc(nsim_bus_dev->max_vfs, in nsim_drv_probe()
[all …]
Dnetdevsim.h264 struct nsim_vf_config *vfconfigs; member