svn commit: r279236 - head/sys/netinet

Joerg Sonnenberger joerg at britannica.bec.de
Tue Feb 24 20:01:44 UTC 2015


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


More information about the svn-src-all mailing list