diff options
| author | Jason Gunthorpe <[email protected]> | 2020-11-15 13:43:06 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-11-16 16:53:29 -0400 |
| commit | ad480ea5d6ea605bf63d23f5f91447d5cac3c95e (patch) | |
| tree | 8f903143b87a2a3a39dd9d36e4b3270e1fd1c9e4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b045db62f6f61c2f0f993696abe620379db34163 (diff) | |
RDMA/mlx5: Use mlx5_umem_find_best_quantized_pgoff() for WQ
This fixes a subtle bug, the WQ mailbox has only 5 bits to describe the
page_offset, while mlx5_ib_get_buf_offset() is hard wired to only work
with 6 bit page_offsets.
Thus it did not properly reject badly aligned buffers.
Fixes: 79b20a6c3014 ("IB/mlx5: Add receive Work Queue verbs")
Fixes: 0fb2ed66a14c ("IB/mlx5: Add create and destroy functionality for Raw Packet QP")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions