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.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -456,6 +456,7 @@ enum { · 455 unmodified lines | |||
| 456 | IFLA_BOND_SLAVE_PERM_HWADDR, | 456 | IFLA_BOND_SLAVE_PERM_HWADDR, |
| 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_MAX, | 460 | __IFLA_BOND_SLAVE_MAX, |
| 460 | }; | 461 | }; |
| 461 | 462 | ||