On Sun, Jun 14, 2015 at 04:36:35PM +0300, Nikolay Aleksandrov wrote:
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.
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Andy Gospodarek <redacted>
---
Note: There's one line that's > 80 chars, but it's an IFLA name and can't
be broken in a sane way.
drivers/net/bonding/bond_netlink.c | 5 +++++
drivers/net/bonding/bond_sysfs_slave.c | 16 ++++++++++++++++
include/uapi/linux/if_link.h | 1 +
3 files changed, 22 insertions(+)