diff options
author | luigi <luigi@FreeBSD.org> | 2001-12-11 02:47:53 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2001-12-11 02:47:53 +0000 |
commit | 41dffde8bb5add69956df30104e9689d68cd5a46 (patch) | |
tree | 23cc761de87f4050d3a67dcbeb7107879c75feb2 /sys/dev/dc/if_dcreg.h | |
parent | c7282b9212c327c3a40b40d948d29eaed42c3f27 (diff) | |
download | FreeBSD-src-41dffde8bb5add69956df30104e9689d68cd5a46.zip FreeBSD-src-41dffde8bb5add69956df30104e9689d68cd5a46.tar.gz |
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.)
Diffstat (limited to 'sys/dev/dc/if_dcreg.h')
-rw-r--r-- | sys/dev/dc/if_dcreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h index 9336728..0052d33 100644 --- a/sys/dev/dc/if_dcreg.h +++ b/sys/dev/dc/if_dcreg.h @@ -739,6 +739,7 @@ struct dc_softc { #define DC_64BIT_HASH 0x00002000 #define DC_TULIP_LEDS 0x00004000 #define DC_TX_ONE 0x00008000 +#define DC_TX_ALIGN 0x00010000 /* align mbuf on tx */ /* * register space access macros |