Date: Thu, 14 Apr 2005 22:46:27 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Pyun YongHyeon <yongari@rndsoft.co.kr> Cc: freebsd-sparc64@freebsd.org Subject: Re: em(4) patch Message-ID: <20050415054627.GR56487@funkthat.com> In-Reply-To: <20050415051112.GE7393@michelle.rndsoft.co.kr> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050415054627.GR56487>