diff options
author | Nikolay Aleksandrov <razor@blackwall.org> | 2015-06-14 16:36:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-15 16:40:24 -0700 |
commit | 254cb6dbfd8894743fbf814ec856ccd0874af691 (patch) | |
tree | 0cff7ca1cb547d3ce513d99b4aec11a3a9896ce4 /include/uapi | |
parent | 4d367963ac0db8212545bad4ee9a44794fc1d667 (diff) | |
download | op-kernel-dev-254cb6dbfd8894743fbf814ec856ccd0874af691.zip op-kernel-dev-254cb6dbfd8894743fbf814ec856ccd0874af691.tar.gz |
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>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 1737b7a..1b3e357 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -456,6 +456,7 @@ enum { IFLA_BOND_SLAVE_PERM_HWADDR, IFLA_BOND_SLAVE_QUEUE_ID, IFLA_BOND_SLAVE_AD_AGGREGATOR_ID, + IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE, __IFLA_BOND_SLAVE_MAX, }; |