29150b70ab
This patch implements the ops rx_queue_count for vhost PMD by adding a helper function rte_vhost_rx_queue_count in vhost lib. The ops rx_queue_count gets vhost RX queue avail count and helps to understand the queue fill level. Signed-off-by: Zhihong Wang <zhihong.wang@intel.com> Acked-by: Ciara Loftus <ciara.loftus@intel.com> Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
55 lines
867 B
Plaintext
55 lines
867 B
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;
|