aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalli Chilakala <mallikarjuna.chilakala@intel.com>2005-06-17 20:31:44 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-27 00:30:23 -0400
commit0685c31b58a69e41393e974f6e6b8e0a4eadcf0b (patch)
tree8277108aa8ca31da2eb002601a3e9137841737b4
parentf92d872876617cddbb0532291034f88941e855fd (diff)
[PATCH] e100: NAPI performance enhancements
NAPI performance enhancements - Fixed issues with shared interrupts and NAPI resulting in bad performance. Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com>
-rw-r--r--drivers/net/e100.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 8c7e2d17e75f..1e56c8eea35f 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1671,8 +1671,10 @@ static irqreturn_t e100_intr(int irq, void *dev_id, struct pt_regs *regs)
1671 if(stat_ack & stat_ack_rnr) 1671 if(stat_ack & stat_ack_rnr)
1672 nic->ru_running = RU_SUSPENDED; 1672 nic->ru_running = RU_SUSPENDED;
1673 1673
1674 e100_disable_irq(nic); 1674 if(likely(netif_rx_schedule_prep(netdev))) {
1675 netif_rx_schedule(netdev); 1675 e100_disable_irq(nic);
1676 __netif_rx_schedule(netdev);
1677 }
1676 1678
1677 return IRQ_HANDLED; 1679 return IRQ_HANDLED;
1678} 1680}