test/ring: add custom element size functional tests
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Sat, 18 Jan 2020 19:32:44 +0000 (13:32 -0600)
committerDavid Marchand <david.marchand@redhat.com>
Sun, 19 Jan 2020 18:32:50 +0000 (19:32 +0100)
commita9fe152363e283d4c590ab8e8d51396f2ffab9ff
tree379fba4fd669235b064c395ce4895bce6c8c510f
parentcc4b218790f6e91336e51a27f1ee9ce3cc73dd85
test/ring: add custom element size functional tests

Add basic infrastructure to test rte_ring_xxx_elem APIs.
Adjust the existing test cases to test for various ring
element sizes.

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_ring.c
app/test/test_ring.h [new file with mode: 0644]