|
|
char | name [SPDK_VFU_MAX_NAME_LEN] |
| | Backend emulated PCI device type name.
|
| |
|
void *(* | init )(struct spdk_vfu_endpoint *endpoint, char *basename, const char *endpoint_name) |
| | Initialize endpoint to PCI device with base path.
|
| |
|
int(* | get_device_info )(struct spdk_vfu_endpoint *endpoint, struct spdk_vfu_pci_device *device_info) |
| | Get PCI device information from backend device module.
|
| |
|
uint16_t(* | get_vendor_capability )(struct spdk_vfu_endpoint *endpoint, char *buf, uint16_t buf_len, uint16_t idx) |
| | Get vendor capabilitiy based on ID in PCI configuration space.
|
| |
|
int(* | attach_device )(struct spdk_vfu_endpoint *endpoint) |
| | Attach active connection to the PCI endpoint.
|
| |
|
int(* | detach_device )(struct spdk_vfu_endpoint *endpoint) |
| | Detach the active connection of the PCI endpoint.
|
| |
|
int(* | destruct )(struct spdk_vfu_endpoint *endpoint) |
| | Destruct the PCI endpoint.
|
| |
|
int(* | post_memory_add )(struct spdk_vfu_endpoint *endpoint, void *map_start, void *map_end) |
| | Post-notification to backend module after a new memory region is added.
|
| |
|
int(* | pre_memory_remove )(struct spdk_vfu_endpoint *endpoint, void *map_start, void *map_end) |
| | Pre-notification to backend module before removing the memory region.
|
| |
|
int(* | reset_device )(struct spdk_vfu_endpoint *endpoint) |
| | PCI device reset callback.
|
| |
|
int(* | quiesce_device )(struct spdk_vfu_endpoint *endpoint) |
| | PCI device quiesce callback, after this callback, the backend device module should stopping processing any IOs.
|
| |