summaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2017-08-08 20:38:45 -0500
committerDoug Ledford <dledford@redhat.com>2017-08-22 15:38:27 -0400
commitd26875b43d45644e87f4c0b6bb2d7abf3c61d529 (patch)
tree47b1dbbe4234afb5e2f458f9d8d63b7ebee614b1 /tools/perf/util
parentbf808b5039c66f9843cdc30f18c0608dbbf11374 (diff)
downloadlinux-d26875b43d45644e87f4c0b6bb2d7abf3c61d529.tar.bz2
i40iw: Improve CQP timeout logic
The current timeout logic for Control Queue-Pair (CQP) OPs does not take into account whether CQP makes progress but rather blindly waits for a large timeout value, 100000 jiffies for the completion event. Improve this by setting the timeout based on whether the CQP is making progress or not. If the CQP is hung, the timeout will happen sooner, in 5000 jiffies. Each time the CQP progress is detetcted, the timeout extends by 5000 jiffies. Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Christopher N Bednarz <christopher.n.bednarz@intel.com> Signed-off-by: Henry Orosco <henry.orosco@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions