]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid an unnecessary copy of a packet if it is already in a single mbuf.
authorLuigi Rizzo <luigi@FreeBSD.org>
Tue, 11 Dec 2001 02:47:53 +0000 (02:47 +0000)
committerLuigi Rizzo <luigi@FreeBSD.org>
Tue, 11 Dec 2001 02:47:53 +0000 (02:47 +0000)
commit2dfc960a5bf0de06f99cd5aad020716c3773dae6
tree23cc761de87f4050d3a67dcbeb7107879c75feb2
parenteaef715000c044a431d4799e806de0a0d4634e68
Avoid an unnecessary copy of a packet if it is already in a single mbuf.
Introduce an additional device flag for those NICs which require the
transmit buffers to be aligned to 32-bit boundaries.

(the equivalen fix for STABLE is slightly simpler because there are
no supported chips which require this alignment there.)
sys/dev/dc/if_dc.c
sys/dev/dc/if_dcreg.h
sys/pci/if_dc.c
sys/pci/if_dcreg.h