From owner-cvs-src@FreeBSD.ORG Tue Oct 31 16:19:23 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CC2016A407; Tue, 31 Oct 2006 16:19:23 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A00043D69; Tue, 31 Oct 2006 16:19:22 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9VGJM4L040129; Tue, 31 Oct 2006 16:19:22 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9VGJMVk040128; Tue, 31 Oct 2006 16:19:22 GMT (envelope-from glebius) Message-Id: <200610311619.k9VGJMVk040128@repoman.freebsd.org> From: Gleb Smirnoff Date: Tue, 31 Oct 2006 16:19:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/em if_em.c if_em.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 16:19:23 -0000 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