Skip to content
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

async: add callback method #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaozhangfei
Copy link
Collaborator

The app uses ASYNC_WAIT_CTX_set_callback and
engine/provider uses ASYNC_WAIT_CTX_get_callback to check Otherwise return to the fd method.

Some uncertainties:

  1. no test app, speed does not support callback QAT uses its application.

  2. engine can report status via ASYNC_WAIT_CTX_set_status, which is not used in this patch

The app uses ASYNC_WAIT_CTX_set_callback and
engine/provider uses ASYNC_WAIT_CTX_get_callback to check,
otherwise return to the fd method.

Some uncertainties:
1. no test app, speed does not support callback,
while QAT uses its application.

2. engine can report status via ASYNC_WAIT_CTX_set_status,
which is not used in this patch

Signed-off-by: Zhangfei Gao <[email protected]>
@gaozhangfei gaozhangfei force-pushed the callback branch 2 times, most recently from c8ebb83 to f015022 Compare July 3, 2024 15:03
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.

2 participants