]> 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)
commitead1096bf7fc80b0d77d29a6226365b2c7234185
tree771018555bfed1c11ec798e4df077001a26356e9
parentcafd15711fe6e429f7ce34291393d5f0760563d9
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