Number of devices maintains the standard-based MAC control counters for control frames. Add a API for those.
Showing the changes to include/uapi/linux/ethtool.h (1 of 6 files). Show all
Unified · Split
| @@ -672,6 +672,7 @@ enum ethtool_link_ext_substate_cable_issue { · 671 unmodified lines | ||
| 672 | 672 | * @ETH_SS_STATS_STD: standardized stats |
| 673 | 673 | * @ETH_SS_STATS_ETH_PHY: names of IEEE 802.3 PHY statistics |
| 674 | 674 | * @ETH_SS_STATS_ETH_MAC: names of IEEE 802.3 MAC statistics |
| 675 | + * @ETH_SS_STATS_ETH_CTRL: names of IEEE 802.3 MAC Control statistics | |
| 675 | 676 | * |
| 676 | 677 | * @ETH_SS_COUNT: number of defined string sets |
| 677 | 678 | */ |
| @@ -695,6 +696,7 @@ enum ethtool_stringset { · 17 unmodified lines | ||
| 695 | 696 | ETH_SS_STATS_STD, |
| 696 | 697 | ETH_SS_STATS_ETH_PHY, |
| 697 | 698 | ETH_SS_STATS_ETH_MAC, |
| 699 | + ETH_SS_STATS_ETH_CTRL, | |
| 698 | 700 | |
| 699 | 701 | /* add new constants above here */ |
| 700 | 702 | ETH_SS_COUNT |