iproute2/rdma
Leon Romanovsky 1525942736 rdma: Print net device name and index for RDMA device
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 netdev ens7
[root@nps ~]# rdma link show mlx5_3/1 -d
4/1: mlx5_3/1: state ACTIVE physical_state LINK_UP netdev ens7 netdev_index 7
    caps: <CM, IP_BASED_GIDS>

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2018-04-06 09:02:32 -07:00
..
include/uapi/rdma rdma: Print net device name and index for RDMA device 2018-04-06 09:02:32 -07:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile rdma: Move RDMA UAPI header file to be under RDMA responsibility 2018-03-26 07:02:19 -07:00
dev.c rdma: Update device capabilities flags 2018-03-08 09:15:28 -08:00
link.c rdma: Print net device name and index for RDMA device 2018-04-06 09:02:32 -07:00
rdma.c rdma: initialize the rd struct 2018-04-01 08:18:43 -07:00
rdma.h rdma: Add CM_ID resource tracking information 2018-04-01 08:18:47 -07:00
res.c rdma: Add PD resource tracking information 2018-04-01 08:19:01 -07:00
utils.c rdma: Print net device name and index for RDMA device 2018-04-06 09:02:32 -07:00