From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Nagesh Mallappa <mallappanagesh@gmail.com>,
Jeroen de Borst <jeroendb@google.com>,
Rushil Gupta <rushilg@google.com>,
Joshua Washington <joshwash@google.com>
Cc: dev@dpdk.org
Subject: Re: RSS Hash value returned by the gvnic pmd dpdk driver not matching Toeplitz
Date: Thu, 16 May 2024 09:56:22 +0100 [thread overview]
Message-ID: <c86fd8d5-b8c1-4b54-a689-9b6c8828b457@amd.com> (raw)
In-Reply-To: <CABH5nGYTEJweZrockVxuU2YLgjjVi3QTL_0T__jyotxRt5mpSA@mail.gmail.com>
On 5/15/2024 9:20 AM, Nagesh Mallappa wrote:
> Hi Team,
>
> We are using a C3 GCP instance having GVNIC with DPDK enabled.
> We are using latest version of DPDK ( dpdk-24.03 ) to configure RSS key,
> we understand C3 GCP instance with gvnic supports Toeplitz rss algorithm
> ( Reference
> - https://github.com/google/compute-virtual-ethernet-dpdk/blob/main/gve_ethdev.c <https://github.com/google/compute-virtual-ethernet-dpdk/blob/main/gve_ethdev.c> ), but we are hitting below issue.
>
> *Problem Statement - The RSS Hash value returned by the gvnic driver is
> different and is not matching the one computed by Toeplitz.*
>
> Using below script to compute rss hash value from Toeplitz.
> (https://gist.github.com/joongh/16867705b03b49e393cbf91da3cb42a7
> <https://gist.github.com/joongh/16867705b03b49e393cbf91da3cb42a7>)
>
> Consider below data to compute RSS Hash value -
>
> Source IP - 79.124.62.122
> Destination IP - 192.168.7.28
> Source Port - 49442
> Destination Port - 55327
> RSS Key - {0x94e3e97e, 0x4abac401, 0x1e0edbf, 0xe059e1f4, 0xb6e27dff,
> 0xdf55c916, 0xe9e6e4db, 0x1f9fb82c, 0x1e0edbf, 0xe059e1f4}
>
> *Hash Value returned by Toeplitz - 0x8bbafd0f*
>
> Gvnic dpdk pmd driver which uses Toeplitz RSS hash algorithm too is
> expected to compute above RSS Hash value but we see the Hash value
> stored in dpdk mbuf to be 0xc6a15941 which is not right.
> From the DPDK side we have ensured RSS offloading configuration is done
> appropriately, but still we are seeing above mismatch.
>
> We request you to please help us understand why this mismatch is
> happening and is this expected behavior of gvnic on C3 instance.
>
>
+ driver maintainers
prev parent reply other threads:[~2024-05-16 8:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 8:20 RSS Hash value returned by the gvnic pmd dpdk driver not matching Toeplitz Nagesh Mallappa
2024-05-15 15:04 ` Stephen Hemminger
2024-05-15 15:49 ` Nagesh Mallappa
2024-05-15 22:57 ` Stephen Hemminger
2024-05-16 8:18 ` Nagesh Mallappa
2024-05-16 8:56 ` Ferruh Yigit [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c86fd8d5-b8c1-4b54-a689-9b6c8828b457@amd.com \
--to=ferruh.yigit@amd.com \
--cc=dev@dpdk.org \
--cc=jeroendb@google.com \
--cc=joshwash@google.com \
--cc=mallappanagesh@gmail.com \
--cc=rushilg@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.