On Thu, 23 Mar 2023 11:37:43 +0000 Rory Sexton <rory.sex...@intel.com> wrote:
> From: Rory Sexton <rory.sex...@intel.com> > To: honnappa.nagaraha...@arm.com, konstantin.v.anan...@yandex.ru > Cc: dev@dpdk.org, Rory Sexton <rory.sex...@intel.com> > Subject: [RFC 1/1] ring: add infrastructure to allow callbacks within the > ring library > Date: Thu, 23 Mar 2023 11:37:43 +0000 > X-Mailer: git-send-email 2.34.1 > > 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 <rory.sex...@intel.com> Interesting but there is no current use for this. Adding dead code, just creates more test cases and bloat to DPDK. Could you use tracepoints for this instead.