Commit 73a7bf97 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[PATCH] igxb speedup

The interrupt routine will call both those functions even if the first doesn't
have any work to do.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent a672c877
...@@ -1742,18 +1742,6 @@ config VIA_RHINE_MMIO ...@@ -1742,18 +1742,6 @@ config VIA_RHINE_MMIO
If unsure, say Y. If unsure, say Y.
config VIA_VELOCITY
tristate "VIA Velocity support"
depends on NET_PCI && PCI
select CRC32
select CRC_CCITT
select MII
help
If you have a VIA "Velocity" based network card say Y here.
To compile this driver as a module, choose M here. The module
will be called via-velocity.
config LAN_SAA9730 config LAN_SAA9730
bool "Philips SAA9730 Ethernet support (EXPERIMENTAL)" bool "Philips SAA9730 Ethernet support (EXPERIMENTAL)"
depends on NET_PCI && EXPERIMENTAL && MIPS depends on NET_PCI && EXPERIMENTAL && MIPS
...@@ -2140,6 +2128,18 @@ config SK98LIN ...@@ -2140,6 +2128,18 @@ config SK98LIN
say M here and read Documentation/kbuild/modules.txt. The module will say M here and read Documentation/kbuild/modules.txt. The module will
be called sk98lin. This is recommended. be called sk98lin. This is recommended.
config VIA_VELOCITY
tristate "VIA Velocity support"
depends on NET_PCI && PCI
select CRC32
select CRC_CCITT
select MII
help
If you have a VIA "Velocity" based network card say Y here.
To compile this driver as a module, choose M here. The module
will be called via-velocity.
config TIGON3 config TIGON3
tristate "Broadcom Tigon3 support" tristate "Broadcom Tigon3 support"
depends on PCI depends on PCI
......
...@@ -1615,8 +1615,12 @@ static irqreturn_t ixgb_intr(int irq, void *data, struct pt_regs *regs) ...@@ -1615,8 +1615,12 @@ static irqreturn_t ixgb_intr(int irq, void *data, struct pt_regs *regs)
} }
#else #else
for (i = 0; i < IXGB_MAX_INTR; i++) for (i = 0; i < IXGB_MAX_INTR; i++)
if (!ixgb_clean_rx_irq(adapter) & !ixgb_clean_tx_irq(adapter)) if (ixgb_clean_rx_irq(adapter) == FALSE)
break; break;
for (i = 0; i < IXGB_MAX_INTR; i++)
if (ixgb_clean_tx_irq(adapter) == FALSE)
break;
/* if RAIDC:EN == 1 and ICR:RXDMT0 == 1, we need to /* if RAIDC:EN == 1 and ICR:RXDMT0 == 1, we need to
* set IMS:RXDMT0 to 1 to restart the RBD timer (POLL) * set IMS:RXDMT0 to 1 to restart the RBD timer (POLL)
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment