]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - enable legacy VFs
authorTadeusz Struk <tadeusz.struk@intel.com>
Mon, 24 Aug 2015 18:56:02 +0000 (11:56 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Aug 2015 13:13:19 +0000 (21:13 +0800)
commit73af8412eaaf31ee0c107d9415a168c72492fdc2
tree771018555bfed1c11ec798e4df077001a26356e9
parenta3c5e3314c95f05b112a2cfd2bcde6b74f8b97c6
crypto: qat - enable legacy VFs

We need to support legacy VFs as well as VFs running on different OSes.
To do so the compatibility check need needs to be relaxed.
This patch moves the logic responsible for VF to PF version and
compatibility checking from adfsriov.c to adf_pf2vf_msg.c,
where it belongs, and changes the logic enable legacy VFs.

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