Spdk/module/bdev/crypto
paul luse 989261d6c3 module/crypto: load balance QAT qp assignment
For the latest QAT devices there are 3 CPMs each with 16 VFs and
2 qp each VF. To load balance for multi-thread operations we want
to assign each new queue pair (QP) on a per CPM (processing module)
basis so this patch assigns the next QP, for QAT,  by taking the
last + 32 modulo the total number of QP. This will results in each new
channel getting a QP on the next CPM.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: Iea608ada68517b6f2faecd45701c7aae6d23a2d0
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477082
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2020-01-17 14:07:12 +00:00
..
Makefile mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
vbdev_crypto_rpc.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
vbdev_crypto.c module/crypto: load balance QAT qp assignment 2020-01-17 14:07:12 +00:00
vbdev_crypto.h mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00