diff options
author | Tobias Waldekranz <[email protected]> | 2020-05-15 11:52:52 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-15 10:18:49 -0700 |
commit | 2e186a2cf8c785f38ef3237e83f8921f82f6e2b7 (patch) | |
tree | 0587fcc00ad19a9a1cc43b7652ad243ef6a6ef10 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d00f26b623333f2419f4c3b95ff11c8b1bb96f56 (diff) |
net: core: recursively find netdev by device node
The assumption that a device node is associated either with the
netdev's device, or the parent of that device, does not hold for all
drivers. E.g. Freescale's DPAA has two layers of platform devices
above the netdev. Instead, recursively walk up the tree from the
netdev, allowing any parent to match against the sought after node.
Signed-off-by: Tobias Waldekranz <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions