netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: davem@davemloft.net
Cc: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>,
	netdev@vger.kernel.org, gospo@redhat.com, sassmann@redhat.com,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Subject: [net-next 08/15] i40e: Fix incorrect feature configuration status
Date: Sun,  8 Jun 2014 07:33:50 -0700	[thread overview]
Message-ID: <1402238037-20661-9-git-send-email-jeffrey.t.kirsher@intel.com> (raw)
In-Reply-To: <1402238037-20661-1-git-send-email-jeffrey.t.kirsher@intel.com>

From: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>

This patch fixes an issue where FD SB/ATR and NTUPLE configurations status are
reported erroneously. Without this patch, driver reports FDir without further
information.

Change-ID: I5bdd2871b7f2db1e5f5e76c741ae6a0dc603b453
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 00fdc30..8ab3c88 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -8237,11 +8237,12 @@ static void i40e_print_features(struct i40e_pf *pf)
 
 	if (pf->flags & I40E_FLAG_RSS_ENABLED)
 		buf += sprintf(buf, "RSS ");
-	buf += sprintf(buf, "FDir ");
 	if (pf->flags & I40E_FLAG_FD_ATR_ENABLED)
-		buf += sprintf(buf, "ATR ");
-	if (pf->flags & I40E_FLAG_FD_SB_ENABLED)
+		buf += sprintf(buf, "FD_ATR ");
+	if (pf->flags & I40E_FLAG_FD_SB_ENABLED) {
+		buf += sprintf(buf, "FD_SB ");
 		buf += sprintf(buf, "NTUPLE ");
+	}
 	if (pf->flags & I40E_FLAG_DCB_ENABLED)
 		buf += sprintf(buf, "DCB ");
 	if (pf->flags & I40E_FLAG_PTP)
-- 
1.9.3

  parent reply	other threads:[~2014-06-08 14:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-08 14:33 [net-next 00/15][pull request] Intel Wired LAN Driver Updates 2014-06-08 Jeff Kirsher
2014-06-08 14:33 ` [net-next 01/15] i40e/i40evf: fix rx descriptor status Jeff Kirsher
2014-06-08 14:33 ` [net-next 02/15] i40e/i40evf: Fix code to accommodate i40e_register.h changes Jeff Kirsher
2014-06-08 14:33 ` [net-next 03/15] i40e/i40evf: Clean up a few things Jeff Kirsher
2014-06-08 14:33 ` [net-next 04/15] i40evf: remove unnecessary log messages Jeff Kirsher
2014-06-08 17:23   ` Joe Perches
2014-06-08 14:33 ` [net-next 05/15] i40evf: remove bogus comment Jeff Kirsher
2014-06-08 14:33 ` [net-next 06/15] i40evf: clean up log message formatting Jeff Kirsher
2014-06-08 14:33 ` [net-next 07/15] i40evf: use correct format for printing MAC addresses Jeff Kirsher
2014-06-08 14:33 ` Jeff Kirsher [this message]
2014-06-08 14:33 ` [net-next 09/15] i40e: clear pxe after adminq is rebuilt Jeff Kirsher
2014-06-08 14:33 ` [net-next 10/15] i40e: not all VSIs have rings Jeff Kirsher
2014-06-08 14:33 ` [net-next 11/15] i40e/i40evf: remove chatty reset messages Jeff Kirsher
2014-06-08 17:34   ` Joe Perches
2014-06-08 19:06     ` Williams, Mitch A
2014-06-08 14:33 ` [net-next 12/15] i40e/i40evf: fix TSO accounting Jeff Kirsher
2014-06-08 14:33 ` [net-next 13/15] i40e/i40evf: fix poll weight Jeff Kirsher
2014-06-08 14:33 ` [net-next 14/15] i40e/i40evf: remove deprecated device IDs Jeff Kirsher
2014-06-08 14:33 ` [net-next 15/15] i40e/i40evf: Bump build version Jeff Kirsher
2014-06-08 21:08 ` [net-next 00/15][pull request] Intel Wired LAN Driver Updates 2014-06-08 David Miller

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=1402238037-20661-9-git-send-email-jeffrey.t.kirsher@intel.com \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=akeem.g.abodunrin@intel.com \
    --cc=davem@davemloft.net \
    --cc=gospo@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=sassmann@redhat.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).