diff options
author | Shannon Nelson <[email protected]> | 2023-04-19 10:04:23 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-04-21 08:29:13 +0100 |
commit | 4569cce43bc61e4cdd76597a1cf9b608846c18cc (patch) | |
tree | 872165355173e782a83d21332f52c580a9a51964 /drivers/usb/cdns3/cdns3-debug.h | |
parent | f53d93110aa526ad3df628ad6d9f672c7d5ae285 (diff) |
pds_core: add auxiliary_bus devices
An auxiliary_bus device is created for each vDPA type VF at VF
probe and destroyed at VF remove. The aux device name comes
from the driver name + VIF type + the unique id assigned at PCI
probe. The VFs are always removed on PF remove, so there should
be no issues with VFs trying to access missing PF structures.
The auxiliary_device names will look like "pds_core.vDPA.nn"
where 'nn' is the VF's uid.
Signed-off-by: Shannon Nelson <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions