19 #define MAX_VDPA_NAME_LEN 128
55 int (*dev_close)(
int vid);
74 uint64_t *offset, uint64_t *size);
int(* get_features)(int did, uint64_t *features)
int(* set_vring_state)(int vid, int vring, int state)
struct rte_vdpa_dev_ops * ops
int(* get_protocol_features)(int did, uint64_t *protocol_features)
int(* migration_done)(int vid)
__rte_experimental struct rte_vdpa_device * rte_vdpa_get_device(int did)
__rte_experimental int rte_vhost_host_notifier_ctrl(int vid, bool enable)
int(* set_features)(int vid)
__rte_experimental int rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m)
int(* get_vfio_device_fd)(int vid)
__rte_experimental int rte_vdpa_unregister_device(int did)
#define __rte_cache_aligned
struct rte_vdpa_dev_addr addr
int(* get_notify_area)(int vid, int qid, uint64_t *offset, uint64_t *size)
int(* get_vfio_group_fd)(int vid)
__rte_experimental int rte_vdpa_register_device(struct rte_vdpa_dev_addr *addr, struct rte_vdpa_dev_ops *ops)
__rte_experimental int rte_vdpa_find_device_id(struct rte_vdpa_dev_addr *addr)
int(* get_queue_num)(int did, uint32_t *queue_num)
__rte_experimental int rte_vdpa_get_device_num(void)