mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
IB/mlx5: Fix reported max SGE calculation
commit288c01b746upstream. Add the 512 bytes limit of RDMA READ and the size of remote address to the max SGE calculation. Fixes:e126ba97db('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4db097fe49
commit
dae9f4f144
2 changed files with 33 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue