summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2015-12-23 19:47:17 +0300
committerDoug Ledford <dledford@redhat.com>2015-12-23 20:07:36 +0300
commitfc24fc5e9530a4fde7feddaa543f5885af013461 (patch)
tree2d9ef10b2697f4e40da6889ff87c848f6ccc820d /tools/perf/scripts/python
parentebd61f68e1c79eab022c550f95cb8bf37cc925cb (diff)
downloadlinux-fc24fc5e9530a4fde7feddaa543f5885af013461.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions