From owner-freebsd-sparc64@FreeBSD.ORG Tue Apr 19 04:34:29 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E0E516A4CE for ; Tue, 19 Apr 2005 04:34:29 +0000 (GMT) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2812943D5C for ; Tue, 19 Apr 2005 04:34:28 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from yongari@rndsoft.co.kr(192.168.5.90) by MailFilter v1.05 with ESMTP Processed in 0.126604 secs; 19 Apr 2005 13:32:43 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) j3J4Xxm1005766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Apr 2005 13:33:59 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j3J4XxOt005765 for freebsd-sparc64@freebsd.org; Tue, 19 Apr 2005 13:33:59 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Tue, 19 Apr 2005 13:33:59 +0900 From: Pyun YongHyeon To: freebsd-sparc64@freebsd.org Message-ID: <20050419043359.GA4941@michelle.rndsoft.co.kr> References: <20050414092608.GB2855@michelle.rndsoft.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050414092608.GB2855@michelle.rndsoft.co.kr> User-Agent: Mutt/1.4.2.1i Subject: Re: em(4) patch X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 04:34:29 -0000 On Thu, Apr 14, 2005 at 06:26:08PM +0900, To freebsd-sparc64@freebsd.org wrote: > > I have a initial patch that make em(4) work on sparc64. > The patch seems to work but it may have uncovered bugs in it. Here is updated patch. http://www.kr.freebsd.org/~yongari/em.patch.0419 The new patch includes jmg's suggestion and supports JUMBO frames. Though OpenBSD's aligment code works well I noticed it suffers from poor performance. So I used simple mbuf prepend method which is slightly faster than that of OpenBSD's code. Of course, best performance would be obtained when JUMBO frame is not used at all. :-( -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org