netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/4] bnx2: Always enable MSI-X on 5709.
@ 2010-07-04  6:42 Michael Chan
  2010-07-04  6:42 ` [PATCH net-next 2/4] bnx2: Add support for skb->rxhash Michael Chan
  2010-07-04 18:44 ` [PATCH net-next 1/4] bnx2: Always enable MSI-X on 5709 David Miller
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Chan @ 2010-07-04  6:42 UTC (permalink / raw)
  To: davem; +Cc: netdev

Minor change to use MSI-X even if there is only one CPU.  This allows
the CNIC driver to always have a dedicated MSI-X vector to handle
iSCSI events, instead of sharing the MSI vector.

Signed-off-by: Michael Chan <mchan@broadcom.com>
---
 drivers/net/bnx2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index a5dd81f..0614ca0 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -6185,7 +6185,7 @@ bnx2_setup_int_mode(struct bnx2 *bp, int dis_msi)
 	bp->irq_nvecs = 1;
 	bp->irq_tbl[0].vector = bp->pdev->irq;
 
-	if ((bp->flags & BNX2_FLAG_MSIX_CAP) && !dis_msi && cpus > 1)
+	if ((bp->flags & BNX2_FLAG_MSIX_CAP) && !dis_msi)
 		bnx2_enable_msix(bp, msix_vecs);
 
 	if ((bp->flags & BNX2_FLAG_MSI_CAP) && !dis_msi &&
-- 
1.6.4.GIT



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-04 18:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-04  6:42 [PATCH net-next 1/4] bnx2: Always enable MSI-X on 5709 Michael Chan
2010-07-04  6:42 ` [PATCH net-next 2/4] bnx2: Add support for skb->rxhash Michael Chan
2010-07-04  6:42   ` [PATCH net-next 3/4] bnx2: Dump some config space registers during TX timeout Michael Chan
2010-07-04  6:42     ` [PATCH net-next 4/4] bnx2: Update version to 2.0.16 Michael Chan
2010-07-04 18:44       ` David Miller
2010-07-04 18:44     ` [PATCH net-next 3/4] bnx2: Dump some config space registers during TX timeout David Miller
2010-07-04 18:44   ` [PATCH net-next 2/4] bnx2: Add support for skb->rxhash David Miller
2010-07-04 18:44 ` [PATCH net-next 1/4] bnx2: Always enable MSI-X on 5709 David Miller

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).