diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-08-20 20:15:44 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-08-20 20:15:44 +0800 |
commit | c7e6f0e99227b3dcdc5e62f789119e000887ff79 (patch) | |
tree | bb4a79195274df2fd3903ebb41fa475af808b1a3 /arch/csky/abiv1/cacheflush.c | |
parent | dc140045c0cace809af872e3799e8fbe1b7d7f86 (diff) |
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/cacheflush.c')
0 files changed, 0 insertions, 0 deletions