diff options
author | Scott Feldman <[email protected]> | 2015-05-10 09:47:49 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-05-12 18:43:53 -0400 |
commit | f8e20a9f87d33865cc1d67f13da0db8d457fc3c9 (patch) | |
tree | 0072db71330af1215e78c1def9033d62156a4183 /tools/perf/scripts/python/syscall-counts.py | |
parent | 3094333d9089d43e8b8f0418676fa6ae06c27b51 (diff) |
switchdev: convert parent_id_get to switchdev attr get
Switch ID is just a gettable port attribute. Convert switchdev op
switchdev_parent_id_get to a switchdev attr.
Note: for sysfs and netlink interfaces, SWITCHDEV_ATTR_PORT_PARENT_ID is
called with SWITCHDEV_F_NO_RECUSE to limit switch ID user-visiblity to only
port netdevs. So when a port is stacked under bond/bridge, the user can
only query switch id via the switch ports, but not via the upper devices
Signed-off-by: Scott Feldman <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions