272d87b01b
Currently, the flush is done by dequeuing the ring in a while loop. It is much simpler to flush the queue by resetting the head and tail indices. Signed-off-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
27 lines
246 B
Plaintext
27 lines
246 B
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_ring_create;
|
|
rte_ring_dump;
|
|
rte_ring_get_memsize;
|
|
rte_ring_init;
|
|
rte_ring_list_dump;
|
|
rte_ring_lookup;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_2.2 {
|
|
global:
|
|
|
|
rte_ring_free;
|
|
|
|
} DPDK_2.0;
|
|
|
|
EXPERIMENTAL {
|
|
global:
|
|
|
|
rte_ring_reset;
|
|
|
|
};
|