1
0
Fork 0
alistair23-linux/drivers/crypto/caam
Vakul Garg 6ed01097f4 crypto: caam/qi2 - Increase napi budget to process more caam responses
While running ipsec processing for traffic through multiple network
interfaces, it is observed that caam driver gets less time to poll
responses from caam block compared to ethernet driver. This is because
ethernet driver has as many napi instances per cpu as the number of
ethernet interfaces in system. Therefore, caam driver's napi executes
lesser than the ethernet driver's napi instances. This results in
situation that we end up submitting more requests to caam (which it is
able to finish off quite fast), but don't dequeue the responses at same
rate. This makes caam response FQs bloat with large number of frames. In
some situations, it makes kernel crash due to out-of-memory. To prevent
it We increase the napi budget of dpseci driver to a big value so that
caam driver is able to drain its response queues at enough rate.

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-07-27 21:08:33 +10:00
..
Kconfig crypto: caam - convert top level drivers to libraries 2019-05-23 14:01:03 +08:00
Makefile crypto: caam - convert top level drivers to libraries 2019-05-23 14:01:03 +08:00
caamalg.c crypto: caam - update IV using HW support 2019-06-20 14:18:33 +08:00
caamalg_desc.c crypto: caam - update IV using HW support 2019-06-20 14:18:33 +08:00
caamalg_desc.h crypto: caam - update IV using HW support 2019-06-20 14:18:33 +08:00
caamalg_qi.c crypto: caam - update IV using HW support 2019-06-20 14:18:33 +08:00
caamalg_qi2.c crypto: caam - update IV using HW support 2019-06-20 14:18:33 +08:00
caamalg_qi2.h crypto: caam/qi2 - Increase napi budget to process more caam responses 2019-07-27 21:08:33 +10:00
caamhash.c crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00
caamhash_desc.c crypto: caam - add support for cmac(aes) 2019-02-01 14:42:03 +08:00
caamhash_desc.h crypto: caam - add support for cmac(aes) 2019-02-01 14:42:03 +08:00
caampkc.c crypto: drivers - Use kmemdup rather than duplicating its implementation 2019-07-26 15:03:59 +10:00
caampkc.h crypto: caam - strip input without changing crypto request 2019-06-06 14:38:57 +08:00
caamrng.c crypto: caam - print debug messages at debug level 2019-05-30 15:35:45 +08:00
compat.h crypto: caam - add ecb(*) support 2019-02-15 13:21:55 +08:00
ctrl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2019-06-20 14:17:24 +08:00
ctrl.h crypto: caam - staticize caam_get_era() 2018-04-21 00:58:36 +08:00
desc.h crypto: caam - fix SHA support detection 2019-01-10 21:37:31 +08:00
desc_constr.h crypto: caam - fix S/G table passing page boundary 2019-05-23 14:01:03 +08:00
dpseci.c crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08:00
dpseci.h crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08:00
dpseci_cmd.h crypto: caam - add DPAA2-CAAM (DPSECI) backend API 2018-09-21 13:24:51 +08:00
error.c crypto: caam - print messages in caam_dump_sg at debug level 2019-05-30 15:35:45 +08:00
error.h crypto: caam - print messages in caam_dump_sg at debug level 2019-05-30 15:35:45 +08:00
intern.h crypto: caam/qi - fix address translations with IOMMU enabled 2019-05-23 14:01:04 +08:00
jr.c crypto: caam - convert top level drivers to libraries 2019-05-23 14:01:03 +08:00
jr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
key_gen.c crypto: caam - print debug messages at debug level 2019-05-30 15:35:45 +08:00
key_gen.h crypto: caam - add Derived Key Protocol (DKP) support 2017-12-28 17:56:48 +11:00
pdb.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pkc_desc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qi.c crypto: caam/qi - fix address translations with IOMMU enabled 2019-05-23 14:01:04 +08:00
qi.h crypto: caam/qi - simplify CGR allocation, freeing 2018-10-17 14:14:46 +08:00
regs.h Revert "crypto: caam/jr - Remove extra memory barrier during job ring dequeue" 2019-05-09 13:20:48 +08:00
sg_sw_qm.h crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00
sg_sw_qm2.h crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00
sg_sw_sec4.h crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00