diff options
| author | Jacob Moroni <jmoroni@google.com> | 2026-10-15 16:17:55 +0000 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-15 14:44:18 -0400 |
| commit | 59df57262e6fa9e6f4aa76d6d324134777c702a0 (patch) | |
| tree | 1701718412625ca53d4eb31d4311b976b98813d5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | dd36137b218ad6f18ed15e6279412d7fc160980c (diff) | |
RDMA/irdma: Fix FRWR IRDMAQPSQ_PBLADDR field population
Previously, the IRDMAQPSQ_PBLADDR FRWR WQE field was being populated
using a mask that was right-shifted, whereas it should have been the
address being right-shifted.
This ended up working fine in many cases because the lowermost 12 bits
are always zero (the addresses are page aligned) and the uppermost 12
bits are usually zero too, but it could break for DMA addresses that
are wider than 52 bits.
Fix this by right-shifting the address instead of the mask, similar
to how it was done in the original i40iw driver.
Tested with NFS over RDMA with some added debug logs to ensure it
was hitting both the direct (single page) path as well as multi
page (< 512).
Fixes: 3f49d6842569 ("RDMA/irdma: Implement HW Admin Queue OPs")
Signed-off-by: Jacob Moroni <jmoroni@google.com>
Link: https://patch.msgid.link/20261015161756.3078300-1-jmoroni@google.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
