summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorwenglianfa <wenglianfa@huawei.com>2025-07-26 10:53:45 +0300
committerLeon Romanovsky <leon@kernel.org>2025-08-13 13:34:25 +0300
commit085a1b42e52750769a3fa29d4da6c05ab56f18f8 (patch)
tree2bf0ca9d1e1916c0e4265cb64c35211102cca0ab /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentd4ac86b47563c7895dae28658abd1879d266b2b4 (diff)
downloadlinux-085a1b42e52750769a3fa29d4da6c05ab56f18f8.tar.xz
RDMA/hns: Fix querying wrong SCC context for DIP algorithm
When using DIP algorithm, all QPs establishing connections with the same destination IP share the same SCC, which is indexed by dip_idx, but dip_idx isn't necessarily equal to qpn. Therefore, dip_idx should be used to query SCC context instead of qpn. Fixes: 124a9fbe43aa ("RDMA/hns: Append SCC context to the raw dump of QPC") Signed-off-by: wenglianfa <wenglianfa@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20250726075345.846957-1-huangjunxian6@hisilicon.com Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions