Files
linux/include/net
Scott Feldman f8e20a9f87 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 <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-12 18:43:53 -04:00
..
2015-05-03 21:58:01 -04:00
2015-03-04 00:23:23 -05:00
2015-05-10 19:50:20 -04:00
2015-03-06 21:50:02 -05:00
2015-03-12 14:39:40 -04:00
2015-05-04 00:09:09 -04:00
2015-03-12 14:39:40 -04:00
2015-01-18 01:56:32 -05:00
2015-03-17 22:02:29 -04:00
2015-03-11 16:22:14 -04:00
2015-03-12 14:39:40 -04:00
2015-05-03 21:58:01 -04:00
2015-01-15 18:26:16 -05:00
2015-03-12 22:58:12 -04:00