]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - irq balance
authorSven Auhagen <Sven.Auhagen@voleatech.de>
Tue, 21 Jul 2020 04:37:59 +0000 (06:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:57 +0000 (11:35 +0200)
commit23e10a6b46ccbee5913838cd6b9fba3998bfd80c
treecd6baea28a89ad5bd8dc8a41a1eafd9c7616dda7
parent2af93f8d105271ba32dd261aa72c18b0549639b9
crypto: inside-secure - irq balance

[ Upstream commit 66362cd71de37c1613bdefbde9b8433625267a07 ]

Balance the irqs of the inside secure driver over all
available cpus.
Currently all interrupts are handled by the first CPU.

From my testing with IPSec AES-GCM 256
on my MCbin with 4 Cores I get a 50% speed increase:

Before the patch: 99.73 Kpps
With the patch: 151.25 Kpps

Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: ca25c00ccbc5 ("crypto: safexcel - Cleanup ring IRQ workqueues on load failure")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h