Re: [RFC 1/1] ring: add infrastructure to allow callbacks within the ring library

2023-10-31 Thread Stephen Hemminger
On Thu, 23 Mar 2023 11:37:43 + Rory Sexton wrote: > From: Rory Sexton > To: honnappa.nagaraha...@arm.com, konstantin.v.anan...@yandex.ru > Cc: dev@dpdk.org, Rory Sexton > Subject: [RFC 1/1] ring: add infrastructure to allow callbacks within the > ring library > Date

[RFC 1/1] ring: add infrastructure to allow callbacks within the ring library

2023-03-23 Thread Rory Sexton
Adding initial code to give a feel for what it would look like if callbacks were supported by the ring dequeue functions within the ring library. They could be optionally compiled in/out as required. Signed-off-by: Rory Sexton --- lib/ring/rte_ring.h | 133 ++