History

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.

Nikolay Aleksandrov committed 11 years ago

Commit 46ea2971 parent 254cb6d3 files · +22 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -457,6 +457,7 @@ enum { · 456 unmodified lines
457 IFLA_BOND_SLAVE_QUEUE_ID,457 IFLA_BOND_SLAVE_QUEUE_ID,
458 IFLA_BOND_SLAVE_AD_AGGREGATOR_ID,458 IFLA_BOND_SLAVE_AD_AGGREGATOR_ID,
459 IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE,459 IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE,
460 IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE,
460 __IFLA_BOND_SLAVE_MAX,461 __IFLA_BOND_SLAVE_MAX,
461};462};
462 463