From: Ronak Doshi <doshir@vmware.com>
To: Michal Kubecek <mkubecek@suse.cz>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: Pv-drivers <Pv-drivers@vmware.com>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 net-next 2/4] vmxnet3: add support to get/set rx flow hash
Date: Thu, 28 May 2020 21:09:27 +0000 [thread overview]
Message-ID: <79D16E6B-CCEA-4EEA-ACA6-77AA59FE6B8F@vmware.com> (raw)
In-Reply-To: <20200528201501.q4rta6v2xjxn26ti@lion.mk-sys.cz>
On 5/28/20, 1:15 PM, "Michal Kubecek" <mkubecek@suse.cz> wrote:
> This means that for both TCP and UDP, you have cases where get handler
> will return value which will cause an error if it's fed back to set
> handler. And for UDP, accepted values for set are L3 and L3 | L4 but get
> handler returns 0 or L3 | L4.
>
> So UDP part is wrong and if TCP always hashes by all four fields, it
> would be cleaner to return that information unconditionally, like you do
> e.g. for ESPv6 (with a different value).
>
> Michal
Okay, yes for UDP I should return L3 instead of 0 when rss_fields does not
support UDP RSS. I made these changes to avoid fallthrough, but missed this
part. Also, will remove the check for TCP and pass it unconditionally.
Thanks
next prev parent reply other threads:[~2020-05-28 21:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 18:36 [PATCH v2 net-next 0/4] vmxnet3: upgrade to version 4 Ronak Doshi
2020-05-28 18:36 ` [PATCH v2 net-next 1/4] vmxnet3: prepare for version 4 changes Ronak Doshi
2020-05-28 18:36 ` [PATCH v2 net-next 2/4] vmxnet3: add support to get/set rx flow hash Ronak Doshi
2020-05-28 19:20 ` Michal Kubecek
2020-05-28 19:29 ` Ronak Doshi
2020-05-28 20:15 ` Michal Kubecek
2020-05-28 21:09 ` Ronak Doshi [this message]
2020-05-28 18:36 ` [PATCH v2 net-next 3/4] vmxnet3: add geneve and vxlan tunnel offload support Ronak Doshi
2020-05-28 19:35 ` Jakub Kicinski
2020-05-28 21:18 ` Ronak Doshi
2020-05-28 21:43 ` David Miller
2020-05-28 21:57 ` Ronak Doshi
2020-05-28 18:36 ` [PATCH v2 net-next 4/4] vmxnet3: update to version 4 Ronak Doshi
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=79D16E6B-CCEA-4EEA-ACA6-77AA59FE6B8F@vmware.com \
--to=doshir@vmware.com \
--cc=Pv-drivers@vmware.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®