diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2015-11-10 03:13:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-20 03:55:37 +0300 |
commit | 0a226edd203f1209e4ee6e07a6b41a9cfd8beeb8 (patch) | |
tree | 61ec5424ebca8146ea7e832761fefc875c1f6f76 /tools/perf/scripts/python | |
parent | c2f3ffb08593d8cf587ee0e4c40197b5eb68bd38 (diff) | |
download | linux-0a226edd203f1209e4ee6e07a6b41a9cfd8beeb8.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions