From owner-cvs-src@FreeBSD.ORG Fri Apr 11 04:03:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50ADA106564A; Fri, 11 Apr 2008 04:03:37 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB978FC14; Fri, 11 Apr 2008 04:03:37 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3B43b5U003303; Fri, 11 Apr 2008 04:03:37 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3B43bDh003302; Fri, 11 Apr 2008 04:03:37 GMT (envelope-from yongari) Message-Id: <200804110403.m3B43bDh003302@repoman.freebsd.org> From: Pyun YongHyeon Date: Fri, 11 Apr 2008 04:03:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/stge if_stge.c 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: Fri, 11 Apr 2008 04:03:37 -0000 yongari 2008-04-11 04:03:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/stge if_stge.c Log: MFC if_stge.c rev 1.12 to RELENG_7. Use m_collapse(9) to collapse mbuf chains instead of relying on shortest possible chain of mbufs of m_defrag(9). What we want is chains of mbufs that can be safely stored to a Tx descriptor which can have up to STGE_MAXTXSEGS mbufs. The ethernet controller does not need to align Tx buffers on 32bit boundary. So the use of m_defrag(9) was waste of time. Revision Changes Path 1.9.2.3 +1 -1 src/sys/dev/stge/if_stge.c