On Tue, Jul 21, 2020 at 06:37:59AM +0200, Sven Auhagen wrote: > 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@xxxxxxxxxxxx> > --- > v3: > * use NUMA_NO_NODE constant > > v2: > * use cpumask_local_spread and remove affinity on > module remove > > drivers/crypto/inside-secure/safexcel.c | 13 +++++++++++-- > drivers/crypto/inside-secure/safexcel.h | 3 +++ > 2 files changed, 14 insertions(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt