Re: [PATCH v3] sky2: copy received packets on inefficientunaligned architecture

From: David Miller
Date: Wed Apr 04 2012 - 18:14:25 EST


From: Stephen Hemminger <shemminger@xxxxxxxxxx>
Date: Wed, 4 Apr 2012 15:10:27 -0700

> Modified from original patch from Chris.
>
> The sky2 driver has to have 8 byte alignment of receive buffer
> on some chip versions. On architectures which don't support efficient
> unaligned access this doesn't work very well. The solution is to
> just copy all received packets which is what the driver already
> does for small packets.
>
> This allows the driver to be used on the Tilera TILEmpower-Gx, since
> the tile architecture doesn't currently handle kernel unaligned accesses,
> just userspace.
>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>
> Acked-by: Chris Metcalf <cmetcalf@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/