diff options
| author | Iuliana Prodan <[email protected]> | 2020-02-12 19:55:20 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-02-22 09:25:47 +0800 |
| commit | 4d370a1036958d7df9f1492c345b4984a4eba7f6 (patch) | |
| tree | 77113940ba078bb828036aec4d3a00f321ac81ab /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | d53e44fe980ba7325ac60f85312c9facf78fbba1 (diff) | |
crypto: caam - change return code in caam_jr_enqueue function
Based on commit 6b80ea389a0b ("crypto: change transient busy return code to -ENOSPC"),
change the return code of caam_jr_enqueue function to -EINPROGRESS, in
case of success, -ENOSPC in case the CAAM is busy (has no space left
in job ring queue), -EIO if it cannot map the caller's descriptor.
Update, also, the cases for resource-freeing for each algorithm type.
This is done for later use, on backlogging support in CAAM.
Signed-off-by: Iuliana Prodan <[email protected]>
Reviewed-by: Horia Geanta <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions