diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-08-20 14:15:44 +0200 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-08-20 14:15:44 +0200 |
commit | c7e6f0e99227b3dcdc5e62f789119e000887ff79 (patch) | |
tree | bb4a79195274df2fd3903ebb41fa475af808b1a3 /arch/csky/abiv1/inc/abi/cacheflush.h | |
parent | csky: Fixup defer cache flush for 610 (diff) | |
download | linux-c7e6f0e99227b3dcdc5e62f789119e000887ff79.tar.xz linux-c7e6f0e99227b3dcdc5e62f789119e000887ff79.zip |
csky: Support kernel non-aligned access
We prohibit non-aligned access in kernel mode, but some special NIC
driver needs to support kernel-state unaligned access. For example,
when the bus does not support unaligned access, IP header parsing
will cause non-aligned access and driver does not recopy the skb
buffer to dma for performance reasons.
Added kernel_enable & user_enable to control unaligned access and
added kernel_count & user_count for statistical unaligned access.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/abiv1/inc/abi/cacheflush.h')
0 files changed, 0 insertions, 0 deletions