From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 179B8C433FE for ; Fri, 21 Oct 2022 20:05:31 +0000 (UTC) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3EE5400D6; Fri, 21 Oct 2022 22:05:29 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 052BC40042 for ; Fri, 21 Oct 2022 22:05:27 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id j12so3308636plj.5 for ; Fri, 21 Oct 2022 13:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=cTs4vNPDE52iDOJWQAwPS82eALQFsse7T/7G0yK/1Xc=; b=TO5DlJDQU1QVSsrpLKIQ3CO5sacVB602LdYJqVs/sM/+WnJPOZFktQqFZb7NHY18s/ KlTu2+v9FAEFBFlOp8sWXX5usycJkSBEjwoNjoJ083zJ/ogzq6VyLA8FGpPTcgbeqEwM 0Fb9hAbQ2wLBJwpy0pF0sdu3eTBwhgE8dq9+HeMuXqQkG9TZePaQMln4QhB0PudEZ0Hi KLQXX+/UrP9r6hU8Ad+gDvCSDeLJksGI6/fznJkKYrlQtpQcLoeVaqCL7ZlZw+osKmym QUAmeAjznItbWA1fzPFOWBrIjoZ1nI5B7PWJ8faM/HKrCf3fjvvF3acShQvoDtxKzdF7 wd9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cTs4vNPDE52iDOJWQAwPS82eALQFsse7T/7G0yK/1Xc=; b=3t1B7/YK9v8wF0FgJ3AInEi+XFYvp4EuUG7bfwjEU+Q49dd5MP7Z8Q14xO1jSPayaq +sjHP6bUigJRXOCOatgj48ZX0ilqAAmQJI/r3qtEonidLA0RnTKLTiq+6y7P3fGDq9SB MZw7x8/HGEJOJ5y/zbMwcWWnlPRkANh3W4Mgn1AMFxYTcs04gqb2ivEnreVSKR7x3wp+ ywPRyGOJDzRH3wdBB80CyOeKwiHsRY3+2N6kxQPphkF2KepDoTuMv+2zOFH5JlVKJGn1 ny+Bz31LJ9Ov+rxsuVN5RpBaWAFb6XPNbB35fQCAgDpbVsjPSUx/kljV5rL0rZjKeWUN wfbQ== X-Gm-Message-State: ACrzQf3lM6G/wgCgLcxzaKMw8Ycq94wCAXPr99rvikdYChHHwn5qXRyf /GA9zpGE7p2In0layr8QSFBcrsbeCFMYFA== X-Google-Smtp-Source: AMsMyM6i1vTJroR1IIYuRjn7TOl81RmEeIse7WSNXp1vRURkpa304NJ+4k8ESTgTRe3yRzQ8hYUajw== X-Received: by 2002:a17:902:ce11:b0:172:6f2c:a910 with SMTP id k17-20020a170902ce1100b001726f2ca910mr21426601plg.156.1666382726968; Fri, 21 Oct 2022 13:05:26 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d48300b00178b6ccc8a0sm15227673plg.51.2022.10.21.13.05.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 13:05:26 -0700 (PDT) Date: Fri, 21 Oct 2022 13:05:25 -0700 From: Stephen Hemminger To: dev@dpdk.org Subject: Re: [RFC] pcapng: record received RSS hash in pcap file Message-ID: <20221021130525.46732044@hermes.local> In-Reply-To: <20220726213618.142173-1-stephen@networkplumber.org> References: <20220726213618.142173-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 26 Jul 2022 14:36:19 -0700 Stephen Hemminger wrote: > There is an option for recording RSS hash with packets in the > pcapng standard. This implements this for all received packets. > > There is a corner case that can not be addressed with current > DPDK API's. If using rte_flow() and some hardware it is possible > to write a flow rule that uses another hash function like XOR. > But there is no API that records this, or provides the algorithm > info on a per-packet basis. > > The current version of wireshark does not display the recorded > hash option. But if we build it they will come. Support for displaying RSS hash in record has been merged into Wireshark for 4.1 release. Could this please be acked and merged.