linux-sg2042/drivers/crypto/caam
Kim Phillips 1a076689cd crypto: caam - disable IRQ coalescing by default
It has been observed that in zero-loss benchmarks, when a
slow traffic rate is being tested, the IRQ timer coalescing
parameter was set too high, and the ethernet controller
would start dropping packets because the job ring back half
wouldn't be executed in time before the ethernet controller
would fill its buffers, thereby significantly reducing the
zero-loss performance figures.

Empirical testing has shown that the best zero-loss performance
is achieved when IRQ coalescing is set to minimum values and/or
turned off, since apparently the job ring driver already implements
an adequately-performing general-purpose IRQ mitigation strategy
in software.

Whilst we could go with minimal count (2-8) and timing settings
(192-256), we prefer just turning h/w coalescing altogether off
to minimize setkey latency (due to split key generation), and
for consistent cross-SoC performance (the SEC vs. core clock
ratio changes).

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2012-06-27 14:42:06 +08:00
..
Kconfig crypto: caam - disable IRQ coalescing by default 2012-06-27 14:42:06 +08:00
Makefile crypto: caam - hwrng support 2012-06-27 14:42:06 +08:00
caamalg.c crypto: caam - chaining support 2012-06-27 14:42:05 +08:00
caamhash.c crypto: caam - chaining support 2012-06-27 14:42:05 +08:00
caamrng.c crypto: caam - hwrng support 2012-06-27 14:42:06 +08:00
compat.h crypto: caam - ahash hmac support 2012-06-27 14:42:05 +08:00
ctrl.c crypto: caam - add support for SEC v5.x RNG4 2012-06-27 14:42:06 +08:00
desc.h crypto: caam - add support for SEC v5.x RNG4 2012-06-27 14:42:06 +08:00
desc_constr.h crypto: caam - support external seq in/out lengths 2012-06-27 14:42:04 +08:00
error.c crypto: caam - add support for SEC v5.x RNG4 2012-06-27 14:42:06 +08:00
error.h crypto: caam - fix printk recursion for long error texts 2011-05-04 15:15:06 +10:00
intern.h crypto: caam - ahash hmac support 2012-06-27 14:42:05 +08:00
jr.c crypto: caam - assign 40-bit masks on SEC v5.0 and above 2012-06-27 14:42:06 +08:00
jr.h crypto: caam - Add support for the Freescale SEC4/CAAM 2011-03-27 10:45:16 +08:00
key_gen.c crypto: caam - refactor key_gen, sg 2012-06-27 14:42:05 +08:00
key_gen.h crypto: caam - refactor key_gen, sg 2012-06-27 14:42:05 +08:00
pdb.h crypto: caam - add PDB (Protocol Descriptor Block) definitions 2012-06-27 14:42:04 +08:00
regs.h crypto: caam - add support for SEC v5.x RNG4 2012-06-27 14:42:06 +08:00
sg_sw_sec4.h crypto: caam - chaining support 2012-06-27 14:42:05 +08:00