mbox series

[rdma-next,v2,0/3] Optimize SGL registration

Message ID 20191007135933.12483-1-leon@kernel.org
Headers show
Series Optimize SGL registration | expand

Message

Leon Romanovsky Oct. 7, 2019, 1:59 p.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

Changelog
v1->v2: https://lore.kernel.org/linux-rdma/20191007115819.9211-1-leon@kernel.org
 * Used Christoph's comment
 * Change patch code flow to have one DMA_FROM_DEVICE check
v0->v1: https://lore.kernel.org/linux-rdma/20191006155955.31445-1-leon@kernel.org
 * 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

Comments

Leon Romanovsky Oct. 15, 2019, 8:15 a.m. UTC | #1
On Mon, Oct 07, 2019 at 04:59:30PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
>
> Changelog
> v1->v2: https://lore.kernel.org/linux-rdma/20191007115819.9211-1-leon@kernel.org
>  * Used Christoph's comment
>  * Change patch code flow to have one DMA_FROM_DEVICE check
> v0->v1: https://lore.kernel.org/linux-rdma/20191006155955.31445-1-leon@kernel.org
>  * 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

Jason, Doug

Do you expect anything from me in regards to this series?

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
>
Jason Gunthorpe Oct. 22, 2019, 5:42 p.m. UTC | #2
On Mon, Oct 07, 2019 at 04:59:30PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Changelog
> v1->v2: https://lore.kernel.org/linux-rdma/20191007115819.9211-1-leon@kernel.org
>  * Used Christoph's comment
>  * Change patch code flow to have one DMA_FROM_DEVICE check
> v0->v1: https://lore.kernel.org/linux-rdma/20191006155955.31445-1-leon@kernel.org
>  * 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

Applied to for-next with various fixes from Christoph and Bart

Thanks,
Jason