summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-led-trigger-usbport
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-11-15 12:43:11 +0100
committerJason Gunthorpe <jgg@nvidia.com>2020-11-16 21:53:30 +0100
commit8a7904a672a1d33c848e5129f886ee69e0773a2e (patch)
treed8cb36bb7a7da1682f46adac04f7aa36b205276e /Documentation/ABI/testing/sysfs-class-led-trigger-usbport
parentRDMA/mlx5: Use ib_umem_find_best_pgsz() for devx (diff)
downloadlinux-8a7904a672a1d33c848e5129f886ee69e0773a2e.tar.xz
linux-8a7904a672a1d33c848e5129f886ee69e0773a2e.zip
RDMA/mlx5: Lower setting the umem's PAS for SRQ
Some of the SRQ types are created using a WQ, and the WQ requires a different parameter set to mlx5_umem_find_best_quantized_pgoff() as it has a 5 bit page_offset. Add the umem to the mlx5_srq_attr and defer computing the PAS data until the code has figured out what kind of mailbox to use. Compute the PAS directly from the umem for each of the four unique mailbox types. This also avoids allocating memory to store the user PAS, instead it is written directly to the mailbox as in most other cases. Fixes: 01949d0109ee ("net/mlx5_core: Enable XRCs and SRQs when using ISSI > 0") Link: https://lore.kernel.org/r/20201115114311.136250-8-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-led-trigger-usbport')
0 files changed, 0 insertions, 0 deletions