bridge: netlink: export port's designated cost and port
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 6 Oct 2015 12:11:57 +0000 (14:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:49:29 +0000 (04:49 -0700)
commit96f94e7f4a216282a24819968184c881e6343692
tree404163f5a0e0fb4c79954059025f4b322868be89
parent80df9a2692edf7afffda9282e716e7b1df198e07
bridge: netlink: export port's designated cost and port

Add IFLA_BRPORT_DESIGNATED_(COST|PORT) to allow getting the port's
designated cost and port respectively via netlink.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/bridge/br_netlink.c