RDMA/core: Refer to network type instead of device type
authorParav Pandit <parav@mellanox.com>
Wed, 5 Sep 2018 09:54:22 +0000 (12:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 12 Sep 2018 21:48:08 +0000 (15:48 -0600)
commit307edde8efb75cd39326f0f603c9693a5b2af019
tree85867cd923bd597bce4bbcc79a7ef1e16b44822c
parent783793b5543d3b886f0704803198feeb058cccab
RDMA/core: Refer to network type instead of device type

Set and refer to rdma_dev_addr network type instead of dst->ndev to reduce
dependency on accessing dst netdevice.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/addr.c