summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorOfer Heifetz <oferh@marvell.com>2018-06-28 18:21:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-07-08 19:30:19 +0300
commit9744fec95f0674fbf67b12c42c3784dc299dc904 (patch)
tree2dcff99ca9570b5b587b434e3b9b0f1d4221dea1 /net/tipc
parent6246987932a52c2676a3bab7d624a607aa228e59 (diff)
downloadlinux-9744fec95f0674fbf67b12c42c3784dc299dc904.tar.xz
crypto: inside-secure - remove request list to improve performance
This patch main goal is to improve driver performance by moving the crypto request from a list to a RDR ring shadow. This is possible since there is one producer and one consume for this RDR request shadow and one ring descriptor is left unused. Doing this change eliminates the use of spinlock when accessing the descriptor ring and the need to dynamicaly allocate memory per crypto request. The crypto request is placed in the first RDR shadow descriptor only if there are enough descriptors, when the result handler is invoked, it fetches the first result descriptor from RDR shadow. Signed-off-by: Ofer Heifetz <oferh@marvell.com> Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions