crypto: qat - move PFVF compat checker to a function
authorXin Zeng <xin.zeng@intel.com>
Wed, 6 Mar 2024 13:58:48 +0000 (21:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Apr 2024 02:47:43 +0000 (10:47 +0800)
commit867e801005e9e76f7ae2d143fed0da440150c64d
tree032eac584ba5528bcf256275f9288909b23aa52b
parent1f8d6a163c20751629801c737a8cfd06f2002b4c
crypto: qat - move PFVF compat checker to a function

Move the code that implements VF version compatibility on the PF side to
a separate function so that it can be reused when doing VM live
migration.

This does not introduce any functional change.

Signed-off-by: Xin Zeng <xin.zeng@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_pfvf_pf_proto.c
drivers/crypto/intel/qat/qat_common/adf_pfvf_utils.h