@@ -1092,8 +1092,18 @@ Request contents:
1092
1092
1093
1093
===================================== ====== ==========================
1094
1094
``ETHTOOL_A_PAUSE_HEADER `` nested request header
1095
+ ``ETHTOOL_A_PAUSE_STATS_SRC `` u32 source of statistics
1095
1096
===================================== ====== ==========================
1096
1097
1098
+ ``ETHTOOL_A_PAUSE_STATS_SRC `` is optional. It takes values from:
1099
+
1100
+ .. kernel-doc :: include/uapi/linux/ethtool.h
1101
+ :identifiers: ethtool_mac_stats_src
1102
+
1103
+ If absent from the request, stats will be provided with
1104
+ an ``ETHTOOL_A_PAUSE_STATS_SRC `` attribute in the response equal to
1105
+ ``ETHTOOL_MAC_STATS_SRC_AGGREGATE ``.
1106
+
1097
1107
Kernel response contents:
1098
1108
1099
1109
===================================== ====== ==========================
@@ -1508,6 +1518,7 @@ Request contents:
1508
1518
1509
1519
======================================= ====== ==========================
1510
1520
``ETHTOOL_A_STATS_HEADER `` nested request header
1521
+ ``ETHTOOL_A_STATS_SRC `` u32 source of statistics
1511
1522
``ETHTOOL_A_STATS_GROUPS `` bitset requested groups of stats
1512
1523
======================================= ====== ==========================
1513
1524
@@ -1516,6 +1527,8 @@ Kernel response contents:
1516
1527
+-----------------------------------+--------+--------------------------------+
1517
1528
| ``ETHTOOL_A_STATS_HEADER `` | nested | reply header |
1518
1529
+-----------------------------------+--------+--------------------------------+
1530
+ | ``ETHTOOL_A_STATS_SRC `` | u32 | source of statistics |
1531
+ +-----------------------------------+--------+--------------------------------+
1519
1532
| ``ETHTOOL_A_STATS_GRP `` | nested | one or more group of stats |
1520
1533
+-+---------------------------------+--------+--------------------------------+
1521
1534
| | ``ETHTOOL_A_STATS_GRP_ID `` | u32 | group ID - ``ETHTOOL_STATS_* `` |
@@ -1577,6 +1590,11 @@ Low and high bounds are inclusive, for example:
1577
1590
etherStatsPkts512to1023Octets 512 1023
1578
1591
============================= ==== ====
1579
1592
1593
+ ``ETHTOOL_A_STATS_SRC `` is optional. Similar to ``PAUSE_GET ``, it takes values
1594
+ from ``enum ethtool_mac_stats_src ``. If absent from the request, stats will be
1595
+ provided with an ``ETHTOOL_A_STATS_SRC `` attribute in the response equal to
1596
+ ``ETHTOOL_MAC_STATS_SRC_AGGREGATE ``.
1597
+
1580
1598
PHC_VCLOCKS_GET
1581
1599
===============
1582
1600
0 commit comments