From: Ben Hutchings <ben@decadent.org.uk>
To: Amir Vadai <amirv@mellanox.com>
Cc: netdev <netdev@vger.kernel.org>,
Or Gerlitz <ogerlitz@mellanox.com>, Tal Alon <talal@mellanox.com>,
Eyal Perry <eyalpe@mellanox.com>
Subject: Re: [PATCH net V1] ethtool: Support for configurable RSS hash function
Date: Sun, 31 May 2015 21:06:01 +0100 [thread overview]
Message-ID: <1433102761.6319.111.camel@decadent.org.uk> (raw)
In-Reply-To: <CAPcc5PigfcBCZV=z+Q15+0xBXh_GEyGEz6RASPCXtQvTXadP0w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]
On Tue, 2015-05-05 at 18:48 +0300, Amir Vadai wrote:
> On Mon, Apr 27, 2015 at 2:22 PM, Amir Vadai <amirv@mellanox.com> wrote:
> > From: Eyal Perry <eyalpe@mellanox.com>
> >
> > This ethtool patch adds support to set and get the current RSS hash
> > function for the device through through the new hfunc field in the
> > ethtool_rxfh struct. Kernel supported hash function names are queried
> > with ETHTOOL_GSTRINGS (value 0 is reserved and skipped).
> >
> > Although currently no device supports a combination of hash
> > functions/attributes, this ethtool implementation will support it. Both in the
> > set and in the get.
> > The device driver declares the functions and/or attributes that it supports,
> > and ethtool will show it correctly and enable the user to set those
> > combinations.
> > If a combination is not supported - the device driver will fail the operation
> > and ethtool will print an error message.
> >
> > Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
> > Signed-off-by: Amir Vadai <amirv@mellanox.com>
> > ---
> > Changes from V1:
> > - Fixed some English mistakes
> > - Fixed the complicated way to write '= req_hfunc;'...
> > - Better support in combination of hash functions/attributes
>
> Ben Hi,
>
> Could you take a look at this patch?
Didn't we agree that only one hash function should be selected at once?
Can you send a new version that implements that?
Ben.
--
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2015-05-31 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 11:22 [PATCH net V1] ethtool: Support for configurable RSS hash function Amir Vadai
2015-05-05 15:48 ` Amir Vadai
2015-05-31 20:06 ` Ben Hutchings [this message]
2015-06-02 6:31 ` Amir Vadai
2015-07-09 13:41 ` Amir Vadai
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=1433102761.6319.111.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=amirv@mellanox.com \
--cc=eyalpe@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=talal@mellanox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).