diff options
| author | Sagi Grimberg <[email protected]> | 2021-05-28 01:16:38 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-05-31 06:06:11 +0000 |
| commit | 12b2aaadb6d5ef77434e8db21f469f46fe2d392e (patch) | |
| tree | 4a0c4f713f0ce5fa11b46b5de367fe2b014c7b39 /tools/perf/scripts/python/flamegraph.py | |
| parent | Merge tag 'nvme-5.13-2021-05-27' of git://git.infradead.org/nvme into block-5.13 (diff) | |
| download | kernel-12b2aaadb6d5ef77434e8db21f469f46fe2d392e.tar.gz kernel-12b2aaadb6d5ef77434e8db21f469f46fe2d392e.zip | |
nvme-rdma: fix in-casule data send for chained sgls
We have only 2 inline sg entries and we allow 4 sg entries for the send
wr sge. Larger sgls entries will be chained. However when we build
in-capsule send wr sge, we iterate without taking into account that the
sgl may be chained and still fit in-capsule (which can happen if the sgl
is bigger than 2, but lower-equal to 4).
Fix in-capsule data mapping to correctly iterate chained sgls.
Fixes: 38e1800275d3 ("nvme-rdma: Avoid preallocating big SGL for data")
Reported-by: Walker, Benjamin <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
