DPDK
19.11.14
|
#include <rte_vdpa.h>
Data Fields | |
int(* | get_queue_num )(int did, uint32_t *queue_num) |
int(* | get_features )(int did, uint64_t *features) |
int(* | get_protocol_features )(int did, uint64_t *protocol_features) |
int(* | dev_conf )(int vid) |
int(* | set_vring_state )(int vid, int vring, int state) |
int(* | set_features )(int vid) |
int(* | migration_done )(int vid) |
int(* | get_vfio_group_fd )(int vid) |
int(* | get_vfio_device_fd )(int vid) |
int(* | get_notify_area )(int vid, int qid, uint64_t *offset, uint64_t *size) |
void * | reserved [5] |
vdpa device operations
Definition at line 47 of file rte_vdpa.h.
int(* get_queue_num) (int did, uint32_t *queue_num) |
Get capabilities of this device
Definition at line 49 of file rte_vdpa.h.
int(* get_features) (int did, uint64_t *features) |
Get supported features of this device
Definition at line 52 of file rte_vdpa.h.
int(* get_protocol_features) (int did, uint64_t *protocol_features) |
Get supported protocol features of this device
Definition at line 55 of file rte_vdpa.h.
int(* dev_conf) (int vid) |
Driver configure/close the device
Definition at line 58 of file rte_vdpa.h.
int(* set_vring_state) (int vid, int vring, int state) |
Enable/disable this vring
Definition at line 62 of file rte_vdpa.h.
int(* set_features) (int vid) |
Set features when changed
Definition at line 65 of file rte_vdpa.h.
int(* migration_done) (int vid) |
Destination operations when migration done
Definition at line 68 of file rte_vdpa.h.
int(* get_vfio_group_fd) (int vid) |
Get the vfio group fd
Definition at line 71 of file rte_vdpa.h.
int(* get_vfio_device_fd) (int vid) |
Get the vfio device fd
Definition at line 74 of file rte_vdpa.h.
int(* get_notify_area) (int vid, int qid, uint64_t *offset, uint64_t *size) |
Get the notify area info of the queue
Definition at line 77 of file rte_vdpa.h.
void* reserved[5] |
Reserved for future extension
Definition at line 81 of file rte_vdpa.h.