linux/drivers/net/bonding
sfeldma@cumulusnetworks.com 07699f9a7c bonding: add sysfs /slave dir for bond slave devices.
Add sub-directory under /sys/class/net/<interface>/slave with
read-only attributes for slave.  Directory only appears when
<interface> is a slave.

$ tree /sys/class/net/eth2/slave/
/sys/class/net/eth2/slave/
├── ad_aggregator_id
├── link_failure_count
├── mii_status
├── perm_hwaddr
├── queue_id
└── state

$ cat /sys/class/net/eth2/slave/*
2
0
up
40:02:10:ef:06:01
0
active

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-17 18:51:58 -08:00
..
bond_3ad.c bonding: fix __get_active_agg() RCU logic 2014-01-13 22:22:27 -08:00
bond_3ad.h bonding: remove the return value for bond_3ad_bind_slave() 2014-01-01 22:58:55 -05:00
bond_alb.c bonding: slight optimization for bond_alb_xmit() 2014-01-01 22:58:15 -05:00
bond_alb.h drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
bond_debugfs.c bonding: delete migrated IP addresses from the rlb hash table 2012-11-30 12:07:27 -05:00
bond_main.c bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00
bond_netlink.c bonding: fix netlink msg size 2014-01-03 21:03:21 -05:00
bond_options.c bonding: add bounds checking for tbl params 2014-01-03 21:03:22 -05:00
bond_procfs.c bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00
bond_sysfs_slave.c bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00
bond_sysfs.c bonding: fix kstrtou8() return value verification in num_peer_notif 2014-01-06 16:26:00 -05:00
bonding.h bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00
Makefile bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00