[v2,0/3] crypto/qat: move files to drivers/common directory
mbox series

Message ID 1528974737-13518-1-git-send-email-tomaszx.jozwiak@intel.com
Headers show
Series
  • crypto/qat: move files to drivers/common directory
Related show

Message

Tomasz Jozwiak June 14, 2018, 11:12 a.m. UTC
This patchset depends on QAT dynamic logging patchset and should be targetig on 18.08.
Patchset refactors the PMD in order that files are split into several
places: common, crypto.
New drivers/common/qat are added and files split between locations.
Also added libcrypto detection and QAT PMD is build only if this library is installed.

Changes for v2:
  -  removed drivers/common/qat/qat 
  -  updated meson.build files 
  -  added description into qat.rst
  -  updated MAINTAINERS file

Tomasz Jozwiak (3):
  crypto/qat: add weak functions
  crypto/qat: add libcrypto detection to Makefile
  crypto/qat: move common qat files to common dir

 MAINTAINERS                                        |  1 +
 config/common_base                                 |  5 ++-
 doc/guides/cryptodevs/qat.rst                      |  9 +++-
 drivers/Makefile                                   |  2 +
 drivers/common/meson.build                         |  2 +-
 drivers/common/qat/Makefile                        | 51 ++++++++++++++++++++++
 drivers/common/qat/meson.build                     | 14 ++++++
 .../qat/qat_adf/adf_transport_access_macros.h      |  0
 .../{crypto => common}/qat/qat_adf/icp_qat_fw.h    |  0
 .../{crypto => common}/qat/qat_adf/icp_qat_fw_la.h |  0
 .../{crypto => common}/qat/qat_adf/icp_qat_hw.h    |  0
 drivers/{crypto => common}/qat/qat_common.c        |  0
 drivers/{crypto => common}/qat/qat_common.h        |  0
 drivers/{crypto => common}/qat/qat_device.c        | 39 ++++++++++++++++-
 drivers/{crypto => common}/qat/qat_device.h        | 20 +++++++++
 drivers/{crypto => common}/qat/qat_logs.c          |  0
 drivers/{crypto => common}/qat/qat_logs.h          |  0
 drivers/{crypto => common}/qat/qat_qp.c            |  0
 drivers/{crypto => common}/qat/qat_qp.h            |  0
 drivers/crypto/Makefile                            |  1 -
 drivers/crypto/qat/Makefile                        | 40 -----------------
 drivers/crypto/qat/README                          |  8 ++++
 drivers/crypto/qat/meson.build                     | 34 +++++++++------
 drivers/crypto/qat/qat_asym_pmd.c                  | 17 --------
 drivers/crypto/qat/qat_asym_pmd.h                  | 15 -------
 drivers/crypto/qat/qat_comp_pmd.c                  | 18 --------
 drivers/crypto/qat/qat_comp_pmd.h                  | 29 ------------
 drivers/crypto/qat/qat_sym.h                       |  9 ++++
 drivers/crypto/qat/qat_sym_pmd.h                   |  5 +++
 29 files changed, 178 insertions(+), 141 deletions(-)
 create mode 100644 drivers/common/qat/Makefile
 create mode 100644 drivers/common/qat/meson.build
 rename drivers/{crypto => common}/qat/qat_adf/adf_transport_access_macros.h (100%)
 rename drivers/{crypto => common}/qat/qat_adf/icp_qat_fw.h (100%)
 rename drivers/{crypto => common}/qat/qat_adf/icp_qat_fw_la.h (100%)
 rename drivers/{crypto => common}/qat/qat_adf/icp_qat_hw.h (100%)
 rename drivers/{crypto => common}/qat/qat_common.c (100%)
 rename drivers/{crypto => common}/qat/qat_common.h (100%)
 rename drivers/{crypto => common}/qat/qat_device.c (88%)
 rename drivers/{crypto => common}/qat/qat_device.h (80%)
 rename drivers/{crypto => common}/qat/qat_logs.c (100%)
 rename drivers/{crypto => common}/qat/qat_logs.h (100%)
 rename drivers/{crypto => common}/qat/qat_qp.c (100%)
 rename drivers/{crypto => common}/qat/qat_qp.h (100%)
 delete mode 100644 drivers/crypto/qat/Makefile
 create mode 100644 drivers/crypto/qat/README
 delete mode 100644 drivers/crypto/qat/qat_asym_pmd.c
 delete mode 100644 drivers/crypto/qat/qat_asym_pmd.h
 delete mode 100644 drivers/crypto/qat/qat_comp_pmd.c
 delete mode 100644 drivers/crypto/qat/qat_comp_pmd.h