diff options
author | 2023-12-24 10:21:36 +0200 | |
---|---|---|
committer | 2023-12-29 11:25:56 +0800 | |
commit | a3c6f4f4d249cecaf2f34471aadbfb4f4ef57298 (patch) | |
tree | b7de12de1d5907b98bf241f33855ee921ec6f918 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: sahara - fix processing hash requests with req->nbytes < sg->length (diff) | |
download | wireguard-linux-a3c6f4f4d249cecaf2f34471aadbfb4f4ef57298.tar.xz wireguard-linux-a3c6f4f4d249cecaf2f34471aadbfb4f4ef57298.zip |
crypto: sahara - do not resize req->src when doing hash operations
When testing sahara sha256 speed performance with tcrypt (mode=404) on
imx53-qsrb board, multiple "Invalid numbers of src SG." errors are
reported. This was traced to sahara_walk_and_recalc() resizing req->src
and causing the subsequent dma_map_sg() call to fail.
Now that the previous commit fixed sahara_sha_hw_links_create() to take
into account the actual request size, rather than relying on sg->length
values, the resize operation is no longer necessary.
Therefore, remove sahara_walk_and_recalc() and simplify associated logic.
Fixes: 5a2bb93f5992 ("crypto: sahara - add support for SHA1/256")
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions