commit | 82f2841291cfaf4d225aa1766424280254d3e3b2 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@resnulli.us> | Fri Nov 28 14:34:18 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 02 20:01:21 2014 -0800 |
tree | 6bdcee06f5a927defb97d4c58f482e857717f730 | |
parent | 007f790c8276271de26416f90d55561bcc96588a [diff] |
rtnl: expose physical switch id for particular device The netdevice represents a port in a switch, it will expose IFLA_PHYS_SWITCH_ID value via rtnl. Two netdevices with the same value belong to one physical switch. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Reviewed-by: Thomas Graf <tgraf@suug.ch> Acked-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>