diff options
author | Maxime Chevallier <[email protected]> | 2024-08-21 17:09:58 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-08-23 13:04:34 +0100 |
commit | 0a2f7de0f3b96c4a30e56d2c79f8d812f89599a1 (patch) | |
tree | b832b201de1e60accc9aed5e89535c37ed6e61e7 /tools/perf/scripts/python/parallel-perf.py | |
parent | b2db6f4ace72e71fa09b8d1354f8ac9854140d74 (diff) |
net: sfp: Add helper to return the SFP bus name
Knowing the bus name is helpful when we want to expose the link topology
to userspace, add a helper to return the SFP bus name.
This call will always be made while holding the RTNL which ensures
that the SFP driver won't unbind from the device. The returned pointer
to the bus name will only be used while RTNL is held.
Signed-off-by: Maxime Chevallier <[email protected]>
Suggested-by: "Russell King (Oracle)" <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Tested-by: Christophe Leroy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions