17 #define MAX_VDPA_NAME_LEN 128
53 int (*dev_close)(
int vid);
72 uint64_t *offset, uint64_t *size);
101 int __rte_experimental
116 int __rte_experimental
130 int __rte_experimental
156 int __rte_experimental
int __rte_experimental rte_vdpa_get_device_num(void)
int(* get_features)(int did, uint64_t *features)
int __rte_experimental rte_vdpa_find_device_id(struct rte_vdpa_dev_addr *addr)
int __rte_experimental rte_vdpa_unregister_device(int did)
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)
int(* set_features)(int vid)
int(* get_vfio_device_fd)(int vid)
int __rte_experimental rte_vdpa_register_device(struct rte_vdpa_dev_addr *addr, struct rte_vdpa_dev_ops *ops)
struct rte_vdpa_dev_addr addr
int(* get_notify_area)(int vid, int qid, uint64_t *offset, uint64_t *size)
#define __rte_cache_aligned
int(* get_vfio_group_fd)(int vid)
struct rte_vdpa_device *__rte_experimental rte_vdpa_get_device(int did)
int(* get_queue_num)(int did, uint32_t *queue_num)