[PATCH 02/17] mv643xx_eth: get rid of IRQF_SAMPLE_RANDOM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lennert Buytenhek
Date: Wednesday, September 3, 2008 - 5:29 am

Using IRQF_SAMPLE_RANDOM for the mv643xx_eth interrupt handler
significantly increases interrupt processing overhead, so get rid
of it.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
---
 drivers/net/mv643xx_eth.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index ad2ae93..8c812c3 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2004,8 +2004,7 @@ static int mv643xx_eth_open(struct net_device *dev)
 	rdl(mp, INT_CAUSE_EXT(mp->port_num));
 
 	err = request_irq(dev->irq, mv643xx_eth_irq,
-			  IRQF_SHARED | IRQF_SAMPLE_RANDOM,
-			  dev->name, dev);
+			  IRQF_SHARED, dev->name, dev);
 	if (err) {
 		dev_printk(KERN_ERR, &dev->dev, "can't assign irq\n");
 		return -EAGAIN;
-- 
1.5.6.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/17] mv643xx_eth: changes for 2.6.28, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 01/17] mv643xx_eth: fix receive buffer DMA unmapping, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 02/17] mv643xx_eth: get rid of IRQF_SAMPLE_RANDOM, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 03/17] mv643xx_eth: get rid of modulo operations, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 06/17] mv643xx_eth: make napi unconditional, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 07/17] mv643xx_eth: get rid of receive-side locking, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 09/17] mv643xx_eth: require contiguous receive and ..., Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 11/17] mv643xx_eth: remove force_phy_addr field, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 14/17] mv643xx_eth: transmit multiqueue support, Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 15/17] mv643xx_eth: move all work to the napi poll ..., Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 16/17] mv643xx_eth: switch to netif tx queue lock, ..., Lennert Buytenhek, (Wed Sep 3, 5:29 am)
[PATCH 17/17] mv643xx_eth: bump version to 1.4, Lennert Buytenhek, (Wed Sep 3, 5:29 am)