linux_dsm_epyc7002/arch/microblaze
Eric Dumazet 5933dd2f02 net: NET_SKB_PAD should depend on L1_CACHE_BYTES
In old kernels, NET_SKB_PAD was defined to 16.

Then commit d6301d3dd1 (net: Increase default NET_SKB_PAD to 32), and
commit 18e8c134f4 (net: Increase NET_SKB_PAD to 64 bytes) increased it
to 64.

While first patch was governed by network stack needs, second was more
driven by performance issues on current hardware. Real intent was to
align data on a cache line boundary.

So use max(32, L1_CACHE_BYTES) instead of 64, to be more generic.

Remove microblaze and powerpc own NET_SKB_PAD definitions.

Thanks to Alexander Duyck and David Miller for their comments.

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-15 18:16:43 -07:00
..
boot
configs microblaze: Defconfig update 2010-05-06 11:37:42 +02:00
include/asm net: NET_SKB_PAD should depend on L1_CACHE_BYTES 2010-06-15 18:16:43 -07:00
kernel Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
lib
mm microblaze: export assembly functions used by modules 2010-05-13 12:11:42 +02:00
oprofile
pci microblaze: Remove powerpc code from Microblaze port 2010-05-13 12:09:54 +02:00
platform
Kconfig
Kconfig.debug
Makefile