DPDK
18.11.11
|
Go to the source code of this file.
Data Structures | |
struct | rte_vdpa_dev_addr |
struct | rte_vdpa_dev_ops |
struct | rte_vdpa_device |
Functions | |
int __rte_experimental | rte_vdpa_register_device (struct rte_vdpa_dev_addr *addr, struct rte_vdpa_dev_ops *ops) |
int __rte_experimental | rte_vdpa_unregister_device (int did) |
int __rte_experimental | rte_vdpa_find_device_id (struct rte_vdpa_dev_addr *addr) |
struct rte_vdpa_device *__rte_experimental | rte_vdpa_get_device (int did) |
int __rte_experimental | rte_vdpa_get_device_num (void) |
Device specific vhost lib
Definition in file rte_vdpa.h.
int __rte_experimental rte_vdpa_register_device | ( | struct rte_vdpa_dev_addr * | addr, |
struct rte_vdpa_dev_ops * | ops | ||
) |
Register a vdpa device
addr | the vdpa device address |
ops | the vdpa device operations |
int __rte_experimental rte_vdpa_unregister_device | ( | int | did | ) |
Unregister a vdpa device
did | vdpa device id |
int __rte_experimental rte_vdpa_find_device_id | ( | struct rte_vdpa_dev_addr * | addr | ) |
Find the device id of a vdpa device
addr | the vdpa device address |
struct rte_vdpa_device* __rte_experimental rte_vdpa_get_device | ( | int | did | ) |
Find a vdpa device based on device id
did | device id |
int __rte_experimental rte_vdpa_get_device_num | ( | void | ) |
Get current available vdpa device number