History

bonding: print churn state via netlink

Currently, the churn state is printed only in sysfs. Add netlink support so users could get the state via netlink.

Hangbin Liu committed 8 months ago

Commit 4916f2e1 parent 15c9ed12 files · +11 −0Browse files

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

Unified · Split

include/uapi/linux/if_link.h+2−0
@@ -1568,6 +1568,8 @@ enum { · 1567 unmodified lines
15681568 IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE,
15691569 IFLA_BOND_SLAVE_PRIO,
15701570 IFLA_BOND_SLAVE_ACTOR_PORT_PRIO,
1571+ IFLA_BOND_SLAVE_AD_CHURN_ACTOR_STATE,
1572+ IFLA_BOND_SLAVE_AD_CHURN_PARTNER_STATE,
15711573 __IFLA_BOND_SLAVE_MAX,
15721574 };
15731575