aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Bourgoin <[email protected]>2023-07-13 17:15:16 +0200
committerHerbert Xu <[email protected]>2023-07-22 13:59:38 +1200
commita10618f397062823a84cd4abedc51f46b9d4410f (patch)
tree182792fc7c9f693e3f2059850e9c009da2f39553 /tools/perf/scripts/python
parentd9c83f71eeceed2cb54bb78be84f2d4055fd9a1f (diff)
crypto: stm32 - check request size and scatterlist size when using DMA.
When we are sending the data to HASH with the DMA, we send all the data provided in the scatterlists of the request. But in some cases (ex : tcrypt performances tests), we should only send req->nbytes When iterating through the scatterlist we verify if it is the last scatterlist or if the number of bytes sent plus the data of the current scatterlist is superior of the total number of bytes to hash. Signed-off-by: Thomas Bourgoin <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions