[dpdk-dev] [PATCH v2 18/22] event/dlb2: add PMD's token pop public interface

McDaniel, Timothy timothy.mcdaniel at intel.com
Tue Oct 20 16:12:08 CEST 2020



> -----Original Message-----
> From: Jerin Jacob <jerinjacobk at gmail.com>
> Sent: Sunday, October 18, 2020 4:14 AM
> To: McDaniel, Timothy <timothy.mcdaniel at intel.com>
> Cc: Mcnamara, John <john.mcnamara at intel.com>; Kovacevic, Marko
> <Marko.Kovacevic at intel.com>; Ray Kinsella <mdr at ashroe.eu>; Neil Horman
> <nhorman at tuxdriver.com>; dpdk-dev <dev at dpdk.org>; Carrillo, Erik G
> <Erik.G.Carrillo at intel.com>; Eads, Gage <gage.eads at intel.com>; Van Haaren,
> Harry <harry.van.haaren at intel.com>; Jerin Jacob <jerinj at marvell.com>
> Subject: Re: [dpdk-dev] [PATCH v2 18/22] event/dlb2: add PMD's token pop
> public interface
> 
> On Sat, Oct 17, 2020 at 11:57 PM Timothy McDaniel
> <timothy.mcdaniel at intel.com> wrote:
> >
> > The PMD uses a public interface to allow applications to
> > control the token pop mode. Supported token pop modes are
> > as follows, and they impact core scheduling affinity for
> > ldb ports.
> >
> > AUTO_POP: Pop the CQ tokens immediately after dequeueing.
> > DELAYED_POP: Pop CQ tokens after (dequeue_depth - 1) events
> >              are released. Supported on load-balanced ports
> >              only.
> > DEFERRED_POP: Pop the CQ tokens during next dequeue operation.
> >
> > Signed-off-by: Timothy McDaniel <timothy.mcdaniel at intel.com>
> > ---
> >  doc/api/doxy-api-index.md                         |  1 +
> >  drivers/event/dlb2/dlb2.c                         | 53 ++++++++++++++++--
> >  drivers/event/dlb2/dlb2_priv.h                    |  3 +
> >  drivers/event/dlb2/meson.build                    |  5 +-
> >  drivers/event/dlb2/rte_pmd_dlb2.c                 | 39 +++++++++++++
> >  drivers/event/dlb2/rte_pmd_dlb2.h                 | 68 +++++++++++++++++++++++
> >  drivers/event/dlb2/rte_pmd_dlb2_event_version.map |  6 ++
> >  7 files changed, 168 insertions(+), 7 deletions(-)
> >  create mode 100644 drivers/event/dlb2/rte_pmd_dlb2.c
> >  create mode 100644 drivers/event/dlb2/rte_pmd_dlb2.h
> >
> > diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md
> > index b855a8f..2b2020c 100644
> > --- a/doc/api/doxy-api-index.md
> > +++ b/doc/api/doxy-api-index.md
> > @@ -26,6 +26,7 @@ The public API headers are grouped by topics:
> >    [event_eth_tx_adapter]   (@ref rte_event_eth_tx_adapter.h),
> >    [event_timer_adapter]    (@ref rte_event_timer_adapter.h),
> >    [event_crypto_adapter]   (@ref rte_event_crypto_adapter.h),
> > +  [dlb2]              (@ref rte_pmd_dlb2.h)
> 
> move this under the already existing "- **device specific**:" section.

okay, will do.


More information about the dev mailing list