[dpdk-dev] [PATCH v2 18/22] event/dlb2: add PMD's token pop public interface
Jerin Jacob
jerinjacobk at gmail.com
Sun Oct 18 11:13:44 CEST 2020
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.
More information about the dev
mailing list