aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorBibo Mao <[email protected]>2023-05-01 17:19:43 +0800
committerHuacai Chen <[email protected]>2023-05-01 17:19:43 +0800
commit69e3a6aa6be21de6aaf38130fad97ecde34a193c (patch)
tree6fba93ff034b3a33f1f09989bf702e6f54b2d8a7 /lib/mpi/mpi-mod.c
parent8941e93ca5906fcca87dc74255b58054ec4d7868 (diff)
LoongArch: Add checksum optimization for 64-bit system
LoongArch platform is 64-bit system, which supports 8-bytes memory accessing, but generic checksum functions use 4-byte memory access. So add 8-bytes memory access optimization for checksum functions on LoongArch. And the code comes from arm64 system. When network hw checksum is disabled, iperf performance improves about 10% with this patch. Signed-off-by: Bibo Mao <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions