-
Notifications
You must be signed in to change notification settings - Fork 39
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
[PATCH v3] linux-dpdk: crypto: properly sort crypto capabilities #51
Conversation
Checkpatch still throws some minor warnings and most of the crypto validations tests fail with a QAT card:
|
Cipher debug:
Auth:
|
@MatiasElo @psavol @Bill-Fischofer-Linaro
|
@MatiasElo @psavol I've updated PR to include all capabilities (in other words, include duplicates). This should fix testing with QAT card. Also I've opened issue OpenDataPlane/odp#652 to further discuss this. |
@lumag The patch works now with QAT cards. Please fix the remaining checkpatch warnings and I'll add reviewed tag. |
ODP API specifies that cipher & auth capabilities are returned sorted. Currently it is not the case, capabilities of different crypto devices are just concatenated together. Sort them according to the API spec and remove duplicates. Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
@MatiasElo done
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-and-tested-by: Matias Elo [email protected]
Merged. |
ODP API specifies that cipher & auth capabilities are returned sorted.
Currently it is not the case, capabilities of different crypto devices
are just concatenated together. Sort them according to the API spec and
remove duplicates.
Signed-off-by: Dmitry Eremin-Solenikov [email protected]