[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150506031311.GB1992@nanopsycho>
Date: Wed, 6 May 2015 05:13:11 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
linux@...ck-us.net, f.fainelli@...il.com,
sridhar.samudrala@...el.com, ronen.arad@...el.com, andrew@...n.ch,
simon.horman@...ronome.com
Subject: Re: [PATCH net-next v5 04/21] switchdev: convert parent_id_get to
switchdev attr get
Tue, May 05, 2015 at 07:34:40PM CEST, sfeldma@...il.com wrote:
>From: Scott Feldman <sfeldma@...il.com>
>
>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@...il.com>
Acked-by: Jiri Pirko <jiri@...nulli.us>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists