crypto/qat: move code into appropriate files
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 13 Jun 2018 12:14:07 +0000 (14:14 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 27 Jun 2018 23:25:33 +0000 (01:25 +0200)
commitf9a3d7f68f05644ec3e3ef3854535ef25ed2d3df
tree89bbd2b1c3191ad8f955684f2a654429dd4ce084
parentc30a9da4ed93746cc20013542dd3558a1757d793
crypto/qat: move code into appropriate files

Move all code into appropriate files, no actual code changes. Specifically:
 - Rename rte_qat_cryptodev.c to qat_sym_pmd.c
 - Create qat_sym_pmd.h and populate with fn prototypes for qat_sym_pmd.c
 - Create qat_comp_pmd.c/.h and populate with placeholder functions
 - Create qat_asym_pmd.c/.h and populate with placeholder functions
 - Rename qat_crypto_capabilities.h to qat_sym_capabilities.h
 - Move CRYPTODEV_NAME_QAT_SYM_PMD from qat_common.h to qat_sym_pmd.h
 - Move qat_sym_dev_private from qat_device.h to qat_sym_pmd.h
 - Move prototype for qat_sym_dev_info_get frm qat_device.h 2 qat_sym_pmd.h
 - Move all qat_device.c sym dev_ops fns to qat_sym_pmd.c file
 - Move all qat_sym.c dev_ops fns to qat_sym_pmd.c file
 - Remove unused header file #includes from all files.
 - Move pci_id_qat_map, probe/release/register from
   rte_qat_cryptodev.c to qat_device.c
 - Moved stray comment for bpi_cipher_ctx_init() from qat_sym.c
   to qat_sym_session.c
 - Changed all files to use SPDX license header

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
21 files changed:
drivers/crypto/qat/Makefile
drivers/crypto/qat/meson.build
drivers/crypto/qat/qat_asym_pmd.c [new file with mode: 0644]
drivers/crypto/qat/qat_asym_pmd.h [new file with mode: 0644]
drivers/crypto/qat/qat_common.c
drivers/crypto/qat/qat_common.h
drivers/crypto/qat/qat_comp_pmd.c [new file with mode: 0644]
drivers/crypto/qat/qat_comp_pmd.h [new file with mode: 0644]
drivers/crypto/qat/qat_crypto_capabilities.h [deleted file]
drivers/crypto/qat/qat_device.c
drivers/crypto/qat/qat_device.h
drivers/crypto/qat/qat_qp.c
drivers/crypto/qat/qat_qp.h
drivers/crypto/qat/qat_sym.c
drivers/crypto/qat/qat_sym.h
drivers/crypto/qat/qat_sym_capabilities.h [new file with mode: 0644]
drivers/crypto/qat/qat_sym_pmd.c [new file with mode: 0644]
drivers/crypto/qat/qat_sym_pmd.h [new file with mode: 0644]
drivers/crypto/qat/qat_sym_session.c
drivers/crypto/qat/qat_sym_session.h
drivers/crypto/qat/rte_qat_cryptodev.c [deleted file]