cvs commit: src/sys/dev/em if_em.c if_em.h
Gleb Smirnoff
glebius at FreeBSD.org
Tue Oct 31 16:19:23 UTC 2006
glebius 2006-10-31 16:19:22 UTC
FreeBSD src repository
Modified files:
sys/dev/em if_em.c if_em.h
Log:
Rework the transmit register handling. In em_encap() store index of
the EOP descriptor in the first descriptor of the packet. And then
in em_txeof() search for DD bits set only in the EOP descriptors,
embedding the cleanup of all packet's descriptors into inner loop.
This change is important for future chips, where DD bit is going
to be set only on the EOP descriptors.
Submitted by: jfv
Revision Changes Path
1.158 +78 -33 src/sys/dev/em/if_em.c
1.54 +2 -1 src/sys/dev/em/if_em.h
More information about the cvs-src
mailing list