diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2017-02-10 14:07:19 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-15 13:23:39 +0800 |
commit | fa0c92db1eb818a36c1b837b5f6da7e95b181247 (patch) | |
tree | ea919e3f21fb0fbff4c7e5dd6e4eadf88904371e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fd144d83cc42cfe6c82cba76bc0113dacd53a4d4 (diff) |
crypto: caam - replace sg_count() with sg_nents_for_len()
Replace internal sg_count() function and the convoluted logic
around it with the standard sg_nents_for_len() function.
src_nents, dst_nents now hold the number of SW S/G entries,
instead of the HW S/G table entries.
With this change, null (zero length) input data for AEAD case
needs to be handled in a visible way. req->src is no longer
(un)mapped, pointer address is set to 0 in SEQ IN PTR command.
Signed-off-by: Horia Geantă <horia.geanta@nxp.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