diff options
| author | Chengchang Tang <tangchengchang@huawei.com> | 2026-01-04 14:40:57 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-01-04 10:09:51 -0500 |
| commit | 0789f929900d85b80b343c5f04f8b9444e991384 (patch) | |
| tree | d3e02d82c54343bfce0b597f528b3218bb6a4710 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 84bd5d60f0a2b9c763c5e6d0b3d8f4f61f6c5470 (diff) | |
| download | linux-0789f929900d85b80b343c5f04f8b9444e991384.tar.gz linux-0789f929900d85b80b343c5f04f8b9444e991384.zip | |
RDMA/hns: Notify ULP of remaining soft-WCs during reset
During a reset, software-generated WCs cannot be reported via
interrupts. This may cause the ULP to miss some WCs.
To avoid this, add check in the CQ arm process: if a hardware reset
has occurred and there are still unreported soft-WCs, notify the ULP
to handle the remaining WCs, thereby preventing any loss of completions.
Fixes: 626903e9355b ("RDMA/hns: Add support for reporting wc as software mode")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20260104064057.1582216-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
