svn commit: r257455 - head/sys/net

John-Mark Gurney jmg at funkthat.com
Fri Nov 1 03:22:43 UTC 2013


Andre Oppermann wrote this message on Thu, Oct 31, 2013 at 23:41 +0100:
> >I know of only one modern ARM SoC that's able to DMA network packets on
> >a 2-byte boundary (actually even it requires a 4-byte boundary, but it's
> >willing to stuff the first 16 bits with zeroes and offset everything
> >that follows accordingly).  I'm sure there are others, but it's the
> >exception rather than the rule.
> 
> Talk about foot shooting.  I'm afraid that packet copying may still be
> the least evil option in the grand scheme of things.  IIRC ARM64 will
> be able to do misaligned accesses with only a small performance penalty,
> like x86/AMD64.

LOL.

Really?  You really want to say that it's fine for embeded systems to
loose around half their network performance because we can't make this
change?  Because we can't be bothered to handle the code the correct
way?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the svn-src-head mailing list