netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: More 2.4.22pre10 ACPI breakage
@ 2003-08-06 22:34 Feldman, Scott
  2003-08-10 22:22 ` Robert Olsson
  0 siblings, 1 reply; 3+ messages in thread
From: Feldman, Scott @ 2003-08-06 22:34 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Samuel Flory, netdev

> That said... I'm tempted to extend NAPI just a bit, to provide an 
> "always poll" mode.  It seems like all the bug reports I get 
> these days for 8139too are caused by x86 ACPI/APIC/irq routing
troubles 
> completely unrelated to the driver.  Tulip-almost-NAPI in 2.4 has an
> always-poll mode, so I have a convenient excuse :)

NAPI always-poll mode...that would be fun to play with.  JC was getting
his best results for small packets when he modified the dev e100 driver
to stay in polling mode, even if the quota wasn't met.  Basically
running without interrupts.  If there is someway for the the driver to
sample/ack the device for events when interrupts are disabled/unrouted,
then these async events can be handled in the poll routine.  I'm
thinking of events like link-status-change.

Is this what you're thinking: 1) block any place the driver enables
interrupts so interrupts stay disabled, 2) ignore netif_rx_complete so
we stay in polling mode, 3) ignore return code from netdev->poll.

For 1), the driver needs some way to know that we're in always-poll-mode
so enabling interrupts is a nop.

Just thinking out loud - haven't tried any of this.

-scott

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

end of thread, other threads:[~2003-08-10 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <C6F5CF431189FA4CBAEC9E7DD5441E01022292CD@orsmsx402.jf.intel.com>
2003-08-06  2:58 ` More 2.4.22pre10 ACPI breakage Jeff Garzik
2003-08-06 22:34 Feldman, Scott
2003-08-10 22:22 ` Robert Olsson

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