-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sched 12.25 #604
base: master
Are you sure you want to change the base?
Sched 12.25 #604
Commits on Jan 3, 2024
-
1. alloc_sess will pick driver according to setup.para.task_type & alg, will reuse task_type & alg from init2 if no setup.para to compatible with v2 will reuse setting.driver to compatible with v1 2. alloc_sess will add drivers to sched.drv[] 3. poll_ctx will poll all drivers in sched.drv[] 4. sw and hw will reuse common resources: sched, pool and ctxs. 5. Only hw will request real ctxs. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 5c814bb - Browse repository at this point
Copy the full SHA 5c814bbView commit details -
cipher: add op_ctx to make sw easier
sw has no hw_ctx, but still need ctx_id to get pool msg for multi-threads. so use op_ctx taking info like ctx_id and mode: sync/async. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for dfe0bb7 - Browse repository at this point
Copy the full SHA dfe0bb7View commit details -
1. alloc_sess will pick driver according to setup.para.task_type & alg, will reuse task_type & alg from init2 if no setup.para to compatible with v2 will reuse setting.driver to compatible with v1 2. alloc_sess will add drivers to sched.drv[] 3. poll_ctx will poll all drivers in sched.drv[] 4. sw and hw will reuse common resources: sched, pool and ctxs. 5. Only hw will request real ctxs. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 44a23b6 - Browse repository at this point
Copy the full SHA 44a23b6View commit details -
sw has no hw_ctx, but still need ctx_id to get pool msg for multi-threads. so use op_ctx taking info like ctx_id and mode: sync/async. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 162c2ca - Browse repository at this point
Copy the full SHA 162c2caView commit details -
Adding zlib drv to simulate cpu instruction driver
In order to simulate cpu instruction accelerator, this patch adds zlib drv, which does not require accelerator at all. So may not require wd_xxx_init, and ctx and sched which relates to queue. Btw, zlib is required. yum install zlib-devel apt-get install zlib1g-dev Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for fd67885 - Browse repository at this point
Copy the full SHA fd67885View commit details -
uadk/alg: let UADK_ALG_SOFT register to uadk
Will use hisi_zlib to test adapter, so let UADK_ALG_SOFT register to uadk Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 0503684 - Browse repository at this point
Copy the full SHA 0503684View commit details -
wd_util: consider sw has no dev, no hw ctx or op
sw and hw will share common resources like ctxs and pool. sw may works on platform no accerator dev, or has dev but no ctx, or sw driver has no op. Ignore these error as normal cases. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for f496c66 - Browse repository at this point
Copy the full SHA f496c66View commit details -
1. alloc_sess will pick driver according to setup.para.task_type & alg, will reuse task_type & alg from init2 if no setup.para to compatible with v2 will reuse setting.driver to compatible with v1 2. alloc_sess will add drivers to sched.drv[] 3. poll_ctx will poll all drivers in sched.drv[] 4. sw and hw will reuse common resources: sched, pool and ctxs. 5. Only hw will request real ctxs. 6. alloc_sess will parse para.alg to set digest_type and digest_mode Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 17102da - Browse repository at this point
Copy the full SHA 17102daView commit details -
digest: add op_ctx to make sw easier
sw has no hw_ctx, but still need ctx_id to get pool msg for multi-threads. so use op_ctx taking info like ctx_id and mode: sync/async. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 59b82af - Browse repository at this point
Copy the full SHA 59b82afView commit details
Commits on Jan 4, 2024
-
uadk: wd_request_drv requests drv via alg_task_type
User want to choose sve or ce instruction explicitly, so modify wd_request_drv to request drv via para alg_task_type Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 5e3c716 - Browse repository at this point
Copy the full SHA 5e3c716View commit details
Commits on Jan 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2410285 - Browse repository at this point
Copy the full SHA 2410285View commit details