bonding: export slave's actor_oper_port_state via sysfs and netlink
authorNikolay Aleksandrov <razor@blackwall.org>
Sun, 14 Jun 2015 13:36:34 +0000 (16:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2015 23:40:24 +0000 (16:40 -0700)
commit254cb6dbfd8894743fbf814ec856ccd0874af691
tree0cff7ca1cb547d3ce513d99b4aec11a3a9896ce4
parent4d367963ac0db8212545bad4ee9a44794fc1d667
bonding: export slave's actor_oper_port_state via sysfs and netlink

Export the actor_oper_port_state of each port via sysfs and netlink.
In 802.3ad mode it is valuable for the user to be able to check the
actor_oper state, it is already exported via bond's proc entry.

Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_netlink.c
drivers/net/bonding/bond_sysfs_slave.c
include/uapi/linux/if_link.h