This patchset introduces new qat driver structure and updates
existing symmetric crypto qat PMD.

The purpose of the change is to isolate QAT generation specific implementations 
from one to another.

It is expected the changes to the specific generation driver code does minimum 
impact to
other generations' implementations. Also adding the support to new features or 
new qat
generation hardware will have zero impact to existing functionalities.

Arek Kusztal (4):
  common/qat: isolate implementations of qat generations
  crypto/qat: isolate implementations of symmetric operations
  crypto/qat: move capabilities initialization to spec files
  common/qat: add extra data to qat pci dev

 drivers/common/qat/dev/qat_dev_gen1.c     | 252 +++++++++
 drivers/common/qat/dev/qat_dev_gen1.h     |  55 ++
 drivers/common/qat/dev/qat_dev_gen2.c     |  39 ++
 drivers/common/qat/dev/qat_dev_gen3.c     |  77 +++
 drivers/common/qat/dev/qat_dev_gen4.c     | 285 ++++++++++
 drivers/common/qat/dev/qat_dev_gen4.h     |  18 +
 drivers/common/qat/meson.build            |  12 +-
 drivers/common/qat/qat_common.h           |   2 +
 drivers/common/qat/qat_device.c           | 183 +++---
 drivers/common/qat/qat_device.h           |  28 +-
 drivers/common/qat/qat_qp.c               | 641 ++++++++--------------
 drivers/common/qat/qat_qp.h               |  54 +-
 drivers/crypto/qat/dev/qat_sym_pmd_gen1.c |  78 +++
 drivers/crypto/qat/dev/qat_sym_pmd_gen1.h |  15 +
 drivers/crypto/qat/dev/qat_sym_pmd_gen2.c | 103 ++++
 drivers/crypto/qat/dev/qat_sym_pmd_gen3.c |  63 +++
 drivers/crypto/qat/dev/qat_sym_pmd_gen4.c | 107 ++++
 drivers/crypto/qat/qat_sym_pmd.c          | 188 ++-----
 drivers/crypto/qat/qat_sym_pmd.h          |  40 ++
 19 files changed, 1540 insertions(+), 700 deletions(-)
 create mode 100644 drivers/common/qat/dev/qat_dev_gen1.c
 create mode 100644 drivers/common/qat/dev/qat_dev_gen1.h
 create mode 100644 drivers/common/qat/dev/qat_dev_gen2.c
 create mode 100644 drivers/common/qat/dev/qat_dev_gen3.c
 create mode 100644 drivers/common/qat/dev/qat_dev_gen4.c
 create mode 100644 drivers/common/qat/dev/qat_dev_gen4.h
 create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen1.c
 create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen1.h
 create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen2.c
 create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen3.c
 create mode 100644 drivers/crypto/qat/dev/qat_sym_pmd_gen4.c

-- 
2.30.2

Reply via email to