f09ea6fb12
Add an interface for reading standard stats, including stats which don't have a corresponding control interface. Start with IEEE 802.3 PHY stats. There seems to be only one stat to expose there. Define API to not require user space changes when new stats or groups are added. Groups are based on bitset, stats have a string set associated. v1: wrap stats in a nest Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
11 lines
353 B
Makefile
11 lines
353 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
obj-y += ioctl.o common.o
|
|
|
|
obj-$(CONFIG_ETHTOOL_NETLINK) += ethtool_nl.o
|
|
|
|
ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o \
|
|
linkstate.o debug.o wol.o features.o privflags.o rings.o \
|
|
channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
|
|
tunnels.o fec.o eeprom.o stats.o
|