RE: [Patch] speed up interrupt handling

From: Feldman, Scott <scott.feldman_at_intel.com>
Date: 2004-02-27 18:11:36
> Is this related to NAPI?
> 
> I'll assume "the gigabit" card is e1000:
> static void e1000_netpoll (struct net_device *dev) {
> 	struct e1000_adapter *adapter = dev->priv;
> 	disable_irq(adapter->pdev->irq);
> 	e1000_intr (adapter->pdev->irq, dev, NULL);
> 	enable_irq(adapter->pdev->irq);
> }

e1000_netpoll() is for netdump (netconsole) support, not NAPI.

NAPI uses dev->poll = e1000_clean.

Unfortunate similar naming for unrelated things. :-(

-scott
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Feb 27 02:15:11 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:23 EST