Hi,
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.
Best regards,
Nikolay Aleksandrov
Nikolay Aleksandrov (2):
bonding: export slave's actor_oper_port_state via sysfs and netlink
bonding: export slave's partner_oper_port_state via sysfs and netlink
drivers/net/bonding/bond_netlink.c | 15 ++++++++++++++-
drivers/net/bonding/bond_sysfs_slave.c | 32 ++++++++++++++++++++++++++++++++
include/uapi/linux/if_link.h | 2 ++
3 files changed, 48 insertions(+), 1 deletion(-)
--
2.4.3