Skip to content

Optimize SGL registration

Leon Romanovsky linux-rdma netdev 2 versions Applied

Status from this message: Applied to for-next with various fixes from Christoph and Bart

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 13 repliesApplied
  2. v13 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3net/mlx5: Expose optimal performance scatter entries capabilityinclude/linux/mlx5/mlx5_ifc.h+1 -13 replies
2/3RDMA/rw: Support threshold for registration vs scattering to local pagesdrivers/infiniband/core/rw.c include/rdma/ib_verbs.h+17 -108 replies
3/3RDMA/mlx5: Add capability for max sge to get optimized performancedrivers/infiniband/hw/mlx5/main.c+2 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchOr GerlitzChristoph Hellwig
1/3R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH rdma-next v2 0/3] Optimize SGL registration

From: Leon Romanovsky <[email protected]>

Changelog
v1->v2: https://lore.kernel.org/linux-rdma/[email protected]
* Used Christoph's comment
* Change patch code flow to have one DMA_FROM_DEVICE check
v0->v1: https://lore.kernel.org/linux-rdma/[email protected]
* Reorganized patches to have IB/core changes separated from mlx5
* Moved SGL check before rdma_rw_force_mr
* Added and rephrased original comment.

-----------------------------------------------------------------------------
Hi,

This series from Yamin implements long standing "TODO" existed in rw.c.

Thanks

Yamin Friedman (3):
net/mlx5: Expose optimal performance scatter entries capability RDMA/rw: Support threshold for registration vs scattering to local
pages
RDMA/mlx5: Add capability for max sge to get optimized performance

 drivers/infiniband/core/rw.c      | 25 +++++++++++++++----------
 drivers/infiniband/hw/mlx5/main.c |  2 ++
 include/linux/mlx5/mlx5_ifc.h     |  2 +-
 include/rdma/ib_verbs.h           |  2 ++
 4 files changed, 20 insertions(+), 11 deletions(-)

--
2.20.1