diff options
author | 2021-10-30 16:15:02 -0700 | |
---|---|---|
committer | 2021-11-01 13:29:41 +0000 | |
commit | 5e388f3dc38c72da2880549e68374c3b6ba7c589 (patch) | |
tree | 7f9299b4a6f2511bb22ad59739bc755ac1f5991c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netdevsim: take rtnl_lock when assigning num_vfs (diff) | |
download | linux-dev-5e388f3dc38c72da2880549e68374c3b6ba7c589.tar.xz linux-dev-5e388f3dc38c72da2880549e68374c3b6ba7c589.zip |
netdevsim: move vfconfig to nsim_dev
When netdevsim got split into the faux bus vfconfig ended
up in the bus device (think pci_dev) which is strange because
it contains very networky not to say netdevy information.
Move it to nsim_dev, which is the driver "priv" structure
for the device.
To make sure we don't race with probe/remove take
the device lock (much like PCI).
While at it remove the NULL-checking of vfconfigs.
It appears to be pointless.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions