Re: [PATCH ref0] net: add Faraday FTMAC100 10/100 Ethernet driver

From: Eric Dumazet
Date: Tue Mar 01 2011 - 00:53:37 EST


Le mardi 01 mars 2011 Ã 13:45 +0800, Po-Yu Chuang a Ãcrit :
> Hi Eric,
>
> On Sat, Feb 26, 2011 at 2:47 AM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:

> >
> > A compromise would be to use 128 for the allocation, but only copy 64
> > bytes.
>
> I will use this way and submit v7 later.
>

BTW, even with IPV6, the first 64 bytes contain "RPS" header

We changed NET_SKB_PAD a while back and added this comment in
include/linux/skbuff.h

NET_IP_ALIGN(2) + ethernet_header(14) + IP_header(20/40) + ports(8)


--
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/