mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![sfeldma@cumulusnetworks.com](/assets/img/avatar_default.png)
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>
11 lines
279 B
Makefile
11 lines
279 B
Makefile
#
|
|
# Makefile for the Ethernet Bonding driver
|
|
#
|
|
|
|
obj-$(CONFIG_BONDING) += bonding.o
|
|
|
|
bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_sysfs_slave.o bond_debugfs.o bond_netlink.o bond_options.o
|
|
|
|
proc-$(CONFIG_PROC_FS) += bond_procfs.o
|
|
bonding-objs += $(proc-y)
|
|
|