crypto: qat - Add load balancing across devices
authorTadeusz Struk <tadeusz.struk@intel.com>
Wed, 16 Sep 2015 12:33:06 +0000 (05:33 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:00:40 +0000 (22:00 +0800)
commit3cc43a0a5cea4fe2a2107e77500d6032b9bcafde
treea6a1f39f94369481ebb8a71f13fead7d93d3f8c7
parent859e58055a36e7a4948df614e3c5d872ef153f36
crypto: qat - Add load balancing across devices

Load balancing of crypto instances only used a single device.
There was no problem with that on PF, but since there is only
one or two instance per VF we need to loadbalance across devices.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_crypto.c