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

Stephen Hemminger stephen at networkplumber.org
Tue Oct 31 22:41:46 CET 2023


On Thu, 23 Mar 2023 11:37:43 +0000
Rory Sexton <rory.sexton at intel.com> wrote:

> From: Rory Sexton <rory.sexton at intel.com>
> To: honnappa.nagarahalli at arm.com,  konstantin.v.ananyev at yandex.ru
> Cc: dev at dpdk.org,  Rory Sexton <rory.sexton at 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.sexton at 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.


More information about the dev mailing list