mbox series

[rdma-next,0/3] Create UMR with relaxed ordering

Message ID 20200716105248.1423452-1-leon@kernel.org
Headers show
Series Create UMR with relaxed ordering | expand

Message

Leon Romanovsky July 16, 2020, 10:52 a.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

Hi,

ConnectX-7 supports setting relaxed ordering read/write mkey attribute by UMR,
indicated by new HCA capabilities, so extend mlx5_ib driver to configure
UMR control segment based on those capabilities.

Thanks

Meir Lichtinger (3):
  RDMA/mlx5: ConnectX-7 new capabilities to set relaxed ordering by UMR
  RDMA/mlx5: Use MLX5_SET macro instead of local structure
  RDMA/mlx5: Set mkey relaxed ordering by UMR with ConnectX-7

 drivers/infiniband/hw/mlx5/mlx5_ib.h | 18 +++-----
 drivers/infiniband/hw/mlx5/wr.c      | 68 ++++++++++++++++++++--------
 include/linux/mlx5/device.h          |  5 +-
 include/linux/mlx5/mlx5_ifc.h        |  4 +-
 4 files changed, 63 insertions(+), 32 deletions(-)

--
2.26.2

Comments

Jason Gunthorpe July 24, 2020, 6:48 p.m. UTC | #1
On Thu, Jul 16, 2020 at 01:52:45PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Hi,
> 
> ConnectX-7 supports setting relaxed ordering read/write mkey attribute by UMR,
> indicated by new HCA capabilities, so extend mlx5_ib driver to configure
> UMR control segment based on those capabilities.
> 
> Thanks
> 
> Meir Lichtinger (3):
>   RDMA/mlx5: ConnectX-7 new capabilities to set relaxed ordering by UMR
>   RDMA/mlx5: Use MLX5_SET macro instead of local structure
>   RDMA/mlx5: Set mkey relaxed ordering by UMR with ConnectX-7

These look OK, can you apply the first patch to the shared branch
please?

Jason
Leon Romanovsky July 24, 2020, 7:31 p.m. UTC | #2
On Thu, Jul 16, 2020 at 01:52:45PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
>
> Hi,
>
> ConnectX-7 supports setting relaxed ordering read/write mkey attribute by UMR,
> indicated by new HCA capabilities, so extend mlx5_ib driver to configure
> UMR control segment based on those capabilities.
>
> Thanks
>
> Meir Lichtinger (3):
>   RDMA/mlx5: ConnectX-7 new capabilities to set relaxed ordering by UMR
>   RDMA/mlx5: Use MLX5_SET macro instead of local structure
>   RDMA/mlx5: Set mkey relaxed ordering by UMR with ConnectX-7
>
>  drivers/infiniband/hw/mlx5/mlx5_ib.h | 18 +++-----
>  drivers/infiniband/hw/mlx5/wr.c      | 68 ++++++++++++++++++++--------
>  include/linux/mlx5/device.h          |  5 +-
>  include/linux/mlx5/mlx5_ifc.h        |  4 +-
>  4 files changed, 63 insertions(+), 32 deletions(-)

Thanks, first patch is applied to mlx5-next.
042dd05bddbd RDMA/mlx5: ConnectX-7 new capabilities to set relaxed ordering by UMR


>
> --
> 2.26.2
>
Jason Gunthorpe July 27, 2020, 2:47 p.m. UTC | #3
On Fri, Jul 24, 2020 at 10:31:51PM +0300, Leon Romanovsky wrote:
> On Thu, Jul 16, 2020 at 01:52:45PM +0300, Leon Romanovsky wrote:
> > From: Leon Romanovsky <leonro@mellanox.com>
> >
> > Hi,
> >
> > ConnectX-7 supports setting relaxed ordering read/write mkey attribute by UMR,
> > indicated by new HCA capabilities, so extend mlx5_ib driver to configure
> > UMR control segment based on those capabilities.
> >
> > Thanks
> >
> > Meir Lichtinger (3):
> >   RDMA/mlx5: ConnectX-7 new capabilities to set relaxed ordering by UMR
> >   RDMA/mlx5: Use MLX5_SET macro instead of local structure
> >   RDMA/mlx5: Set mkey relaxed ordering by UMR with ConnectX-7
> >
> >  drivers/infiniband/hw/mlx5/mlx5_ib.h | 18 +++-----
> >  drivers/infiniband/hw/mlx5/wr.c      | 68 ++++++++++++++++++++--------
> >  include/linux/mlx5/device.h          |  5 +-
> >  include/linux/mlx5/mlx5_ifc.h        |  4 +-
> >  4 files changed, 63 insertions(+), 32 deletions(-)
> 
> Thanks, first patch is applied to mlx5-next.
> 042dd05bddbd RDMA/mlx5: ConnectX-7 new capabilities to set relaxed ordering by UMR

Applied to for-next, thanks

Jason