diff options
| author | Junxian Huang <huangjunxian6@hisilicon.com> | 2026-01-04 14:40:56 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-01-04 10:09:51 -0500 |
| commit | 84bd5d60f0a2b9c763c5e6d0b3d8f4f61f6c5470 (patch) | |
| tree | f6e68922488ea0e6ef0bff988a8fece836765fcf /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8cda8acbb1f8c6c0fec45b7166bb558b5af59da8 (diff) | |
| download | linux-84bd5d60f0a2b9c763c5e6d0b3d8f4f61f6c5470.tar.gz linux-84bd5d60f0a2b9c763c5e6d0b3d8f4f61f6c5470.zip | |
RDMA/hns: Fix RoCEv1 failure due to DSCP
DSCP is not supported in RoCEv1, but get_dscp() is still called. If
get_dscp() returns an error, it'll eventually cause create_ah to fail
even when using RoCEv1.
Correct the return value and avoid calling get_dscp() when using
RoCEv1.
Fixes: ee20cc17e9d8 ("RDMA/hns: Support DSCP")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20260104064057.1582216-4-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
