b13ad2decc
This patch provides two helpers for vdpa device driver to perform a relay between the guest virtio ring and a mediated virtio ring. The available ring relay will synchronize the available entries, and help to do desc validity checking. The used ring relay will synchronize the used entries from mediated ring to guest ring, and help to do dirty page logging for live migration. The later patch will leverage these two helpers. Signed-off-by: Xiao Wang <xiao.w.wang@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
90 lines
1.6 KiB
Plaintext
90 lines
1.6 KiB
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_vhost_dequeue_burst;
|
|
rte_vhost_driver_callback_register;
|
|
rte_vhost_driver_register;
|
|
rte_vhost_enable_guest_notification;
|
|
rte_vhost_enqueue_burst;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_2.1 {
|
|
global:
|
|
|
|
rte_vhost_driver_unregister;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_16.07 {
|
|
global:
|
|
|
|
rte_vhost_avail_entries;
|
|
rte_vhost_get_ifname;
|
|
rte_vhost_get_numa_node;
|
|
rte_vhost_get_queue_num;
|
|
|
|
} DPDK_2.1;
|
|
|
|
DPDK_17.05 {
|
|
global:
|
|
|
|
rte_vhost_driver_disable_features;
|
|
rte_vhost_driver_enable_features;
|
|
rte_vhost_driver_get_features;
|
|
rte_vhost_driver_set_features;
|
|
rte_vhost_driver_start;
|
|
rte_vhost_get_mem_table;
|
|
rte_vhost_get_mtu;
|
|
rte_vhost_get_negotiated_features;
|
|
rte_vhost_get_vhost_vring;
|
|
rte_vhost_get_vring_num;
|
|
rte_vhost_gpa_to_vva;
|
|
rte_vhost_log_used_vring;
|
|
rte_vhost_log_write;
|
|
|
|
} DPDK_16.07;
|
|
|
|
DPDK_17.08 {
|
|
global:
|
|
|
|
rte_vhost_rx_queue_count;
|
|
|
|
} DPDK_17.05;
|
|
|
|
DPDK_18.02 {
|
|
global:
|
|
|
|
rte_vhost_vring_call;
|
|
|
|
} DPDK_17.08;
|
|
|
|
EXPERIMENTAL {
|
|
global:
|
|
|
|
rte_vdpa_register_device;
|
|
rte_vdpa_unregister_device;
|
|
rte_vdpa_find_device_id;
|
|
rte_vdpa_get_device;
|
|
rte_vdpa_get_device_num;
|
|
rte_vhost_driver_attach_vdpa_device;
|
|
rte_vhost_driver_detach_vdpa_device;
|
|
rte_vhost_driver_get_vdpa_device_id;
|
|
rte_vhost_get_vdpa_device_id;
|
|
rte_vhost_driver_get_protocol_features;
|
|
rte_vhost_driver_get_queue_num;
|
|
rte_vhost_get_log_base;
|
|
rte_vhost_get_vring_base;
|
|
rte_vhost_set_vring_base;
|
|
rte_vhost_crypto_create;
|
|
rte_vhost_crypto_free;
|
|
rte_vhost_crypto_fetch_requests;
|
|
rte_vhost_crypto_finalize_requests;
|
|
rte_vhost_crypto_set_zero_copy;
|
|
rte_vhost_va_from_guest_pa;
|
|
rte_vhost_host_notifier_ctrl;
|
|
rte_vdpa_relay_vring_avail;
|
|
rte_vdpa_relay_vring_used;
|
|
};
|