All of lore.kernel.org
 help / color / mirror / Atom feed
From: Venkat Duvvuru <VenkatKumar.Duvvuru@Emulex.com>
To: <ben@decadent.org.uk>
Cc: <netdev@vger.kernel.org>,
	Venkat Duvvuru <VenkatKumar.Duvvuru@Emulex.com>
Subject: [PATCH v7 ethtool 0/2] patchset - Support for configurable RSS hash key
Date: Tue, 22 Jul 2014 17:51:05 +0530	[thread overview]
Message-ID: <e8020e05-df87-4251-90b1-cbaf53296631@CMEXHTCAS1.ad.emulex.com> (raw)

NIC drivers that support RSS use either a hard-coded value or a random value
for the RSS hash key. Irrespective of the type of the key used, the user
would want to change the hash key if he/she is not satisfied with the
effectiveness of the default hash-key in spreading the incoming flows evenly
across the RSS queues.

This patch set adds support for configuring the RSS hash-key via the ethtool
interface using -X/-x option.

v7:
1. Changed rss string to RSS to be consistent with other parts of the error codes
   and documentation.
2. Corrected a few error messages
3. Changed error codes to use either 1 or 2 based on the situation
4. Added test cases in test-cmdline.c

Venkat Duvvuru (2):
  ethtool: Support for configurable RSS hash key.
  ethtool: Support for configurable RSS hash key.

 ethtool-copy.h |  478 ++++++++++++++++++++++++++++++++++++++++++--------------
 ethtool.8.in   |   18 ++-
 ethtool.c      |  393 +++++++++++++++++++++++++++++++++++++++--------
 test-cmdline.c |   11 ++
 4 files changed, 717 insertions(+), 183 deletions(-)

             reply	other threads:[~2014-07-22 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 12:21 Venkat Duvvuru [this message]
2014-07-31  7:43 ` [PATCH v7 ethtool 0/2] patchset - Support for configurable RSS hash key Venkat Duvvuru
2014-08-11  7:02   ` Ivan Vecera
2014-09-17  8:55     ` Ivan Vecera

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=e8020e05-df87-4251-90b1-cbaf53296631@CMEXHTCAS1.ad.emulex.com \
    --to=venkatkumar.duvvuru@emulex.com \
    --cc=ben@decadent.org.uk \
    --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 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.