Skip to contentSkip to conversation

more packets than interrupts

DISCUSSION Francesco Oppedisano 2 participants 2 messages Apr 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,
using tcpdump to capture ethernet packets i noticed i obtain more packets than interrupts (taken from /proc/interrupts).
I found this with all NICs available to me (8139, e1000pro, one using sk98lin, 3com 59x, via rhine etc..).
Where the NIC supports any type of mitigation or similar (see NAPI), this function are disabled: so this happens with no mitigation mechanisms.
How can this happen?
Can every driver manage many packets per call?

Thank you very much
Francesco

#1 lore raw
Quoted 1 line · On Tue, 19 Apr 2005 15:46:07 +0000 Francesco Oppedisano…

Can every driver manage many packets per call?

Most can. If more packets arrive between between when the chip signals the interrupt and the cpu actually gets to the driver interrupt handler, multiple packets per interrupt can easily happen.