crypto: qat - reorganize PFVF code
authorMarco Chiappero <marco.chiappero@intel.com>
Wed, 17 Nov 2021 14:30:51 +0000 (14:30 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Nov 2021 05:20:47 +0000 (16:20 +1100)
commit09ce899a592f7a8ee19857ad0ef394e31be83c1d
tree099750547e750568614a8b0b8d29f68bbafe1447
parent1ea7c2beca5b200240f6480d36ebd6ca775a5fca
crypto: qat - reorganize PFVF code

Reorganize the structure of the PFVF code by moving the content of
adf_pf2vf_msg.c and adf_vf2pf_msg.c.

The logic that handles high level messages has been moved to
adf_pfvf_pf_msg.c and adf_pfvf_vf_msg.c.
The implementation of low level communication primitives and the
protocol is now included in adf_pfvf_pf_proto.c and adf_pfvf_vf_proto.c.

In addition, the file adf_pf2vf_msg.h has been renamed in adf_pfvf_msg.h
since it common to PF and VF and the copyright date for the touched
files has been updated.

Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Co-developed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
22 files changed:
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c
drivers/crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.c
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c
drivers/crypto/qat/qat_common/Makefile
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/adf_gen2_pfvf.c
drivers/crypto/qat/qat_common/adf_pfvf_msg.h [moved from drivers/crypto/qat/qat_common/adf_pf2vf_msg.h with 96% similarity]
drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.c [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.h [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c [moved from drivers/crypto/qat/qat_common/adf_pf2vf_msg.c with 53% similarity]
drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.h [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.c [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.h [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.c [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.h [new file with mode: 0644]
drivers/crypto/qat/qat_common/adf_sriov.c
drivers/crypto/qat/qat_common/adf_vf2pf_msg.c [deleted file]
drivers/crypto/qat/qat_common/adf_vf_isr.c
drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c
drivers/crypto/qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.c