mbox series

[0/2] crypto: qat - refactor service parsing logic

Message ID 20250214164855.64851-2-giovanni.cabiddu@intel.com
Headers show
Series crypto: qat - refactor service parsing logic | expand

Message

Giovanni Cabiddu Feb. 14, 2025, 4:40 p.m. UTC
This small series refactors the service parsing logic in the QAT driver
by replacing hard-coded service strings with a more flexible approach.

The first patch removes an unnecessary export. The second patch reworks
the service parsing logic to allow being extended in future.

Giovanni Cabiddu (1):
  crypto: qat - do not export adf_cfg_services

MaƂgorzata Mielnik (1):
  crypto: qat - refactor service parsing logic

 .../intel/qat/qat_420xx/adf_420xx_hw_data.c   |  16 +-
 .../intel/qat/qat_4xxx/adf_4xxx_hw_data.c     |  11 +-
 .../intel/qat/qat_common/adf_accel_devices.h  |   1 +
 .../intel/qat/qat_common/adf_cfg_services.c   | 167 +++++++++++++++---
 .../intel/qat/qat_common/adf_cfg_services.h   |  26 ++-
 .../intel/qat/qat_common/adf_cfg_strings.h    |   6 +-
 .../intel/qat/qat_common/adf_gen4_config.c    |  15 +-
 .../intel/qat/qat_common/adf_gen4_hw_data.c   |  26 ++-
 .../intel/qat/qat_common/adf_gen4_hw_data.h   |   1 +
 .../crypto/intel/qat/qat_common/adf_sysfs.c   |  12 +-
 10 files changed, 202 insertions(+), 79 deletions(-)