summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@blackwall.org>2015-06-14 16:36:35 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-15 16:40:24 -0700
commit46ea297ed67cdeeb0142244873458b911037d0ba (patch)
treed7af7c0118003b89814e0320fead24fab26a85e3 /include/uapi/linux
parent254cb6dbfd8894743fbf814ec856ccd0874af691 (diff)
downloadop-kernel-dev-46ea297ed67cdeeb0142244873458b911037d0ba.zip
op-kernel-dev-46ea297ed67cdeeb0142244873458b911037d0ba.tar.gz
bonding: export slave's partner_oper_port_state via sysfs and netlink
Export the partner_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 partner_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/linux')
-rw-r--r--include/uapi/linux/if_link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 1b3e357..510efb3 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -457,6 +457,7 @@ enum {
IFLA_BOND_SLAVE_QUEUE_ID,
IFLA_BOND_SLAVE_AD_AGGREGATOR_ID,
IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE,
+ IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE,
__IFLA_BOND_SLAVE_MAX,
};
OpenPOWER on IntegriCloud