doc https://docs.qq.com/doc/DRVBtbVh6TkdaTFVB
memcpy ++ ./uadk_tool/uadk_tool benchmark --alg zlib --mode sva --opt 0 --sync --pktlen 1024 algname: length: perf: iops: CPU_rate: zlib 1024Bytes 336851.00KiB/s 336.9Kops 293.67%
user pointer // --user ++ ./uadk_tool/uadk_tool benchmark --alg zlib --mode sva --user --opt 0 --sync --pktlen 1024 algname: length: perf: iops: CPU_rate: zlib 1024Bytes 522916.00KiB/s 522.9Kops 299.67%
sgl // --sgl ++ ./uadk_tool/uadk_tool benchmark --alg zlib --mode sva --sgl --opt 0 --sync --pktlen 1024 algname: length: perf: iops: CPU_rate: zlib 1024Bytes 415577.00KiB/s 415.6Kops 299.67%
Zhangfei Gao (7): uadk: remove nosva limitation uadk: add wd_reserve_mem & wd_is_noiommu for nosva uadk: add blkpool uadk: ctxs call wd_blkpool_new at init and delete blkpool at uninit wd_comp: add wd_comp_setup_blkpool wd_comp: support nosva case uadk_tool: support nosva test
Makefile.am | 1 + drv/hisi_comp.c | 98 ++- drv/hisi_qm_udrv.c | 14 +- drv/hisi_qm_udrv.h | 3 +- drv/hisi_sec.c | 8 +- include/drv/wd_comp_drv.h | 7 + include/uacce.h | 6 +- include/wd.h | 16 + include/wd_alg_common.h | 9 + include/wd_bmm.h | 66 ++ include/wd_comp.h | 2 + libwd.map | 10 + libwd_comp.map | 1 + uadk_tool/benchmark/uadk_benchmark.c | 8 + uadk_tool/benchmark/uadk_benchmark.h | 2 + uadk_tool/benchmark/zip_uadk_benchmark.c | 146 ++++- wd.c | 34 +- wd_alg.c | 44 +- wd_bmm.c | 739 +++++++++++++++++++++++ wd_comp.c | 84 +++ wd_util.c | 13 +- 21 files changed, 1213 insertions(+), 98 deletions(-) create mode 100644 include/wd_bmm.h create mode 100644 wd_bmm.c