diff options
| author | Giovanni Cabiddu <[email protected]> | 2020-10-12 21:38:20 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-10-30 17:34:47 +1100 |
| commit | c4e8428673425c5b0c7280387c5cb35d60959b97 (patch) | |
| tree | dd09074448fc2c8aa081dbe6772fcf66a01f79e3 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 70b9bd3929da903d54dbd7d1ca2465333077cfd9 (diff) | |
crypto: qat - fix configuration of iov threads
The number of AE2FUNC_MAP registers is different in every QAT device
(c62x, c3xxx and dh895xcc) although the logic and the register offsets
are the same across devices.
This patch separates the logic that configures the iov threads in a
common function that takes as input the number of AE2FUNC_MAP registers
supported by a device. The function is then added to the
adf_hw_device_data structure of each device, and called with the
appropriate parameters.
The configure iov thread logic is added to a new file,
adf_gen2_hw_data.c, that is going to contain code that is shared across
QAT GEN2 devices.
Signed-off-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Fiona Trahe <[email protected]>
Reviewed-by: Wojciech Ziemba <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions