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 7FD6FA00C5; Thu, 27 Oct 2022 10:29:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E3BD42B73; Thu, 27 Oct 2022 10:29:36 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 6DC0B4280C for ; Thu, 27 Oct 2022 10:29:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666859373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MPXW9VKbsL9ar1aX3DGdFwgUowOH9Nc+W7lSdJI+FL8=; b=Mq4ZHUn7g1j01G1w9KDTSYmtHESC3uNzNXoZ4zYkYT7Cn0v33IwPwNKLDqPIJ1Ruc4m4HJ XFtbxwlN3s2beKDaX5E4RMUdbpX8Y1sYSBoJh2VSLJYFjYSZnsom9Rl2eo4sEzAeSDwF6R hX9ZKUiPE3Z50PwH5TWg2m2QTj7Z4Mc= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-367-H_WWabutNhyvL-d9Xy73zg-1; Thu, 27 Oct 2022 04:29:32 -0400 X-MC-Unique: H_WWabutNhyvL-d9Xy73zg-1 Received: by mail-pj1-f71.google.com with SMTP id o15-20020a17090aac0f00b00212e93524c0so3219112pjq.2 for ; Thu, 27 Oct 2022 01:29:32 -0700 (PDT) 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=MPXW9VKbsL9ar1aX3DGdFwgUowOH9Nc+W7lSdJI+FL8=; b=ji1ny+MfAirCDXfkaDrOMvrRn3Evtq3o061Gi2lkhQLnCLjkjoGRf2QEiWRkjeF+a0 IdcJT3cWb2pDKLE+dS1eI4/pdojq20bBhUzdTal3oH+2m9sXu6+QeeL7u/Fag1lKJ/im PCQSfsexWoSIFlGcBrbXf3f7MuyDOt/tmvvMXB7YzgQdNrQ8DieNKESPuO8FGv8/3zpv EML7uQPOnKR0CO1p8aUazz3dSac/yDyrD1BVZVmvJT7zJ2rNg4PwZ/V276E/1mooopaS bukWSX2d2E3qSQ32lvNmhevrnVfbokJd4GaOqbO2f9w9pPWCx2cfJolEho7OXvU0EIBh h2Og== X-Gm-Message-State: ACrzQf1XcJWHEHMmQmjyWC9+/Nolorz+uLJt+NyzWcq6D7HcsE16lbed q2Xpj4fZEMYBKHL2mvlG196sOUGxFikASfKRfklD/KiPEqM/IO4n3Vq2m3smnGXHsRPXl0jDlcw YETpzp1EsWRpJpRYkQNc= X-Received: by 2002:aa7:8b46:0:b0:56c:349f:191e with SMTP id i6-20020aa78b46000000b0056c349f191emr10616173pfd.29.1666859371829; Thu, 27 Oct 2022 01:29:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4EyszN5Fu0b9Kxkm97d7OWGnVrtosPLuviUxIdHikIPP3MFaOrIEEHoX/SA5MVlANXtJZTKnWPZ5SvApSWjtg= X-Received: by 2002:aa7:8b46:0:b0:56c:349f:191e with SMTP id i6-20020aa78b46000000b0056c349f191emr10616166pfd.29.1666859371538; Thu, 27 Oct 2022 01:29:31 -0700 (PDT) MIME-Version: 1.0 References: <20220726213618.142173-1-stephen@networkplumber.org> In-Reply-To: <20220726213618.142173-1-stephen@networkplumber.org> From: David Marchand Date: Thu, 27 Oct 2022 10:29:20 +0200 Message-ID: Subject: Re: [RFC] pcapng: record received RSS hash in pcap file To: Stephen Hemminger Cc: dev@dpdk.org, koncept1@gmail.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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, Jul 26, 2022 at 11:37 PM 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. I updated the commitlog adding some info about "yet to be released 4.1" wireshark. > > Signed-off-by: Stephen Hemminger Tested-by: Ben Magistro Applied, thanks. -- David Marchand