Re: [PATCH rdma-next v1] RDMA/ucma: Return stable IB device index as identifier

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

 



On Mon, May 04, 2020 at 04:25:41PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> The librdmacm uses node_guid as identifier to correlate between
> IB devices and CMA devices. However FW resets cause to such
> "connection" to be lost and require from the user to restart
> its application.
> 
> Extend UCMA to return IB device index, which is stable identifier.
> 
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
> Changelog:
> v1: Fixed padding to u64 in response structures
> v0: https://lore.kernel.org/linux-rdma/20200430152939.77967-1-leon@xxxxxxxxxx
> ---
>  drivers/infiniband/core/ucma.c   | 16 +++++++++-------
>  include/uapi/rdma/rdma_user_cm.h |  4 ++++
>  2 files changed, 13 insertions(+), 7 deletions(-)

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