aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorYixian Liu <[email protected]>2020-02-06 17:56:44 +0800
committerJason Gunthorpe <[email protected]>2020-02-13 16:44:20 -0400
commitffd541d45726341c1830ff595fd7352b6d1cfbcd (patch)
tree17adc5f31f39a2e1e5a836187dc2c2a57c28a6e7 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf03d9fadfe13a78ee28fec320d43f7b37574adcb (diff)
RDMA/hns: Add the workqueue framework for flush cqe handler
HiP08 RoCE hardware lacks ability(a known hardware problem) to flush outstanding WQEs if QP state gets into errored mode for some reason. To overcome this hardware problem and as a workaround, when QP is detected to be in errored state during various legs like post send, post receive etc [1], flush needs to be performed from the driver. The earlier patch[1] sent to solve the hardware limitation explained in the cover-letter had a bug in the software flushing leg. It acquired mutex while modifying QP state to errored state and while conveying it to the hardware using the mailbox. This caused leg to sleep while holding spin-lock and caused crash. Suggested Solution: we have proposed to defer the flushing of the QP in the Errored state using the workqueue to get around with the limitation of our hardware. This patch adds the framework of the workqueue and the flush handler function. [1] https://patchwork.kernel.org/patch/10534271/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yixian Liu <[email protected]> Reviewed-by: Salil Mehta <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions