em(4) patch

Sten Spans sten at blinkenlights.nl
Fri Apr 15 03:10:00 PDT 2005


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


More information about the freebsd-sparc64 mailing list