RDMA/nldev: Provide netdevice name and index
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 27 Mar 2018 17:40:49 +0000 (20:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 29 Mar 2018 19:32:40 +0000 (13:32 -0600)
commit5b2cc79de8782ea98ef22cddb26fcd566c565094
tree20915a10290709874bfe879c69cf5c84e66a0256
parent99dae690255e90f5cbefcc76ad92b35cdf87d14d
RDMA/nldev: Provide netdevice name and index

Export the net device name and index to easily find connection
between IB devices and relevant net devices.

We also updated the comment regarding the devices without FW.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h