From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: davem@davemloft.net
Cc: Gangfeng Huang <gangfeng.huang@ni.com>,
netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com,
jogreene@redhat.com, guru.anbalagane@oracle.com,
Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Subject: [net-next 4/4] igb: fix error code in igb_add_ethtool_nfc_entry()
Date: Thu, 18 Aug 2016 22:30:50 -0700 [thread overview]
Message-ID: <1471584650-14645-5-git-send-email-jeffrey.t.kirsher@intel.com> (raw)
In-Reply-To: <1471584650-14645-1-git-send-email-jeffrey.t.kirsher@intel.com>
From: Gangfeng Huang <gangfeng.huang@ni.com>
Use error "rmgr: Cannot insert RX class rule: Operation not supported" is
more meaningful than "rmgr: Cannot insert RX class rule: Unknown error 524"
Signed-off-by: Gangfeng Huang <gangfeng.huang@ni.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/igb/igb_ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c
index ef5408b..0c33eca 100644
--- a/drivers/net/ethernet/intel/igb/igb_ethtool.c
+++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c
@@ -2851,7 +2851,7 @@ static int igb_add_ethtool_nfc_entry(struct igb_adapter *adapter,
int err = 0;
if (!(netdev->hw_features & NETIF_F_NTUPLE))
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
/* Don't allow programming if the action is a queue greater than
* the number of online Rx queues.
--
2.7.4
next prev parent reply other threads:[~2016-08-19 5:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 5:30 [net-next 0/4][pull request] 1GbE Intel Wired LAN Driver Updates 2016-08-18 Jeff Kirsher
2016-08-19 5:30 ` [net-next 1/4] igb: add support of RX network flow classification Jeff Kirsher
2016-08-19 5:30 ` [net-next 2/4] igb: support RX flow classification by ethertype Jeff Kirsher
2016-08-19 5:30 ` [net-next 3/4] igb: support RX flow classification by VLAN priority Jeff Kirsher
2016-08-19 5:30 ` Jeff Kirsher [this message]
2016-08-19 6:03 ` [net-next 0/4][pull request] 1GbE Intel Wired LAN Driver Updates 2016-08-18 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=1471584650-14645-5-git-send-email-jeffrey.t.kirsher@intel.com \
--to=jeffrey.t.kirsher@intel.com \
--cc=davem@davemloft.net \
--cc=gangfeng.huang@ni.com \
--cc=guru.anbalagane@oracle.com \
--cc=jogreene@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@redhat.com \
--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).