]> git.baikalelectronics.ru Git - kernel.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)
commit734d53d42c5f9bb4c454adf65a7191080dae964a
tree3b28fcadcc0bea7955a6d98362f612cee55fde01
parent3e06b98947d805b9b12e64cf2d3b7f6d5fa138d8
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