[725] in linux-net channel archive
How about a lance driver that receives directly into skbs?
daemon@ATHENA.MIT.EDU (Tom May)
Wed Jul 19 06:28:16 1995
Date: Tue, 18 Jul 1995 15:10:58 -0700
From: ftom@netcom.com (Tom May)
To: linux-net@vger.rutgers.edu
I was wondering what anybody thinks about modifying the lance driver
to receive directly into skbs, much like it currently transmits
directly out of skbs. The AMD79C960/965 driver I wrote for NeXTSTEP
does something like this. This could be a win because
eth_copy_and_sum() is still 2.5 times slower than just calculating
a checksum in place on my 486DX2/66.
Obvious problems are the fact that some of the cards supported by the
driver can only access the first 16MB of memory, but the driver could
be modified to run chips in 32-bit mode (older chips would just lose).
The problem of not being able to allocate an skb for receive already
exists, it just moves to a new place in the code (although filling in
the receive ring when memory frees up for an skb could be problematic,
I'm not sure the solution I used for NeXTSTEP could be used for
Linux).
Any other input on this idea?
Tom.