diff options
| author | 2026-02-27 09:03:32 -0500 | |
|---|---|---|
| committer | 2026-03-29 21:25:09 -0400 | |
| commit | 2239535fb062b404871556b3bbbe4e27579f5edb (patch) | |
| tree | c81c2bec1400bd146a791563528f3a48a5b0a136 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | svcrdma: Add Write chunk WRs to the RPC's Send WR chain (diff) | |
svcrdma: Factor out WR chain linking into helper
svc_rdma_prepare_write_chunk() and svc_rdma_prepare_reply_chunk()
contain identical code for linking RDMA R/W work requests onto a
Send context's WR chain. This duplication increases maintenance
burden and risks divergent bug fixes.
Introduce svc_rdma_cc_link_wrs() to consolidate the WR chain
linking logic. The helper walks the chunk context's rwctxts list,
chains each WR via rdma_rw_ctx_wrs(), and updates the Send
context's chain head and SQE count. Completion signaling is
requested only for the tail WR (posted first).
No functional change.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
