◆ attach_cb
int(* spdk_pci_device_provider::attach_cb) (const struct spdk_pci_addr *addr) |
Callback executed to attach a PCI device on a given address.
- Parameters
-
addr | address of the device. |
- Returns
- 0 if the device was attached successfully, negative errno otherwise.
◆ detach_cb
Callback executed to detach a given PCI device.
The provider to detach the device is selected based on the type of the device and the name of the provider (i.e. dev->type == provider->name).
- Parameters
-
The documentation for this struct was generated from the following file: