Skip to content

Comments

Synchronize the code from the master branch to the develop branch.#755

Open
tomismyfriend wants to merge 13 commits intoLinaro:developfrom
tomismyfriend:develop
Open

Synchronize the code from the master branch to the develop branch.#755
tomismyfriend wants to merge 13 commits intoLinaro:developfrom
tomismyfriend:develop

Conversation

@tomismyfriend
Copy link

Some code uploaded to the master branch is not synchronized to the develop branch.

haofang11 and others added 13 commits February 14, 2026 10:43
add testcase for init2 just use cmd --init 2.
default or --init 1 for init interface.

Signed-off-by: Hao Fang <fanghao11@huawei.com>
In wd_deflate_init/wd_inflate_init, the wd_comp_init2_ will be called
to initialize wd_comp. wd_comp_init2_ will return -WD_EEXIST if wd_comp
initialized.

Signed-off-by: Yang Shen <shenyang39@huawei.com>
The zlibwrapper is used for some users who want to use the uadk library
without changing the app source code broad. They can change the app
compression api only by calling the uadk zlibwrapper interface.

But there are some limits left for uadk zlibwrapper use scenes.
First, only some useful interfaces are realized. The zlibwrapper only
support test compression and decompression. Second, the zlib library
has multiple flush types. But the uadk compression now only support
the Z_SYNC_FLUSH and Z_FINISH, others are illegal.

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Added support for init2 performance test function for uadk_tools
of comp module.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Added support for init2 performance test function for uadk_tools
of hpre module.
And fix some code style issues.

Signed-off-by: Weili Qian <qianweili@huawei.com>
wd_xxx_init2 does not take para cparam, which take ctx number.
So default ctx number is used with poor performance.

numactl --cpubind=0 --membind=0 \
uadk_tool benchmark --alg sha512 --mode sva --opt 0 --async --pktlen 8192 \
--seconds 20 --multi 1 --thread 8 --ctxnum 8 --init2
sha512          8192Bytes       3982625.60KiB/s 497.8Kops       1292.90%

after fix:
numactl --cpubind=0 --membind=0 \
uadk_tool benchmark --alg sha512 --mode sva --opt 0 --async --pktlen 8192 \
--seconds 20 --multi 1 --thread 8 --ctxnum 8 --init2
sha512          8192Bytes       11276124.40KiB/s  1409.5Kops    1026.70%

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
The trng module is not required. Therefore, remove the trng module code.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Qi Tao <taoqi10@huawei.com>
…develop branch.

Sync the 2.9 release information from the master branch to the develop branch.

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Add a guideline on how to add a test case into sanity_test.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
python2 is decrepated in some OS releases. Upgrade the script to python3.

Since division is always return with float type in python3, force to use '//'.
It could return with int type.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
In openeuler docker environment, although OpenSSL is compiled and installed
into /usr/local/lib. It's not in the search path of pkg-config.

So add it by manual in conf.sh.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
… develop branch.

Sync the 2.10 release information from the master branch to the develop branch.

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
add testcase cmd --init 2 for init2.
default or --init 1 for init.

Signed-off-by: Hao Fang <fanghao11@huawei.com>
@tomismyfriend
Copy link
Author

lgtm

1 similar comment
@IAMHCHCH
Copy link

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants