Lines Matching +full:separately +full:- +full:defined
1 .. SPDX-License-Identifier: GPL-2.0
14 - standard interface statistics based on
16 - protocol-specific statistics; and
17 - driver-defined statistics available via ethtool.
20 -----------------------------
25 $ ip -s -s link show dev ens4u1u1
38 Note that `-s` has been specified twice to see all members of
40 If `-s` is specified once the detailed errors won't be shown.
42 `ip` supports JSON formatting via the `-j` option.
44 Protocol-specific statistics
45 ----------------------------
51 $ ethtool --include-statistics -a eth0
60 Driver-defined statistics
61 -------------------------
63 Driver-defined ethtool statistics can be dumped using `ethtool -S $ifc`, e.g.::
65 $ ethtool -S ens4u1u1
74 ------
84 -----
97 `Documentation/ABI/testing/sysfs-class-net-statistics`.
101 -------
111 -------
115 statistics for which other APIs did not exist, like per-device-queue
116 statistics, or standard-based statistics (e.g. RFC 2863).
118 Statistics and their string identifiers are retrieved separately.
123 ethtool-netlink
124 ---------------
128 Protocol-related statistics can be requested in get commands by setting
132 - `ETHTOOL_MSG_PAUSE_GET`
135 -------
142 .. kernel-doc:: include/uapi/linux/if_link.h
164 Retrieving ethtool statistics is a multi-syscall process, drivers are advised
171 Kernel-internal data structures
172 -------------------------------
178 - ethtool_pause_stats()