From owner-cvs-all@FreeBSD.ORG Tue Oct 19 02:42:49 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA04516A4CE; Tue, 19 Oct 2004 02:42:49 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99A3943D31; Tue, 19 Oct 2004 02:42:49 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9J2gndG029998; Tue, 19 Oct 2004 02:42:49 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9J2gn56029997; Tue, 19 Oct 2004 02:42:49 GMT (envelope-from scottl) Message-Id: <200410190242.i9J2gn56029997@repoman.freebsd.org> From: Scott Long Date: Tue, 19 Oct 2004 02:42:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/bge if_bge.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 02:42:49 -0000 scottl 2004-10-19 02:42:49 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Use and alignment of 1 instead of ETHER_ALIGN for rx and tx buffers and jumbo frames. BGE hardware with the rx alignment bug will still be handled by the calls to m_adj() that already exist. m_adj() is probably better suited for this task anyways. Just as with if_em, this saves a malloc + several locks per packet and prevents unneeded data copying within busdma. Revision Changes Path 1.76 +2 -2 src/sys/dev/bge/if_bge.c