Searched refs:vfconfigs (Results 1 – 2 of 2) sorted by relevance
62 ns->vfconfigs = kcalloc(num_vfs, sizeof(struct nsim_vf_config), in nsim_vfs_enable()64 if (!ns->vfconfigs) in nsim_vfs_enable()73 kfree(ns->vfconfigs); in nsim_vfs_disable()74 ns->vfconfigs = NULL; in nsim_vfs_disable()344 memcpy(ns->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()357 ns->vfconfigs[vf].vlan = vlan; in nsim_set_vf_vlan()358 ns->vfconfigs[vf].qos = qos; in nsim_set_vf_vlan()359 ns->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()371 ns->vfconfigs[vf].min_tx_rate = min; in nsim_set_vf_rate()372 ns->vfconfigs[vf].max_tx_rate = max; in nsim_set_vf_rate()[all …]
83 struct nsim_vf_config *vfconfigs; member