Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "microblaze: Kill NET_SKB_PAD and NET_IP_ALIGN overrides."

This reverts commit 39e0786d3cf39c6d2f47b4818ae2da8b8ebc9ce2.

On request from microblaze developers, they are going to handle
this differently.

Signed-off-by: David S. Miller <davem@davemloft.net>

+10
+10
arch/microblaze/include/asm/system.h
··· 97 97 98 98 #define arch_align_stack(x) (x) 99 99 100 + /* 101 + * MicroBlaze doesn't handle unaligned accesses in hardware. 102 + * 103 + * Based on this we force the IP header alignment in network drivers. 104 + * We also modify NET_SKB_PAD to be a cacheline in size, thus maintaining 105 + * cacheline alignment of buffers. 106 + */ 107 + #define NET_IP_ALIGN 2 108 + #define NET_SKB_PAD L1_CACHE_BYTES 109 + 100 110 #endif /* _ASM_MICROBLAZE_SYSTEM_H */