aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHaren Myneni <[email protected]>2021-06-17 13:39:08 -0700
committerMichael Ellerman <[email protected]>2021-06-20 21:58:58 +1000
commit8c099490fd2bd3b012b3b6d0babbba3b90e69b55 (patch)
tree6ea6840a449123bb6b9335176e5f6b07ca2355de /tools/perf/scripts/python
parentb4ba22114c78de48fda3818f569f75e97d58c719 (diff)
crypto/nx: Add sysfs interface to export NX capabilities
Export NX-GZIP capabilities to usrespace in sysfs /sys/devices/vio/ibm,compression-v1/nx_gzip_caps directory. These are queried by userspace accelerator libraries to set minimum length heuristics and maximum limits on request sizes. NX-GZIP capabilities: min_compress_len /*Recommended minimum compress length in bytes*/ min_decompress_len /*Recommended minimum decompress length in bytes*/ req_max_processed_len /* Maximum number of bytes processed in one request */ NX will return RMA_Reject if the request buffer size is greater than req_max_processed_len. Signed-off-by: Haren Myneni <[email protected]> Acked-by: Herbert Xu <[email protected]> Acked-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions