alignment faults in 3.6
Maxime Bizon
mbizon at freebox.fr
Thu Oct 11 07:47:35 EDT 2012
On Thu, 2012-10-11 at 13:28 +0200, Eric Dumazet wrote:
> You probably are aware that a driver can use :
>
> - a fragment to hold the frame given by the hardware, with whatever
> alignment is needed by the hardware.
>
> Then allocate an skb with enough room (128 bytes) to pull the headers as
> needed later.
>
> skb = netdev_alloc_skb_ip_align(dev, 128);
What happen at tx time, supposing that same hardware cannot do SG ?
Aren't we going to memcpy the data into the head ?
--
Maxime
More information about the linux-arm-kernel
mailing list