Date: Tue, 31 Oct 2006 16:19:22 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/em if_em.c if_em.h Message-ID: <200610311619.k9VGJMVk040128@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610311619.k9VGJMVk040128>
