netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Laura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
Cc: netdev@vger.kernel.org, carolyn.wyborny@intel.com,
	anjali.singhai@intel.com, alexander.h.duyck@intel.com
Subject: Re: [PATCH 2/2 v2] igb: Expose RSS indirection table for ethtool
Date: Wed, 31 Jul 2013 05:13:22 -0700	[thread overview]
Message-ID: <1375272802.2877.35.camel@jtkirshe-mobl> (raw)
In-Reply-To: <1375271273-20122-2-git-send-email-laura.vasilescu@rosedu.org>

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

On Wed, 2013-07-31 at 14:47 +0300, Laura Mihaela Vasilescu wrote:
> This patch adds the ethtool callbacks necessary to change the RETA
> indirection table from userspace.
> 
> In order to achieve this, we add the indirection table field
> (rss_indir_tbl)
> in the board specific data structure (struct igb_adapter) to preserve
> the
> values across hardware resets.
> 
> The indirection table must be initialized with default values in the
> following cases:
>         * at module init time
>         * when the number of RX queues changes.
> For this reason we add a new field (rss_indir_tbl_init) in igb_adapter
> that keeps track of the number of RX queues. Whenever the number of RX
> queues changes, the rss_indir_tbl is modified and initialized with
> default
> values. The rss_indir_tbl_init is updated accordingly.
> 
> Signed-off-by: Laura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
> ---
> Changes since v1:
>         * enhance commit description
> 
>  drivers/net/ethernet/intel/igb/igb.h         |    3 +
>  drivers/net/ethernet/intel/igb/igb_ethtool.c |   87
> ++++++++++++++++++++++++++
>  drivers/net/ethernet/intel/igb/igb_main.c    |   28 +++------
>  3 files changed, 97 insertions(+), 21 deletions(-) 

Added to my queue, thanks again Laura!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-07-31 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 11:47 [PATCH 1/2 v2] igb: Add macro for size of RETA indirection table Laura Mihaela Vasilescu
2013-07-31 11:47 ` [PATCH 2/2 v2] igb: Expose RSS indirection table for ethtool Laura Mihaela Vasilescu
2013-07-31 12:13   ` Jeff Kirsher [this message]
2013-07-31 12:12 ` [PATCH 1/2 v2] igb: Add macro for size of RETA indirection table Jeff Kirsher

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=1375272802.2877.35.camel@jtkirshe-mobl \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=alexander.h.duyck@intel.com \
    --cc=anjali.singhai@intel.com \
    --cc=carolyn.wyborny@intel.com \
    --cc=laura.vasilescu@rosedu.org \
    --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;
as well as URLs for NNTP newsgroup(s).