]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Add capability for max sge to get optimized performance
authorYamin Friedman <yaminf@mellanox.com>
Mon, 7 Oct 2019 13:59:33 +0000 (16:59 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 22 Oct 2019 17:27:00 +0000 (14:27 -0300)
commit097ca9a94af7d3b090c4bd03ef4177dd69d6567e
tree1780525b9ce3b3f2b875a2c8cbf39a28500f2909
parent2bc32dfa7d9bae9995710953e7847dd4e180039e
RDMA/mlx5: Add capability for max sge to get optimized performance

Allows the IB device to provide a value of maximum scatter gather entries
per RDMA READ.

In certain cases it may be preferable for a device to perform UMR memory
registration rather than have many scatter entries in a single RDMA READ.
This provides a significant performance increase in devices capable of
using different memory registration schemes based on the number of scatter
gather entries. This general capability allows each device vendor to fine
tune when it is better to use memory registration.

Link: https://lore.kernel.org/r/20191007135933.12483-4-leon@kernel.org
Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c