crypto: qat - enable three-service mode for QAT GEN5
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v1 posting 2/22 patches 1 replySuperseded
- v1 posting 1/22 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Dropped the per-service AE accounting for rate limiting in three-service mode; it now uses the same AE count as the other GEN4/GEN5 configurations. This also resolves the stale-count issue reported by Sashiko.
- Renamed ADF_GEN4_SYM_ASYM_DC_RING_TO_SRV_MAP to ADF_420XX_SYM_ASYM_DC_RING_TO_SRV_MAP.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto: qat - enable three-service mode for QAT GEN5 devicesdrivers/ drivers/ drivers/ +1 more | +67 | 0 replies | |
| 2/2 | Documentation: qat: document three-service mode for QAT GEN5 devicesDocumentation/ | +2 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Giovanni Cabiddu |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] crypto: qat - enable three-service mode for QAT GEN5
QAT GEN5 devices (qat_420xx) have enough accelerator engines to run three services concurrently, but the driver currently only allows a maximum of two to be configured at a time, matching the GEN4 limit.
This series lifts that restriction so that symmetric crypto, asymmetric crypto and compression can be enabled together on GEN5, as is already possible on GEN6 (qat_6xxx).
In summary:
Patch #1: Define the firmware object layout, ring-to-service mapping and thread-to-arbiter mapping required for the sym;asym;dc configuration on GEN5, and register the new service combination in adf_cfg_services so that it can be selected through the cfg_services sysfs attribute.
Patch #2: Update the cfg_services ABI documentation to state that GEN5 devices (qat_420xx) support a maximum of three combined services, alongside the existing GEN6 entry. Documentation only, no functional change.
There is an existing issue opened by Sashiko regarding the AE count when different services are configured on the device. That shall be addressed in later commits if applicable.
Changes in v2:
- Dropped the per-service AE accounting for rate limiting in three-service mode; it now uses the same AE count as the other GEN4/GEN5 configurations. This also resolves the stale-count issue reported by Sashiko.
- Renamed ADF_GEN4_SYM_ASYM_DC_RING_TO_SRV_MAP to ADF_420XX_SYM_ASYM_DC_RING_TO_SRV_MAP.
Bairavi Alagappan (2):
crypto: qat - enable three-service mode for QAT GEN5 devices
Documentation: qat: document three-service mode for QAT GEN5 devices
Documentation/ABI/testing/sysfs-driver-qat | 4 +- .../intel/qat/qat_420xx/adf_420xx_hw_data.c | 59 ++++++++++++++++++- .../intel/qat/qat_420xx/adf_420xx_hw_data.h | 6 ++ .../intel/qat/qat_common/adf_cfg_services.c | 3 + .../intel/qat/qat_common/adf_cfg_services.h | 1 + 5 files changed, 69 insertions(+), 4 deletions(-)
base-commit: 9c5d66e1ea78912b8a43ce16a1c14db1357e0ae0
Signature · 1 line
2.50.1