]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81cbd85865bf6917726f44d6bc2739ec7808b47b
tree404163f5a0e0fb4c79954059025f4b322868be89
parente8f34867714886ef83fcec9e211da5889c94185d
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