]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: netlink: export port's id and number
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 6 Oct 2015 12:11:58 +0000 (14:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:49:29 +0000 (04:49 -0700)
commit4223f17081fc361bc37c4218e0843588328e3a26
tree6bd7eabec0576557bc2ac6b3a434c974a2a23f34
parent81cbd85865bf6917726f44d6bc2739ec7808b47b
bridge: netlink: export port's id and number

Add IFLA_BRPORT_(ID|NO) to allow getting port's port_id and port_no
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