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

2020-01-19 Thread David Marchand
On Sat, Jan 18, 2020 at 8:33 PM 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 couple > of issues: > >

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

2020-01-18 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