From: Neil Horman <nhorman@tuxdriver.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, Neil Horman <nhorman@tuxdriver.com>,
Dimitris Michailidis <dm@chelsio.com>,
Thomas Gleixner <tglx@linutronix.de>,
David Howells <dhowells@redhat.com>,
Eric Dumazet <eric.dumazet@gmail.com>,
Tom Herbert <therbert@google.com>
Subject: [PATCH 3/3] net: Adding siloing irqs to cxgb4 driver
Date: Fri, 15 Apr 2011 16:17:57 -0400 [thread overview]
Message-ID: <1302898677-3833-4-git-send-email-nhorman@tuxdriver.com> (raw)
In-Reply-To: <1302898677-3833-1-git-send-email-nhorman@tuxdriver.com>
cxgb4 hardware has been tested here and shows correct functionality with
affinity hinting infrastructure
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Dimitris Michailidis <dm@chelsio.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: David Howells <dhowells@redhat.com>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Tom Herbert <therbert@google.com>
---
drivers/net/cxgb4/cxgb4_main.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index 5352c8a..11aeef6 100644
--- a/drivers/net/cxgb4/cxgb4_main.c
+++ b/drivers/net/cxgb4/cxgb4_main.c
@@ -562,9 +562,11 @@ static int request_msix_queue_irqs(struct adapter *adap)
return err;
for_each_ethrxq(s, ethqidx) {
- err = request_irq(adap->msix_info[msi].vec, t4_sge_intr_msix, 0,
+ err = request_net_irq(adap->msix_info[msi].vec, t4_sge_intr_msix, 0,
adap->msix_info[msi].desc,
- &s->ethrxq[ethqidx].rspq);
+ &s->ethrxq[ethqidx].rspq,
+ adap->port[ethqidx/MAX_NPORTS],
+ ethqidx % MAX_NPORTS);
if (err)
goto unwind;
msi++;
--
1.7.4.2
next prev parent reply other threads:[~2011-04-15 20:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-15 20:17 net: Automatic IRQ siloing for network devices Neil Horman
2011-04-15 20:17 ` [PATCH 1/3] irq: Add registered affinity guidance infrastructure Neil Horman
2011-04-16 0:22 ` Thomas Gleixner
2011-04-16 2:11 ` Neil Horman
2011-04-15 20:17 ` [PATCH 2/3] net: Add net device irq siloing feature Neil Horman
2011-04-15 22:49 ` Ben Hutchings
2011-04-16 1:49 ` Neil Horman
2011-04-16 4:52 ` Stephen Hemminger
2011-04-16 6:21 ` Eric Dumazet
2011-04-16 11:55 ` Neil Horman
2011-04-15 20:17 ` Neil Horman [this message]
2011-04-15 22:54 ` net: Automatic IRQ siloing for network devices Ben Hutchings
2011-04-16 0:50 ` Ben Hutchings
2011-04-16 1:59 ` Neil Horman
2011-04-16 16:17 ` Stephen Hemminger
2011-04-17 17:20 ` Neil Horman
2011-04-17 18:38 ` Ben Hutchings
2011-04-18 1:08 ` Neil Horman
2011-04-18 21:51 ` Ben Hutchings
2011-04-19 0:52 ` Neil Horman
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=1302898677-3833-4-git-send-email-nhorman@tuxdriver.com \
--to=nhorman@tuxdriver.com \
--cc=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=dm@chelsio.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=therbert@google.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).