diff options
author | Vakul Garg <vakul.garg@nxp.com> | 2018-08-10 18:16:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 18:41:09 +0300 |
commit | 0b243d004ea640875115d1500ec429a3e9f9fae9 (patch) | |
tree | 2388709906c2696baa252891f4845d8a680b8369 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 78cbac647e61fb20ad615075949ea77cedf74e0c (diff) | |
download | linux-0b243d004ea640875115d1500ec429a3e9f9fae9.tar.xz |
net/tls: Combined memory allocation for decryption request
For preparing decryption request, several memory chunks are required
(aead_req, sgin, sgout, iv, aad). For submitting the decrypt request to
an accelerator, it is required that the buffers which are read by the
accelerator must be dma-able and not come from stack. The buffers for
aad and iv can be separately kmalloced each, but it is inefficient.
This patch does a combined allocation for preparing decryption request
and then segments into aead_req || sgin || sgout || iv || aad.
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions