Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread Leon Romanovsky
On Mon, Mar 26, 2018 at 10:17:12AM -0500, Steve Wise wrote: > > > On 3/26/2018 3:28 AM, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > The RDMA devices are operated in RoCE and iWARP modes have net device > > underneath. Present their names in regular output and

Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread Leon Romanovsky
On Mon, Mar 26, 2018 at 09:44:32AM -0600, David Ahern wrote: > On 3/26/18 9:09 AM, Leon Romanovsky wrote: > > On Mon, Mar 26, 2018 at 08:06:52AM -0600, David Ahern wrote: > >> On 3/26/18 2:28 AM, Leon Romanovsky wrote: > >>> diff --git a/rdma/include/uapi/rdma/rdma_netlink.h > >>>

Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread David Ahern
On 3/26/18 9:09 AM, Leon Romanovsky wrote: > On Mon, Mar 26, 2018 at 08:06:52AM -0600, David Ahern wrote: >> On 3/26/18 2:28 AM, Leon Romanovsky wrote: >>> diff --git a/rdma/include/uapi/rdma/rdma_netlink.h >>> b/rdma/include/uapi/rdma/rdma_netlink.h >>> index 9446a721..45474f13 100644 >>> ---

Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread Steve Wise
On 3/26/2018 3:28 AM, Leon Romanovsky wrote: > From: Leon Romanovsky > > The RDMA devices are operated in RoCE and iWARP modes have net device > underneath. Present their names in regular output and their net index > in detailed mode. > > [root@nps ~]# rdma link show

Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread Leon Romanovsky
On Mon, Mar 26, 2018 at 08:06:52AM -0600, David Ahern wrote: > On 3/26/18 2:28 AM, Leon Romanovsky wrote: > > diff --git a/rdma/include/uapi/rdma/rdma_netlink.h > > b/rdma/include/uapi/rdma/rdma_netlink.h > > index 9446a721..45474f13 100644 > > --- a/rdma/include/uapi/rdma/rdma_netlink.h > > +++

Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread David Ahern
On 3/26/18 2:28 AM, Leon Romanovsky wrote: > diff --git a/rdma/include/uapi/rdma/rdma_netlink.h > b/rdma/include/uapi/rdma/rdma_netlink.h > index 9446a721..45474f13 100644 > --- a/rdma/include/uapi/rdma/rdma_netlink.h > +++ b/rdma/include/uapi/rdma/rdma_netlink.h > @@ -388,6 +388,10 @@ enum

[PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

2018-03-26 Thread Leon Romanovsky
From: Leon Romanovsky The RDMA devices are operated in RoCE and iWARP modes have net device underneath. Present their names in regular output and their net index in detailed mode. [root@nps ~]# rdma link show mlx5_3/1 4/1: mlx5_3/1: state ACTIVE physical_state LINK_UP