openwrt-pf/target/linux/mvebu
Aleksander Jan Bajkowski 1480790ea9 mvebu: enable coherent crypto on armada 37x0
Armada 37xx has coherent bus, similar to Armada 7k/8k. Cache
synchronization consumes a lot of CPU cycles. Enabling coherent DMA
increases IOPS performance up to 4 times. Some numbers:
					Data length
Algo		MB	   16	  64	 128	 256	1024	1424	4096
DES-ECB		1	+21 %	+5 %	+5 %	+7 %	+7 %	+3 %	+20 %
AES-ECB-128	1	+21 %	+6 %	+6 %	+6 %	+9 %	+8 %	+22 %
AES-CBC-128	1	+21 %	+5 %	+5 %	+5 %	+6 %	+7 %	+23 %
AES-CBC-256	1	+23 %	+7 %	+8 %	+6 %	+11 %	+13 %	+20 %

					Data length
Algo		MB	    16	    64	   256	  512	  1024	 1420	 4096	 8192
AES-GCM-128	1	 +44 %	 +42 %	 +31 %	 +32 %	 +27 %	+30 %	+32 %	+30 %
AES-GCM-128	8	+319 %	+326 %	+163 %	+148 %	 +75 %	+72 %	+74 %	+41 %
AES-GCM-128	4096	+123 %	+128 %	 +90 %	 +83 %	+116 %	+59 %	+38 %	+28 %

					Data length
Algo		MB	   16	   64	  256	 1024	 2048	 4096	 8192
MD5		1	+21 %	+15 %	+29 %	+25 %	+50 %	+16 %	+20 %
SHA1		1	+24 %	+22 %	+27 %	+22 %	+18 %	+20 %	+20 %
SHA256		1	+30 %	+24 %	+25 %	+26 %	+21 %	+41 %	+19 %
SHA512		1	 +4 %	 +3 %	 +8 %	+10 %	+24 %	+10 %	+11 %

Tested on Armada 3720. Platform passes testmgr selftests.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/23646
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-06-04 22:44:10 +02:00
..
base-files/lib/preinit
cortexa9 kernel/mvebu: restore files for v6.12 2026-05-12 21:01:06 +02:00
cortexa53 mvebu: cortexa53: uDPU/eDPU: update active bootscript as well 2026-05-26 19:35:42 +02:00
cortexa72 mvebu: 6.18: refresh kernel config 2026-05-12 21:01:06 +02:00
files/arch mvebu: add support for RIPE Atlas Probe v5 2026-02-12 22:21:51 +01:00
image mvebu: cortexa53: uDPU/eDPU convert to dual firmware (A/B) 2026-05-26 19:35:42 +02:00
patches-6.12 mvebu: enable coherent crypto on armada 37x0 2026-06-04 22:44:10 +02:00
patches-6.18 mvebu: enable coherent crypto on armada 37x0 2026-06-04 22:44:10 +02:00
config-6.12 kernel/mvebu: restore files for v6.12 2026-05-12 21:01:06 +02:00
config-6.18 mvebu: 6.18: refresh kernel config 2026-05-12 21:01:06 +02:00
Makefile mvebu: add 6.18 testing kernel 2026-05-12 21:01:06 +02:00
modules.mk mvebu: make leds-turris-omnia depend on turris-omnia-mcu 2026-05-12 21:01:06 +02:00