Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/netdevsim/
Dnetdev.c140 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()
154 nsim_dev->vfconfigs[vf].vlan = vlan; in nsim_set_vf_vlan()
155 nsim_dev->vfconfigs[vf].qos = qos; in nsim_set_vf_vlan()
156 nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()
174 nsim_dev->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate()
175 nsim_dev->vfconfigs[vf].max_tx_rate = max; in nsim_set_vf_rate()
187 nsim_dev->vfconfigs[vf].spoofchk_enabled = val; in nsim_set_vf_spoofchk()
199 nsim_dev->vfconfigs[vf].rss_query_enabled = val; in nsim_set_vf_rss_query_en()
211 nsim_dev->vfconfigs[vf].trusted = val; in nsim_set_vf_trust()
226 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
[all …]
Ddev.c244 struct nsim_vf_config *vfconfigs; in nsim_bus_dev_max_vfs_write() local
269 vfconfigs = kcalloc(val, sizeof(struct nsim_vf_config), in nsim_bus_dev_max_vfs_write()
271 if (!vfconfigs) in nsim_bus_dev_max_vfs_write()
280 swap(nsim_dev->vfconfigs, vfconfigs); in nsim_bus_dev_max_vfs_write()
287 kfree(vfconfigs); in nsim_bus_dev_max_vfs_write()
410 &nsim_dev->vfconfigs[vf_id].min_tx_rate); in nsim_dev_port_debugfs_init()
412 &nsim_dev->vfconfigs[vf_id].max_tx_rate); in nsim_dev_port_debugfs_init()
1187 nsim_dev->vfconfigs[vf_id].min_tx_rate = tx_share; in nsim_leaf_tx_share_set()
1203 nsim_dev->vfconfigs[vf_id].max_tx_rate = tx_max; in nsim_leaf_tx_max_set()
1551 nsim_dev->vfconfigs = kcalloc(nsim_bus_dev->max_vfs, in nsim_drv_probe()
[all …]
Dnetdevsim.h300 struct nsim_vf_config *vfconfigs; member