From owner-freebsd-sparc64@FreeBSD.ORG Fri Apr 15 10:09:59 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 F138116A4CE for ; Fri, 15 Apr 2005 10:09:59 +0000 (GMT) Received: from ford.blinkenlights.nl (ford.blinkenlights.nl [213.204.211.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 984EB43D1F for ; Fri, 15 Apr 2005 10:09:59 +0000 (GMT) (envelope-from sten@blinkenlights.nl) Received: from tea.blinkenlights.nl (tea.blinkenlights.nl [IPv6:2001:960:301:3:a00:20ff:fe85:fa39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ford.blinkenlights.nl (Postfix) with ESMTP id 2FF073F294; Fri, 15 Apr 2005 12:09:58 +0200 (CEST) Received: by tea.blinkenlights.nl (Postfix, from userid 101) id EBD23265; Fri, 15 Apr 2005 12:09:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tea.blinkenlights.nl (Postfix) with ESMTP id D19C323B; Fri, 15 Apr 2005 12:09:57 +0200 (CEST) Date: Fri, 15 Apr 2005 12:09:57 +0200 (CEST) From: Sten Spans To: Pyun YongHyeon In-Reply-To: <20050415051112.GE7393@michelle.rndsoft.co.kr> Message-ID: References: <20050414092608.GB2855@michelle.rndsoft.co.kr> <20050415023902.GC7393@michelle.rndsoft.co.kr> <20050415042731.GD7393@michelle.rndsoft.co.kr> <20050415051112.GE7393@michelle.rndsoft.co.kr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-sparc64@freebsd.org Subject: Re: em(4) patch X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 10:10:00 -0000 On Fri, 15 Apr 2005, Pyun YongHyeon wrote: > 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. Let's not forget ipv6 please, it needs this fix too, if the code is imported. -- Sten Spans "There is a crack in everything, that's how the light gets in." Leonard Cohen - Anthem