diff options
author | Achiad Shochat <achiad@mellanox.com> | 2015-12-23 18:47:17 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-23 12:07:36 -0500 |
commit | fc24fc5e9530a4fde7feddaa543f5885af013461 (patch) | |
tree | 2d9ef10b2697f4e40da6889ff87c848f6ccc820d /init/do_mounts.c | |
parent | ebd61f68e1c79eab022c550f95cb8bf37cc925cb (diff) |
IB/mlx5: Support IB device's callback for getting its netdev
For Eth ports only:
Maintain a net device pointer in mlx5_ib_device and update it
upon NETDEV_REGISTER and NETDEV_UNREGISTER events if the
net-device and IB device have the same PCI parent device.
Implement the get_netdev callback to return this net device.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions