]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid an unnecessary copy of a packet if it is already in a single mbuf.
authorluigi <luigi@FreeBSD.org>
Tue, 11 Dec 2001 02:47:53 +0000 (02:47 +0000)
committerluigi <luigi@FreeBSD.org>
Tue, 11 Dec 2001 02:47:53 +0000 (02:47 +0000)
commit41dffde8bb5add69956df30104e9689d68cd5a46
tree23cc761de87f4050d3a67dcbeb7107879c75feb2
parentc7282b9212c327c3a40b40d948d29eaed42c3f27
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