RDMA/cxgb3: Use ib_device_set_netdev()
authorKamal Heib <kamalheib1@gmail.com>
Wed, 7 Aug 2019 10:31:36 +0000 (13:31 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Aug 2019 14:19:43 +0000 (10:19 -0400)
commit691f380df242a6725cb4cc706887c293cfba6afc
tree0db50192ea8cafcaeaddca899343969a7b55fe75
parent72a7720fca37fec0daf295923f17ac5d88a613e1
RDMA/cxgb3: Use ib_device_set_netdev()

This change is required to associate the cxgb3 ib_dev with the
underlying net_device, so in the upcoming patch we can call
ib_device_get_netdev().

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Link: https://lore.kernel.org/r/20190807103138.17219-3-kamalheib1@gmail.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c