diff options
| author | Serhat Kumral <serhatkumral1@gmail.com> | 2026-09-27 14:53:51 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-09-29 19:48:52 -0300 |
| commit | aac27aa8c5cfe3c3c6029b9c0f1113e0a53329de (patch) | |
| tree | a5d2c9a2cb663e13693e7c09fb2c6e2ca5cc20f6 /tools/lib/python/kdoc/python_version.py | |
| parent | c1fcde82f7b68181553af7efb4410df04109a9a8 (diff) | |
RDMA/siw: Fix length of first chunk in siw_try_1seg()
When a short-single SGE payload crosses a page boundary, siw_try_1seg()
computes the length of the first chunk as the amount that spills into
the second page instead of the amount left in the first page
part = bytes - (PAGE_SIZE - off);
Use the remaining length of the first page as the first chunk.
Fixes: b9be6f18cf9e ("rdma/siw: transmit path")
Link: https://patch.msgid.link/r/20260927115351.12245-1-serhatkumral1@gmail.com
Assisted-by: LLM
Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com>
Acked-by: Bernard Metzler <bernard.metzler@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
