diff options
| author | Lang Cheng <[email protected]> | 2020-08-25 19:07:54 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-08-27 09:46:07 -0300 |
| commit | e0ef0f68c4c0d85b1eb63f38d5d10324361280e8 (patch) | |
| tree | 54d8111cf939a9dc5ce6dfdf482044c7658237e0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b9caebb290d298a114ed6426e644db9a09560055 (diff) | |
RDMA/hns: Add a check for current state before modifying QP
It should be considered an illegal operation if the ULP attempts to modify
a QP from another state to the current hardware state. Otherwise, the ULP
can modify some fields of QPC at any time. For example, for a QP in state
of RTS, modify it from RTR to RTS can change the PSN, which is always not
as expected.
Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lang Cheng <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions