Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 21:01:00 +0100
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r279236 - head/sys/netinet
Message-ID:  <20150224200100.GA1217@britannica.bec.de>
In-Reply-To: <1424804342.3293.9.camel@freebsd.org>
References:  <201502241257.t1OCv40V097418@svn.freebsd.org> <20150224173413.GF46794@funkthat.com> <1424804342.3293.9.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 24, 2015 at 11:59:02AM -0700, Ian Lepore wrote:
> ETHER_ALIGN is wonderful... if you're on a platform that can DMA to an
> arbitrary boundary.

Isn't it generally more a case of "if the device's DMA engine isn't
extremely bad designed"? There is a strong correlation between devices
not supporting DMA to arbitrary locations and devices requiring a single
data segment. Heck, from a design point of few there is no justification
for not supporting skipping a few byte at the start of the receive. The
device can easily just add two bytes of noise to make it double word
aligned if necessary... VIA Rhine forever!

Joerg



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