[dpdk-dev] [PATCH v1 1/2] lib/ring: add enqueue-dequeue callabck

Varghese, Vipin vipin.varghese at intel.com
Mon Jun 10 07:14:01 CEST 2019


> -----Original Message-----
> From: Richardson, Bruce
> Sent: Friday, June 7, 2019 3:01 PM
> To: Stephen Hemminger <stephen at networkplumber.org>
> Cc: Varghese, Vipin <vipin.varghese at intel.com>; olivier.matz at 6wind.com;
> Pattan, Reshma <reshma.pattan at intel.com>; Wiles, Keith
> <keith.wiles at intel.com>; dev at dpdk.org; Padubidri, Sanjay A
> <sanjay.padubidri at intel.com>
> Subject: Re: [dpdk-dev] [PATCH v1 1/2] lib/ring: add enqueue-dequeue callabck
> 
> On Thu, Jun 06, 2019 at 12:49:27PM -0700, Stephen Hemminger wrote:
> > On Fri,  7 Jun 2019 00:03:54 +0530
> > Vipin Varghese <vipin.varghese at intel.com> wrote:
> >
> > > Add callback event handler for enqueue dequeue operation on ring.
> > > The pre-enqueue and post-dequeue operation on ring is selected to
> > > invoke user callback handler.
> > >
> > > Signed-off-by: Vipin Varghese <vipin.varghese at intel.com>
> > > ---
> >
> > NAK
> > What is the use case for this? Rings are one of the most used elements
> > of DPDK and anything like this will have performance impact.
> >
> > And as DPDK goes to more of distribution model, all features have to
> > be enabled.
> >
> To add callback handlers to a ring, I'd suggest wrapping the ring as an ethdev
> using the ring pmd, and then using the ethdev callbacks.

Thanks Bruce, I will check the same and get back.

> 
> /Bruce


More information about the dev mailing list