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)
commitdf9e21e100a65618b56971ec8da4975eb60e919d
tree771018555bfed1c11ec798e4df077001a26356e9
parent0f74fbf77d457c692e108c91475bb7a46aa6d60c
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