From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D064AA034F; Sun, 21 Mar 2021 12:10:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD0AB40042; Sun, 21 Mar 2021 12:10:22 +0100 (CET) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by mails.dpdk.org (Postfix) with ESMTP id A541D40041 for ; Sun, 21 Mar 2021 12:10:21 +0100 (CET) Received: by mail-io1-f42.google.com with SMTP id z3so10903060ioc.8 for ; Sun, 21 Mar 2021 04:10:21 -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=0BXgosMawfxhhfF1KyrzmFPQaCMINz3EHUYKYRqqC1g=; b=CeOqgTZyBfHTtgDF7E57HODsF+TBKRDwK5RbDecT5AAmBPA4hnnW31E6ZLwm4t5583 vlH3hU64T2naOE46qBJ4ZYkv1OvS8PRhWD6n64GIaPbwvEOUt2jyU/ccZ47Jfip/qrze hJlDkBxsDPbgctOeg8Ln60NZWGXUaGekE7Wzkh2ISMkEFrMWIwzEgqN2qkRToKoMudoX NqK8Z6hvo4j3jaMW/hYzcTiWmmR2faR52NBKPqgBKJ5R31Cm69dMChLTAph/sG94WenO z39orufj+qxlDA2RncSGfd3x8a7+kMjT4WYjMzo4/31jN3II9KM4RUbzqrJAPvqHILcu JqmQ== 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=0BXgosMawfxhhfF1KyrzmFPQaCMINz3EHUYKYRqqC1g=; b=nM9UQKR/io41b56qv7FatuTwfQbHdKm3gdwBQBBmhAvPj+Ygn+XggPf0yiUns/ngiw bGcnjTQZDLk9XirsIXp6uOkUnsFH5RoPlQoG1ebho9w1Ee00gkt8qggMO2IGdqxL2fzl rHb8qS0NUw6ShXJG75HujrtCTyiRSGRIcxCBQJxjpP8310OIk5BfB/YDAa/dTWva5FWj 00sf1Ye+B+KWxuIEK02HVe5m+8mjsbgrFvyQ6QtAdwr8RhB53yiKKDt9tUny2lghlVj4 g9QRSl25+19/+du0Cnd/gjMh0e66Pw9Rnzul8KIQSDyMvDS7C/Z9WaX3srpH+uOzYdyc 71ww== X-Gm-Message-State: AOAM533QZloH19ii/45gZd0AeTRlsxcoP6mhARgaJeAd/xQ436xGgSNi sP+27IKi/FGl7MTDtsLeaCjNr1GEh0PB2GqmuvM= X-Google-Smtp-Source: ABdhPJySpzBZ7rI9KZ4gmktFR1vtCOiFQfKxSphiNzNaqI75j/Q0gnFte6Rb1kvNaDcNgBINlPk0ax8CFvmyHEUT5R4= X-Received: by 2002:a02:7f0e:: with SMTP id r14mr7320322jac.112.1616325021039; Sun, 21 Mar 2021 04:10:21 -0700 (PDT) MIME-Version: 1.0 References: <1616000564-16404-1-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1616000564-16404-1-git-send-email-timothy.mcdaniel@intel.com> From: Jerin Jacob Date: Sun, 21 Mar 2021 16:40:05 +0530 Message-ID: To: Timothy McDaniel Cc: Bruce Richardson , dpdk-dev , Jerin Jacob , "Van Haaren, Harry" , Ray Kinsella , Neil Horman , Nikhil Rao , Erik Gabriel Carrillo , "Gujjar, Abhinandan S" , Pavan Nikhilesh , Hemant Agrawal , =?UTF-8?Q?Mattias_R=C3=B6nnblom?= , Peter Mccarthy Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] event/dlb2: Optimize Dequeue Operations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Wed, Mar 17, 2021 at 10:33 PM Timothy McDaniel wrote: > > Convert code to use x86 vector instructions, thereby significantly > improving dequeue performance. > > Signed-off-by: Timothy McDaniel > --- > config/rte_config.h | 1 + > drivers/event/dlb2/dlb2.c | 607 ++++++++++++++++++++++++++++++++++++---- > drivers/event/dlb2/dlb2_priv.h | 19 +- > 3 files changed, 574 insertions(+), 53 deletions(-) > > diff --git a/config/rte_config.h b/config/rte_config.h > index aedb68c..133ca35 100644 > --- a/config/rte_config.h > +++ b/config/rte_config.h > @@ -144,5 +144,6 @@ > #undef RTE_LIBRTE_PMD_DLB2_QUELL_STATS > #define RTE_LIBRTE_PMD_DLB2_SW_CREDIT_QUANTA 32 > #define RTE_PMD_DLB2_DEFAULT_DEPTH_THRESH 256 > +#define RTE_LIBRTE_PMD_DLB2_VECTOR_CODE 1 This is not required. Please expose as devargs option.