Re: [PATCH rdma-rc] RDMA/mlx5: Prevent UMR usage with RO only when we have RO caps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 27, 2020 at 01:38:34PM +0200, Leon Romanovsky wrote:
> From: Michael Guralnik <michaelgur@xxxxxxxxxxxx>
> 
> Relaxed ordering is not supported in UMR so we are disabling UMR usage
> when user passes relaxed ordering access flag.
> 
> Enable using UMR when user requested relaxed ordering but there are no
> relaxed ordering capabilities.
> This will prevent user from unnecessarily registering a new mkey.
> 
> Fixes: d6de0bb1850f ("RDMA/mlx5: Set relaxed ordering when requested")
> Signed-off-by: Michael Guralnik <michaelgur@xxxxxxxxxxxx>
> Reviewed-by: Maor Gottlieb <maorg@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/mlx5_ib.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

This doesn't seem very rc-ish, applied to for-next

Thanks,
Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux