Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2014 20:44:40 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: arm alignment faults...
Message-ID:  <CAJ-VmokxO5vfOOSvPrTfnda6gSKOPpJQF3kto3AdgUhvbFgNYg@mail.gmail.com>
In-Reply-To: <20140629033823.GN1560@funkthat.com>
References:  <20140629033823.GN1560@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 June 2014 20:38, John-Mark Gurney <jmg@funkthat.com> wrote:
> So, one of the little projects I'd like to see is the removal of
> ETHER_ALIGN from the tree..  This bogosity can (and does) cause the use
> of bouncing durning DMA ops on all ethernet frames...

Well, as long as you're not doing it by forcing the various CPUs to
handle unaligned accesses.

The cost of those unaligned accesses on some CPUs that support them is
not trivial. We benchmarked some of the ARM cores at Qualcomm back
when looking to migrate stuff to ARM and it wasn't very quick.



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokxO5vfOOSvPrTfnda6gSKOPpJQF3kto3AdgUhvbFgNYg>