commit | 81760ea6a95ad4c41273a71052f61b9f087b5753 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 21 16:55:13 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 23 18:29:52 2016 +0800 |
tree | 95bb1547e029b2b3c86313e419b8db53e53b0820 | |
parent | 47a1f0b2d1d11350ffecbfebc4105116bf6c133e [diff] |
crypto: cryptd - Add helpers to check whether a tfm is queued This patch adds helpers to check whether a given tfm is currently queued. This is meant to be used by ablk_helper and similar entities to ensure that no reordering is introduced because of requests queued in cryptd with respect to requests being processed in softirq context. The per-cpu queue length limit is also increased to 1000 in line with network limits. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>