History

ethtool: add interface to read standard MAC Ctrl stats

Number of devices maintains the standard-based MAC control counters for control frames. Add a API for those.

Jakub Kicinski committed 5 years ago

Commit bfad2b91 parent ca224456 files · +67 −0Browse files

Showing the changes to include/uapi/linux/ethtool.h (1 of 6 files). Show all

Unified · Split

include/uapi/linux/ethtool.h+2−0
@@ -672,6 +672,7 @@ enum ethtool_link_ext_substate_cable_issue { · 671 unmodified lines
672 * @ETH_SS_STATS_STD: standardized stats672 * @ETH_SS_STATS_STD: standardized stats
673 * @ETH_SS_STATS_ETH_PHY: names of IEEE 802.3 PHY statistics673 * @ETH_SS_STATS_ETH_PHY: names of IEEE 802.3 PHY statistics
674 * @ETH_SS_STATS_ETH_MAC: names of IEEE 802.3 MAC statistics674 * @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 * @ETH_SS_COUNT: number of defined string sets677 * @ETH_SS_COUNT: number of defined string sets
677 */678 */
@@ -695,6 +696,7 @@ enum ethtool_stringset { · 17 unmodified lines
695 ETH_SS_STATS_STD,696 ETH_SS_STATS_STD,
696 ETH_SS_STATS_ETH_PHY,697 ETH_SS_STATS_ETH_PHY,
697 ETH_SS_STATS_ETH_MAC,698 ETH_SS_STATS_ETH_MAC,
699 ETH_SS_STATS_ETH_CTRL,
698 700
699 /* add new constants above here */701 /* add new constants above here */
700 ETH_SS_COUNT702 ETH_SS_COUNT

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t