Jakub Kicinski 5e388f3dc3 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>
2021-11-01 13:29:41 +00:00
..
2021-10-22 10:16:09 -07:00
2021-10-08 11:57:54 -07:00
2021-10-22 10:16:14 -07:00
2021-10-09 11:55:01 +01:00
2021-10-22 10:16:18 -07:00
2021-10-28 16:29:15 +03:00
2021-10-09 11:55:01 +01:00
2021-10-09 11:55:01 +01:00