]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: ccp - Add a module parameter to specify a queue count
authorHook, Gary <Gary.Hook@amd.com>
Tue, 9 Jul 2019 15:07:22 +0000 (15:07 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 12:08:03 +0000 (22:08 +1000)
commitc4a89279086e9c98eba659d7665b1732e0d5e3e3
tree3b28fcadcc0bea7955a6d98362f612cee55fde01
parent93308baf075039dccf347391491773f272cc24f6
crypto: ccp - Add a module parameter to specify a queue count

Add a module parameter to limit the number of queues per CCP. The default
value (nqueues=0) is to set up every available queue on each device.

The count of queues starts from the first one found on the device (which
varies based on the device ID).

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev-v5.c
drivers/crypto/ccp/ccp-dev.c
drivers/crypto/ccp/ccp-dev.h