From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F648A04B0; Sun, 18 Oct 2020 11:14:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C9D1FC92E; Sun, 18 Oct 2020 11:14:02 +0200 (CEST) Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by dpdk.org (Postfix) with ESMTP id 18A40C92C for ; Sun, 18 Oct 2020 11:14:02 +0200 (CEST) Received: by mail-il1-f196.google.com with SMTP id k1so7357031ilc.10 for ; Sun, 18 Oct 2020 02:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nKNU+vIY4vpm7y6fPOIzgTcPEuLVrL+oLK7OaL5o6Cs=; b=Uu8lEoGRm6nVw0LZHUKR6Hg5hiLMweUWwT8sjWtdSuNOgvqrOVLQGI8uRFpGPlxOPF kGNkQkEfEEPDENwB3XmCSiIkxMrl2Q7bFxpvVUVv2g/EdjczcPZCvET2H9ZAltcme83W uZQki0+IM1WCJ/S7pd0D6B8KqHnHrpXaZgsAAeA2jkQYqIxdNF/kIs81hJ6gtfyWEQrP WDnnEc1qinLIHNtlCPWeFVU45uxArcchaFfn2nbzP7kstvCQuOpMcc3kji9SkDISWoQr btDOeU6QGsvaiSbIkg6toK8Xpuu55MFv/gWsDR8JzSxfqfbch7P1ZfGEpxE840+V55z1 5HoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nKNU+vIY4vpm7y6fPOIzgTcPEuLVrL+oLK7OaL5o6Cs=; b=iq83xZSo3oGiMAccFugy5uwUN21Dp7DTTzfZWcwgMUJfDrfKLssAJx0AWpAI9v7wI2 AB7CjSi6ROVy+uKfp9ERhgJqT6v3rXPRMeZLaIoSHc9E5ouQCaeMYAARbQdEDkD4/o9E eDg52TyY2iRqHSZaUtOPQWwkk3efOYnH8+cxLeKeqzM48NaA9IXfX0lY10NTwZ2lGYe0 oarsZj6eU8XcwIoXYaJCSa02WrW3QJknL4giLna2CkddpQFSi6D/koJq3ocHqyNZQXBn KEmg97qapAC6gRhbIHYPzNKot5w2V0rqktMqYICMP9v/P1Q8ohxyjTYvg0UONa8pAhyV DlKw== X-Gm-Message-State: AOAM533clDoQ4jKxlOwVFd+54ZENORt4gaURmPHO8lzjstXPq8tpy02D FAkpxBhkH3VNrMNbjaElP5DbC7aJBO9jPjYLXps= X-Google-Smtp-Source: ABdhPJyAwt2vUjpKKed7kKlOzO6skGRySGnvEHWpL3Cmp6aXUvwSLqrebcxhQBKFWScTfCazsqMUiVZbvhKAoCKPoHE= X-Received: by 2002:a92:1e02:: with SMTP id e2mr7868887ile.294.1603012440361; Sun, 18 Oct 2020 02:14:00 -0700 (PDT) MIME-Version: 1.0 References: <1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com> <1602958879-8558-1-git-send-email-timothy.mcdaniel@intel.com> <1602958879-8558-19-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1602958879-8558-19-git-send-email-timothy.mcdaniel@intel.com> From: Jerin Jacob Date: Sun, 18 Oct 2020 14:43:44 +0530 Message-ID: To: Timothy McDaniel Cc: John McNamara , Marko Kovacevic , Ray Kinsella , Neil Horman , dpdk-dev , Erik Gabriel Carrillo , Gage Eads , "Van Haaren, Harry" , Jerin Jacob Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 18/22] event/dlb2: add PMD's token pop public interface X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, Oct 17, 2020 at 11:57 PM Timothy McDaniel 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 > --- > 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.