summaryrefslogtreecommitdiff
path: root/drivers/crypto/marvell/cesa/cesa.h
diff options
context:
space:
mode:
authorSven Auhagen <Sven.Auhagen@voleatech.de>2020-07-21 07:40:27 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-31 11:09:00 +0300
commit28ee8b0912ca2ff68c2c03ff97bf1c22634c7942 (patch)
treef5d20e35e0dbc007af249cb1fc7e6af97fa36d08 /drivers/crypto/marvell/cesa/cesa.h
parentc6720415907f21b9c53efbe679b96c3cc9d06404 (diff)
downloadlinux-28ee8b0912ca2ff68c2c03ff97bf1c22634c7942.tar.xz
crypto: marvell/cesa - irq balance
Balance the irqs of the marvell cesa driver over all available cpus. Currently all interrupts are handled by the first CPU. From my testing with IPSec AES 256 SHA256 on my clearfog base with 2 Cores I get a 2x speed increase: Before the patch: 26.74 Kpps With the patch: 56.11 Kpps Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell/cesa/cesa.h')
-rw-r--r--drivers/crypto/marvell/cesa/cesa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/marvell/cesa/cesa.h b/drivers/crypto/marvell/cesa/cesa.h
index e8632d5f343f..0c9cbb681e49 100644
--- a/drivers/crypto/marvell/cesa/cesa.h
+++ b/drivers/crypto/marvell/cesa/cesa.h
@@ -457,6 +457,7 @@ struct mv_cesa_engine {
atomic_t load;
struct mv_cesa_tdma_chain chain;
struct list_head complete_queue;
+ int irq;
};
/**