Re: [PATCH rdma-next 08/19] RDMA/core: Expose translation from device name to ib_device

2017-06-21 Thread Leon Romanovsky
On Wed, Jun 21, 2017 at 10:07:48AM -0600, Jason Gunthorpe wrote: > On Wed, Jun 21, 2017 at 09:05:17AM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > Provide ability to convert from device name to ib_device for the > > IB/core users. > > FWIW, as a general comment, we really need t

Re: [PATCH rdma-next 08/19] RDMA/core: Expose translation from device name to ib_device

2017-06-21 Thread Jason Gunthorpe
On Wed, Jun 21, 2017 at 09:05:17AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > Provide ability to convert from device name to ib_device for the > IB/core users. FWIW, as a general comment, we really need to start using some kind of device index like netdev does instead of the name.

Re: [PATCH rdma-next 08/19] RDMA/core: Expose translation from device name to ib_device

2017-06-21 Thread Leon Romanovsky
On Wed, Jun 21, 2017 at 09:09:27AM -0500, Steve Wise wrote: > > From: Leon Romanovsky > > > > Provide ability to convert from device name to ib_device for the > > IB/core users. > > > > Signed-off-by: Leon Romanovsky > > --- > > drivers/infiniband/core/core_priv.h | 1 + > > drivers/infiniband/c

RE: [PATCH rdma-next 08/19] RDMA/core: Expose translation from device name to ib_device

2017-06-21 Thread Steve Wise
> From: Leon Romanovsky > > Provide ability to convert from device name to ib_device for the > IB/core users. > > Signed-off-by: Leon Romanovsky > --- > drivers/infiniband/core/core_priv.h | 1 + > drivers/infiniband/core/device.c| 3 +-- > 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH rdma-next 08/19] RDMA/core: Expose translation from device name to ib_device

2017-06-20 Thread Leon Romanovsky
From: Leon Romanovsky Provide ability to convert from device name to ib_device for the IB/core users. Signed-off-by: Leon Romanovsky --- drivers/infiniband/core/core_priv.h | 1 + drivers/infiniband/core/device.c| 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver