[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375052482.3669.54.camel@edumazet-glaptop>
Date: Sun, 28 Jul 2013 16:01:22 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ben Hutchings <bhutchings@...arflare.com>
Cc: Neil Horman <nhorman@...driver.com>,
David Miller <davem@...emloft.net>,
luis.henriques@...onical.com, netdev@...r.kernel.org,
jcliburn@...il.com, stable@...r.kernel.org
Subject: Re: [net PATCH] atl1c: Fix misuse of netdev_alloc_skb in refilling
rx ring
On Sun, 2013-07-28 at 21:22 +0100, Ben Hutchings wrote:
>
> Since we know lengths > 4K work, perhaps it would be worth testing with
> the fragment cache size reduced to 16K? The driver would never
> previously have used RX buffers crossing 16K boundaries, except if SLOB
> was used (and that's an unlikely combination).
Sure, please note the following maths :
NET_SKB_PAD + 1536 + sizeof(struct skb_shared_info) = 1920
16384/1920 = 8
32768/1920 = 17
I don't think atl1c is used in any critical host (given it doesn't even
provide RX checksums and GRO ...), so I will provide a patch doing mere
page allocations.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists