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 B8572A00C4; Mon, 7 Nov 2022 19:58:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B5E140156; Mon, 7 Nov 2022 19:58:35 +0100 (CET) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mails.dpdk.org (Postfix) with ESMTP id A2C39400D7 for ; Mon, 7 Nov 2022 19:58:33 +0100 (CET) Received: by mail-ed1-f43.google.com with SMTP id x2so19108077edd.2 for ; Mon, 07 Nov 2022 10:58:33 -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:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=3WybtkH8IEIWxnJl/VfiUsgUYOQsX3wT773zLBAF7F4=; b=Gcxbv/FCqYIhEAbpwRCYAJEvSSxL7GB7/SSTazv1dE9X7VcVBKO7JDcIaPd7teiJkH W3kbmRAHjMY/YmjXcF3WPMfCrhariw8QCrA0uu7X98Kgg24u0VfJWOxhaE//F6aCMuW4 Bg3c3Ba83xmTBVD/Lx/4f3RdlaJ/z8veqsq+499YlhD8hZEXOSqcqu5dqHH7x2xmghJt MX+beiAXCLZ4pbC7VkHFz4iKMU9svw8WjkoJWfC7+m7cLcJuL2PXTdOagYdU+cYXWZrP FOqpd6dmWKsDHk4Nw8+aQfwcUtBF27pqEbh/znjIpqTlVznC7TaGAQ73i4iYgEKX4pX9 rpwQ== 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:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3WybtkH8IEIWxnJl/VfiUsgUYOQsX3wT773zLBAF7F4=; b=OtAklbkEp50RAkzR5l4bw1FCjNV//Jc5IiWkZlkEZOlhYjHmNHBomjJ0WfXfXL2LIl 1NaKoEmu4bXvcVcPSv1Z0ZO296ziOI1bxOfeE48T36fAqv4tNpq4ek4U94cH2v+hvnxJ pErrGPskN2/Bl8zNnhSPkFhmiyHibBPSpBlfEk8Sx4/ktcFD4Pb7GOcaUYCYYwC/wqUR 6Thup8TflERxL5A87QJ3LbDetdwm0jtebeqflWqOf7HdzrHDTRmqp2Ss66/So67vbfRy evh2oDmc56qAMjhm3WB5chTYFhn8IcSI+ERHm2WMj33YATfBVPyJL1YqFYv8yhqBrzl4 618g== X-Gm-Message-State: ACrzQf1HB3t1LBRYmQxRQdf7qEPd+qMdXL8htDxk7930W5H8rR6X+tP9 vMDhFSLFkWibfWZY7eNkl3RCLPPIK2DUizqjvh3b16UMzSA3TQ== X-Google-Smtp-Source: AMsMyM5hciyUEehmVYB8fKz+Y1amZWy0Q5SdE/U6Z2VMRf3h7ycN8q/R6h76p4bT5DVr+5ZhhtFBZ3Dy0K62XQJum1A= X-Received: by 2002:aa7:c648:0:b0:461:d9b4:687e with SMTP id z8-20020aa7c648000000b00461d9b4687emr50992819edr.91.1667847512869; Mon, 07 Nov 2022 10:58:32 -0800 (PST) MIME-Version: 1.0 From: Bili Dong Date: Mon, 7 Nov 2022 10:57:56 -0800 Message-ID: Subject: Question about naive XOR hash in DPDK To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com Content-Type: multipart/alternative; boundary="0000000000008b4f0d05ece60209" 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 --0000000000008b4f0d05ece60209 Content-Type: text/plain; charset="UTF-8" Dear DPDK devs, We are using DPDK as the backend target of a P4 pipeline ( https://github.com/p4lang/p4-dpdk-target). A recent issue we are trying to solve is to support a naive XOR hash (something like this ) in this pipeline. This requires an XOR hash implementation in DPDK. I have the following questions: 1. Is there already an XOR hash implementation in DPDK? I haven't found it myself, but I could have missed it. 2. If it doesn't exist, I'm willing to contribute one, as the implementation is quite straightforward. But I might need your help on where to put the code, as I'm not that familiar with the code organization. Any help would be appreciated! Thanks, Bili --0000000000008b4f0d05ece60209 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear DPDK devs,

We are using DPDK as th= e backend target of a P4 pipeline (https://github.com/p4lang/p4-dpdk-target). A recent issue = we are trying to solve is to support a naive XOR hash (something like this) in thi= s pipeline. This requires an XOR hash implementation in DPDK. I have the fo= llowing questions:
  1. Is there already an XOR hash implement= ation in DPDK? I haven't found it myself, but I could have missed it.
  2. If it doesn't exist, I'm willing to contribute one, as the i= mplementation is quite straightforward. But I might need your help on where= to put the code, as I'm not that familiar=C2=A0with the code organizat= ion.
Any help would be appreciated!

= Thanks,
Bili

--0000000000008b4f0d05ece60209--