diff options
| author | Weili Qian <[email protected]> | 2021-04-06 20:56:02 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-04-16 21:16:31 +1000 |
| commit | 7ed83901326f781524af2d969185440efe23f964 (patch) | |
| tree | 1c2837124ce5ecce0066f78bc29157f69bb0f568 /tools/perf/scripts/python | |
| parent | 7dad7d007ab73b36a4a2438f063dfabbdc2df288 (diff) | |
crypto: hisilicon/qm - add stop queue by hardware
Kunpeng930 could be able to stop queue by writing hardware registers,
which will trigger tasks in device to be flushed out.
In order to be compatible with the kunpeng920 driver, add 'qm_hw_ops_v3' to
adapt Kunpeng930. And 'stop_qp' callback is added in 'qm_hw_ops_v3' to
write hardware registers. Call 'stop_qp' to drain the tasks in device
before releasing queue.
Signed-off-by: Weili Qian <[email protected]>
Reviewed-by: Longfang Liu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions