* Re: More 2.4.22pre10 ACPI breakage
[not found] <C6F5CF431189FA4CBAEC9E7DD5441E01022292CD@orsmsx402.jf.intel.com>
@ 2003-08-06 2:58 ` Jeff Garzik
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2003-08-06 2:58 UTC (permalink / raw)
To: Feldman, Scott; +Cc: Samuel Flory, netdev
Feldman, Scott wrote:
>> It appears that the intel Se7501BR mother is also having
>>issues with ACPI. When ACPI support is enable the e1000
>>controller stops working printing "<6>NETDEV WATCHDOG:
>>eth0: transmit timed out".
>
>
> Must...have...interrupts.
You are 100% correct.
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 :)
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* 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
* RE: More 2.4.22pre10 ACPI breakage
2003-08-06 22:34 Feldman, Scott
@ 2003-08-10 22:22 ` Robert Olsson
0 siblings, 0 replies; 3+ messages in thread
From: Robert Olsson @ 2003-08-10 22:22 UTC (permalink / raw)
To: Feldman, Scott; +Cc: Jeff Garzik, Samuel Flory, netdev
Feldman, Scott writes:
> NAPI always-poll mode...that would be fun to play with...
> 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.
>
I will work but I doubt the usefulness of it as we spin aggressively even
when there low or no load. This as NAPI tries to serve your dev->poll
fastest possible given the fairness conditions are met.
I could think of a variant...
As dev->poll is callback we could possibly schedule (and delay) via a timer
or something with in turn does the the schedule dev->poll for us. We have
to return netif_rx_complete and have RX-buffers etc.
> Just thinking out loud - haven't tried any of this.
Same here... :-)
Cheers.
--ro
^ 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).