From owner-freebsd-sparc64@FreeBSD.ORG Fri Apr 15 05:46:30 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 86B5F16A4CE for ; Fri, 15 Apr 2005 05:46:30 +0000 (GMT) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F32B43D41 for ; Fri, 15 Apr 2005 05:46:30 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 17067 invoked from network); 15 Apr 2005 05:46:30 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Apr 2005 05:46:29 -0000 Received: from hydrogen.funkthat.com (wnspsl@localhost.funkthat.com [127.0.0.1])j3F5kSGH085627; Thu, 14 Apr 2005 22:46:28 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j3F5kRip085626; Thu, 14 Apr 2005 22:46:27 -0700 (PDT) Date: Thu, 14 Apr 2005 22:46:27 -0700 From: John-Mark Gurney To: Pyun YongHyeon Message-ID: <20050415054627.GR56487@funkthat.com> Mail-Followup-To: Pyun YongHyeon , freebsd-sparc64@freebsd.org References: <20050414092608.GB2855@michelle.rndsoft.co.kr> <20050414192749.GO56487@funkthat.com> <20050415023902.GC7393@michelle.rndsoft.co.kr> <20050415030935.GQ56487@funkthat.com> <20050415042731.GD7393@michelle.rndsoft.co.kr> <20050415051112.GE7393@michelle.rndsoft.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050415051112.GE7393@michelle.rndsoft.co.kr> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-sparc64@freebsd.org Subject: Re: em(4) patch X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 05:46:30 -0000 Pyun YongHyeon wrote this message on Fri, Apr 15, 2005 at 14:11 +0900: > On Fri, Apr 15, 2005 at 01:27:31PM +0900, To John-Mark Gurney wrote: > > > > > Also, I have work in progress to make non-aligned packets better... > > > > > I committed part of it as the m_copyup change... On a -current, you > > > > > should just be able to apply the following change: > > > > > http://perforce.freebsd.org/fileDiffView.cgi?FSPC=//depot/user/jmg/arm/src/sys/netinet/ip%5finput.c&REV=3&ACT=edit > > > > > > > > > > > > > This looks promising. Some miserable hardwares that use sf(4)/rl(4) > > > > driver could take advatnage of it. BTW what is IP_HDR_ALIGNED_P macro? > > > > > > Look at: > > > http://perforce.freebsd.org/fileDiffView.cgi?FSPC=//depot/user/jmg/arm/src/sys/netinet/ip%5fvar.h&REV=2&ACT=edit > > > > > > and __NO_STRICT_ALIGNMENT should be defined somewhere for i386 and > > I'll try that. Thanks. > > > > With your changes JUMBO frames work here. This should also fix PR75794. > It would be really great if your changes could be comitted. I was working on trying to get some performance measurements by using if_re... But I haven't been able to get if_re to work on sparc64... Though if em doesn't need realignment for normal frames, why do we need them for jumbo? Thanks for you help. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."