All of lore.kernel.org
 help / color / mirror / Atom feed
* more packets than interrupts
@ 2005-04-19 15:46 Francesco Oppedisano
  2005-04-19 18:28 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Oppedisano @ 2005-04-19 15:46 UTC (permalink / raw)
  To: linux-kernel

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

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

* Re: more packets than interrupts
  2005-04-19 15:46 more packets than interrupts Francesco Oppedisano
@ 2005-04-19 18:28 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-04-19 18:28 UTC (permalink / raw)
  To: Francesco Oppedisano; +Cc: linux-kernel

On Tue, 19 Apr 2005 15:46:07 +0000
Francesco Oppedisano <francesco.oppedisano@gmail.com> wrote:
> 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.

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

end of thread, other threads:[~2005-04-19 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-19 15:46 more packets than interrupts Francesco Oppedisano
2005-04-19 18:28 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.