]> 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)
commitfce1117ce45a64b8b14ef182354c9877c5b59bb9
tree6bd7eabec0576557bc2ac6b3a434c974a2a23f34
parent5d7b7013a3efeeaf01711db1cd3926a18ddf0d94
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