Re: [dpdk-dev] [RFC v6 0/6] lib/ring: APIs to support custom element size

2019-10-23 Thread Olivier Matz
Hi Honnappa, On Sun, Oct 20, 2019 at 07:22:54PM -0500, Honnappa Nagarahalli wrote: > The current rte_ring hard-codes the type of the ring element to 'void *', > hence the size of the element is hard-coded to 32b/64b. Since the ring > element type is not an input to rte_ring APIs, it results in cou

[dpdk-dev] [RFC v6 0/6] lib/ring: APIs to support custom element size

2019-10-20 Thread Honnappa Nagarahalli
The current rte_ring hard-codes the type of the ring element to 'void *', hence the size of the element is hard-coded to 32b/64b. Since the ring element type is not an input to rte_ring APIs, it results in couple of issues: 1) If an application requires to store an element which is not 64b, it