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 CBACD41CF2; Tue, 21 Feb 2023 02:38:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D3DB43109; Tue, 21 Feb 2023 02:38:43 +0100 (CET) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) by mails.dpdk.org (Postfix) with ESMTP id 4893640E5A for ; Tue, 21 Feb 2023 02:38:42 +0100 (CET) Received: by mail-ed1-f47.google.com with SMTP id h32so11410356eda.2 for ; Mon, 20 Feb 2023 17:38:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ybLlM105/jqNg/FXRkiJFRvcBxGvbqbMIPkjwK3MXTU=; b=h4bcHCC6eN01JiVu0LAzWa7uKXIshPeHdBeRX2vvQqss2OXj8NTPXkZjR+ROWhEF8I F2bprHrhsxm0Xqs+qo0Nx7IadGPN5kaIon+JlwbeIcNcbNbRAQHFSVblYw9egWjOy9Wh jQ+1IcuKNPavkyO51UJ/LvfrWaX9BBbLv9Je8QP7Y5GsYFjxm5chN7+qoBKQSDn1Kv3T 6+KQzI7wjem4+16e30XjhIm1WUlzPFPF05RMq4lP4263aeiFnqO4sBYnSL1GFnfCQ6bq TzPu4pIHAoQNVFltKUfG33l/Jo+ESjDs56PYzG8KhRL23Mn5FwlNBYYn3R66CVG9grKC 7QRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ybLlM105/jqNg/FXRkiJFRvcBxGvbqbMIPkjwK3MXTU=; b=ETkuvU6rxFCU+UwxKlMW59BqMyDx3IZeDaT1Xvj/4GWxvOu2iLRqLSJNh80nKV65ZZ 5dGVknHhjkOJGZUprHsHukugSZLTTFylN18Fd84lLOyxOR2TmPmmXYn2NmysDA2Uie/P G5oftmIn70Xnvm7iX/XLEx5O+WUHnbcvydZ9y679D8xGThESozoQjDxne0lh0r7/HAXJ YZ1CQvC+HqP7+pOno/BJNYt8OKJFWOcG14gnRp2eSw6tVwNLe2IYOScq9GYtd/w4d22L l8uNB8MByC3+dTGV80Ncg5CUqOmHk940i4Yh/rTxPmDbK3Rm2k+ASBNGPhKYWsEFV6pR n0Ug== X-Gm-Message-State: AO0yUKWWwNQG68j3Wv9XEsGXnPvM8RLUHeq4fQv/60qtKaoXV8+ioG7u 6u3hAypJxzO7V9uQ1GPMCQXpbhvzJoh2wA4KLXo= X-Google-Smtp-Source: AK7set+dIdfWX3zPGshcB4lh5FyfuL7N4/MdBieFJk+R8wexibhPMd6kvJPgXR5IZtN3i2SXzSJDYDBxMZXk4DhiKBc= X-Received: by 2002:a17:906:cc92:b0:879:5db8:8bb2 with SMTP id oq18-20020a170906cc9200b008795db88bb2mr3192675ejb.7.1676943521785; Mon, 20 Feb 2023 17:38:41 -0800 (PST) MIME-Version: 1.0 References: <20230215105442.3878441-1-qobilidop@gmail.com> <20230215110630.3885175-1-qobilidop@gmail.com> <20230220150406.6976f434@hermes.local> In-Reply-To: <20230220150406.6976f434@hermes.local> From: Bili Dong Date: Mon, 20 Feb 2023 17:38:30 -0800 Message-ID: Subject: Re: [PATCH v3] hash: add XOR32 hash function To: Stephen Hemminger Cc: "Dumitrescu, Cristian" , "Gobriel, Sameh" , "Medvedkin, Vladimir" , "Richardson, Bruce" , "Wang, Yipeng1" , "dev@dpdk.org" , "thomas@monjalon.net" Content-Type: multipart/alternative; boundary="000000000000ecac2705f52bd6d6" 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 --000000000000ecac2705f52bd6d6 Content-Type: text/plain; charset="UTF-8" Thanks, I'll check it out. On Mon, Feb 20, 2023 at 3:04 PM Stephen Hemminger < stephen@networkplumber.org> wrote: > On Mon, 20 Feb 2023 12:44:06 -0800 > Bili Dong wrote: > > > Hi Cristian, > > > > I agree the 64-bit version could enable better performance, and I will do > > it in the next version. > > > > Same optimizations as ipv4 checksum probably apply. > Aligning data, and duffs device, etc. > > You might even be able to use vector instructions > > --000000000000ecac2705f52bd6d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I'll check it out.

On Mon, Feb 20, 2023 at 3:04 PM Ste= phen Hemminger <stephen@ne= tworkplumber.org> wrote:
On Mon, 20 Feb 20= 23 12:44:06 -0800
Bili Dong <qobi= lidop@gmail.com> wrote:

> Hi Cristian,
>
> I agree the 64-bit version could enable better performance, and I will= do
> it in the next version.
>

Same optimizations as ipv4 checksum probably apply.
Aligning data, and duffs device, etc.

You might even be able to use vector instructions

--000000000000ecac2705f52bd6d6--