diff options
author | 2015-11-09 19:13:58 -0500 | |
---|---|---|
committer | 2015-11-19 16:55:37 -0800 | |
commit | 0a226edd203f1209e4ee6e07a6b41a9cfd8beeb8 (patch) | |
tree | 61ec5424ebca8146ea7e832761fefc875c1f6f76 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging/rdma/hfi1: move hfi1_migrate_qp (diff) | |
download | wireguard-linux-0a226edd203f1209e4ee6e07a6b41a9cfd8beeb8.tar.xz wireguard-linux-0a226edd203f1209e4ee6e07a6b41a9cfd8beeb8.zip |
staging/rdma/hfi1: Use parallel workqueue for SDMA engines
The workqueue is currently single threaded per port which for a small number of
SDMA engines is ok.
For hfi1, the there are up to 16 SDMA engines that can be fed descriptors in
parallel.
Use alloc_workqueue with a workqueue limit of the number of sdma engines and
with WQ_CPU_INTENSIVE and WQ_HIGHPRI specified.
Then change send to use the new scheduler which no longer needs to get the
s_lock
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions