mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
[ARM] tegra: fix packet alignment and padding
tegra's DMA controller expects to start transfers at word boundaries, and the standard packet alignment (2) was resulting in data corruption also, provide a full cacheline of padding between skbuffs, to eliminate coherency issues between the processor and USB networking devices. Change-Id: Ibb508b512f43c8934d35eb182c8738370b7be585 Signed-off-by: Gary King <gking@nvidia.com>
This commit is contained in:
@@ -24,5 +24,8 @@
|
||||
/* physical offset of RAM */
|
||||
#define PHYS_OFFSET UL(0)
|
||||
|
||||
#define NET_IP_ALIGN 0
|
||||
#define NET_SKB_PAD L1_CACHE_BYTES
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user