IB/usnic: Implement get_netdev hook
authorYuval Shaia <yuval.shaia@oracle.com>
Wed, 14 Jun 2017 20:13:33 +0000 (23:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 12:44:46 +0000 (08:44 -0400)
commit44b0b7455f7a6c4bff3cda804719d2ed4494b4da
tree9086d316a581717dfa965d0a3edb2a67dadded15
parentf201777a5382e0a4152342365e928c1de99815ad
IB/usnic: Implement get_netdev hook

usnic's get_netdev hook for struct ib_device is missing - add it.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Christian Benvenuti <benve@cisco.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/usnic/usnic_ib_main.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.h