diff options
author | Junxian Huang <huangjunxian6@hisilicon.com> | 2024-11-08 10:57:42 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-11-10 17:29:53 +0300 |
commit | 5dbcb1c1900f45182b5651c89257c272f1f3ead7 (patch) | |
tree | 1ca8f366a6bf9aa8ba5c5461de95715f1306fc02 /tools/perf/scripts/python/parallel-perf.py | |
parent | 7566752e4d7d7fc0186531aa800068a7243f95c1 (diff) | |
download | linux-5dbcb1c1900f45182b5651c89257c272f1f3ead7.tar.xz |
RDMA/hns: Fix out-of-order issue of requester when setting FENCE
The FENCE indicator in hns WQE doesn't ensure that response data from
a previous Read/Atomic operation has been written to the requester's
memory before the subsequent Send/Write operation is processed. This
may result in the subsequent Send/Write operation accessing the original
data in memory instead of the expected response data.
Unlike FENCE, the SO (Strong Order) indicator blocks the subsequent
operation until the previous response data is written to memory and a
bresp is returned. Set the SO indicator instead of FENCE to maintain
strict order.
Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20241108075743.2652258-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions