diff options
author | David S. Miller <davem@davemloft.net> | 2015-06-15 16:40:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-15 16:40:25 -0700 |
commit | cadfaf432b929ea2b0b595059b5dc5eb4de65f4d (patch) | |
tree | d7af7c0118003b89814e0320fead24fab26a85e3 /include | |
parent | 4d367963ac0db8212545bad4ee9a44794fc1d667 (diff) | |
parent | 46ea297ed67cdeeb0142244873458b911037d0ba (diff) | |
download | linux-cadfaf432b929ea2b0b595059b5dc5eb4de65f4d.tar.gz linux-cadfaf432b929ea2b0b595059b5dc5eb4de65f4d.tar.bz2 linux-cadfaf432b929ea2b0b595059b5dc5eb4de65f4d.zip |
Merge branch 'bond-netlink-3ad-attrs'
Nikolay Aleksandrov says:
====================
bonding: extend the 3ad exported attributes
These are two small patches that export actor_oper_port_state and
partner_oper_port_state via netlink and sysfs, until now they were only
exported via bond's proc entry. If this set gets accepted I have an iproute2
patch prepared that will export them with which I tested these changes.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_link.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 1737b7a8272b..510efb360580 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -456,6 +456,8 @@ 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_AD_PARTNER_OPER_PORT_STATE, __IFLA_BOND_SLAVE_MAX, }; |