aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2020-10-12 21:38:34 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-30 17:34:54 +1100
commit070a34c9dfa3eeb0b18d63c6fec5dfe7861a43ac (patch)
tree2d7d3a16cea4902a731ca8a48bef3bddb818444d /tools/perf/scripts/python/netdev-times.py
parentcrypto: qat - register crypto instances based on capability (diff)
downloadlinux-070a34c9dfa3eeb0b18d63c6fec5dfe7861a43ac.tar.gz
linux-070a34c9dfa3eeb0b18d63c6fec5dfe7861a43ac.zip
crypto: qat - enable ring after pair is programmed
Enable arbitration on the TX ring only after the RX ring is programmed. Before this change, arbitration was enabled on the TX ring before the RX ring was programmed allowing the HW to process a request before having the ring pair configured. With this change, the arbitration logic is programmed only if the TX half of the ring mask matches the RX half. This change does not affect QAT GEN2 devices (c62x, c3xxx and dh895xcc), but it is a must for QAT GEN4 devices since the CSRs of the ring pair are locked after arbitration is enabled on the TX ring. Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Wojciech Ziemba <wojciech.ziemba@intel.com> Reviewed-by: Maksim Lukoshkov <maksim.lukoshkov@intel.com> Reviewed-by: Fiona Trahe <fiona.trahe@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions