diff options
author | Giovanni Cabiddu <[email protected]> | 2023-10-20 15:49:23 +0200 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-10-27 18:04:27 +0800 |
commit | a238487f7965d102794ed9f8aff0b667cd2ae886 (patch) | |
tree | 4743cb436bf0fdce0b560826849c95ccd034c3ad /tools/perf/scripts/python/task-analyzer.py | |
parent | f7df2329eec1729a606bba8ed1566a1b3c248bad (diff) |
crypto: qat - fix ring to service map for QAT GEN4
The 4xxx drivers hardcode the ring to service mapping. However, when
additional configurations where added to the driver, the mappings were
not updated. This implies that an incorrect mapping might be reported
through pfvf for certain configurations.
Add an algorithm that computes the correct ring to service mapping based
on the firmware loaded on the device.
Fixes: 0cec19c761e5 ("crypto: qat - add support for compression for 4xxx")
Signed-off-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Damian Muszynski <[email protected]>
Reviewed-by: Tero Kristo <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions