Wojciech Puchar <woj...@wojtek.tensor.gdynia.pl> writes:
> Why it's THAT bad?

http://svn.freebsd.org/base/head/sys/pci/if_rl.c

Scroll down past the copyright, license and attribution.  Read the
38-line comment that explains just how crappy this chip really is.

Executive summary: every single transmitted frame must be copied from
the mbuf into a DMA transmit buffer, and every single received frame
must be copied from the (quite small) DMA receive buffer into an mbuf.
In addition, the transmit queue can only hold four frames.

Other chips use scatter-gather lists and other mechanisms which allow
them to DMA frames straight out of or into mbufs.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to