IB/qib: Improve ipoib UD performance
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 24 Dec 2015 16:19:23 +0000 (11:19 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:41:16 +0000 (15:41 -0500)
commit967bcfc0f5744c1553545883bbb43df1d41cbb5c
tree99935ff2d23a85c76deced854ab49da6a043b51b
parent4ed088e6c2aa2b7b0479791c7251696b541bfa39
IB/qib: Improve ipoib UD performance

Based on profiling, UD performance drops in case of processes
in a single client due to excess context switches when
the progress workqueue is scheduled.

This is solved by modifying the heuristic to select the
direct progress instead of the scheduling progress via
the workqueue when UD-like situations are detected in
the heuristic.

Reviewed-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_verbs.c