ring: fix namespace prefix of inline functions
authorThomas Monjalon <thomas@monjalon.net>
Thu, 23 Jan 2020 08:30:22 +0000 (09:30 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 6 Feb 2020 10:48:32 +0000 (11:48 +0100)
commit03d24a16f722dfe1cbdda5ad4252a7e428b70304
treee1dc9529c51c4434c9a5087812941d9b0f772da4
parentab30f26aaaa025121bdf804152ade031ce9d7c0a
ring: fix namespace prefix of inline functions

When adding custom element size feature, some internal inline functions
were added in a public header without rte_ prefix.
It is fixed by adding __rte_ring_.

Fixes: cc4b218790f6 ("ring: support configurable element size")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_ring/rte_ring_elem.h