History

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.

Nikolay Aleksandrov committed 11 years ago

Commit 254cb6d1 parent 4d367963 files · +26 −1Browse files

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

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -456,6 +456,7 @@ enum { · 455 unmodified lines
456456 IFLA_BOND_SLAVE_PERM_HWADDR,
457457 IFLA_BOND_SLAVE_QUEUE_ID,
458458 IFLA_BOND_SLAVE_AD_AGGREGATOR_ID,
459+ IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE,
459460 __IFLA_BOND_SLAVE_MAX,
460461 };
461462