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 09469A0C41; Sun, 24 Oct 2021 16:43:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5ADF4003E; Sun, 24 Oct 2021 16:43:09 +0200 (CEST) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by mails.dpdk.org (Postfix) with ESMTP id 37B8B4003C for ; Sun, 24 Oct 2021 16:43:08 +0200 (CEST) Received: by mail-ed1-f42.google.com with SMTP id z20so8158639edc.13 for ; Sun, 24 Oct 2021 07:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q5OhmwQPcPdyfCh0xDIgdw2PbBgOOSJ4dnUL5TCgG3Y=; b=Y56SFGli03U/QwcEgCMPBLPv83uMUvs+XQtqAiIJKX1p3Z8rV+6boX2I8fiUXoPjo+ bAjXeEpdUjbsToNoRlnTXt5RQr2/XHy4E/qFWgLn9JSJgEevyCwsBafjL+7fSPVqPZjB mbdm8S+XxPJf6LehBJN1KO75Wgy5CjZ1GeiazQpqBmquO7KclMdCzS4RYcayHlmE4jgj jPo2sJl3DUTSz3L3mouM/wbQJdlef576dYvogXONkawfkFQ4OfETh8ZUoKYD2Tq0EoHq SPVoUHFGoag5ACPPQFDunlKSYKJ2eo9q14HGkVDXwbMjMOkiupO1WttLdgioPEVhD9mZ IP7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q5OhmwQPcPdyfCh0xDIgdw2PbBgOOSJ4dnUL5TCgG3Y=; b=xHz2AUEdbMf5RD1PVxkE17xD4pnXotT8+5FzpXnF0qu1BeZvgMYGPwFDOxIDxfs7hn 4/Tf8lV2JSFk+12jTHRBFmN0I0u+yvRl6Y9HSb5rli3gCUPa1slMY0CEUZajYTe9D29A KvCOSTGDiw0smJVfQydYE/vHSJ8iIDeZHHczb0mFfRQPd0klofgkX4HNNW2b4u5NkyLk gMyeRJza5x6ml2cKoE6lZRtfqyIchIbIE4+qLLsrir/cOzXLSh6K4qIC9mDUqWRZzimW tx8ELC5dZaWGTSBgp9GeAH7WXrDXdCFkTM3VklQ7gKsoeMW2wFBsWTgHkBzLtpK+n1y3 HAog== X-Gm-Message-State: AOAM532d7uXTnqe/abHf40qTVUrjHfK5bjUapFQXLP1ZL3ZeKbN9pSfb 1M8FL+ZUl+MFOcPt903n9Pk0ESxam+Reh9Caqoc= X-Google-Smtp-Source: ABdhPJzQ2XEQHTOeDaIdN0GobWhnPY7QPj7Dd5RZibZs3F/+IMOalqBsvVo5jGEP7iAGLEHDpLqynqPG5nBhMw56EpU= X-Received: by 2002:a17:906:6c85:: with SMTP id s5mr9007775ejr.557.1635086587868; Sun, 24 Oct 2021 07:43:07 -0700 (PDT) MIME-Version: 1.0 References: <1615919077-77774-1-git-send-email-vladimir.medvedkin@intel.com> <20210408085604.7af44b12@hermes.local> <2e137eb7-2a85-50ef-01c8-00a633a1a3d5@intel.com> <4839166.q8lF3qyuoj@thomas> In-Reply-To: <4839166.q8lF3qyuoj@thomas> From: Vladimir Medvedkin Date: Sun, 24 Oct 2021 15:42:52 +0100 Message-ID: To: Thomas Monjalon Cc: "Medvedkin, Vladimir" , Stephen Hemminger , dev , "Ananyev, Konstantin" , "Chilikin, Andrey" , ray.kinsella@intel.com, yipeng1.wang@intel.com, sameh.gobriel@intel.com, Bruce Richardson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v2 0/3] Predictable RSS feature 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" Hi Thomas, =D0=BF=D1=82, 22 =D0=BE=D0=BA=D1=82. 2021 =D0=B3. =D0=B2 22:56, Thomas Monj= alon : > 11/04/2021 20:51, Medvedkin, Vladimir: > > On 08/04/2021 18:56, Stephen Hemminger wrote: > > >> app/test/test_thash.c | 468 +++++++++++++++++++++++++++++++- > > >> lib/librte_hash/meson.build | 3 +- > > >> lib/librte_hash/rte_thash.c | 637 > ++++++++++++++++++++++++++++++++++++++++++++ > > >> lib/librte_hash/rte_thash.h | 180 +++++++++++++ > > >> lib/librte_hash/version.map | 8 + > > >> 5 files changed, 1289 insertions(+), 7 deletions(-) > > >> create mode 100644 lib/librte_hash/rte_thash.c > > > > > > It would be good to show how this could be used in an application. > > > Maybe yet another variant/flag to l3fwd example. > > > > Agree, I think it would be great to have a simple NAT implementation in > > examples. We've discussed this and will probably add in next releases. > > Vladimir, any update please? > Could you provide it in 21.11? > > > > It won't go in 21.11. The prioritization was done in favour of the vectorized implementation of the Toeplitz hash function, the scalar implementation takes about 200 cycles for a 12 byte tuple, which affects on a connections per second performance of the NAT example. The new implementation is about 20 times faster. --=20 Regards, Vladimir