| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | I/O operations |
| From: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
| Date: | Thu, 21 Nov 2002 13:40:34 +0100 |
| Cc: | Robert.Olsson@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
While hacking with e1000...
For e1000 reading the interrupt control (ICR) register also acks it.
I guess the idea is to save I/O operations which are very slow in
comparison to CPU speed. So reading and acking is done atomically
in just one operation.
And it should be possible to extend this to even disable interrupts
(if ICR nonzero) in the same operation?
At least for NAPI "type" drivers this seems useful...
1) H/W generates interrupt which "indicates" work.
2) Driver Reads/Acks/Disables-IRQ in one I/O operation and
schedules work for softirq.
Any chips capable of this already?
Cheers.
--ro
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] IPv6: Fix BUG When Received Unknown Protocol, YOSHIFUJI Hideaki / 吉藤英明 |
|---|---|
| Next by Date: | APPEAL FOR URGENT ASSISTANCE/INVESTMENT, DR JOEL ODILI |
| Previous by Thread: | [PATCH] IPv6: Fix BUG When Received Unknown Protocol, YOSHIFUJI Hideaki / 吉藤英明 |
| Next by Thread: | APPEAL FOR URGENT ASSISTANCE/INVESTMENT, DR JOEL ODILI |
| Indexes: | [Date] [Thread] [Top] [All Lists] |