mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
cxgb4: Align ethtool get stat settings
Align the ethtool get stats settings with the rest so it looks uniform Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aec1592474
commit
eed7342d4b
1 changed files with 65 additions and 65 deletions
|
@ -35,79 +35,79 @@ static void set_msglevel(struct net_device *dev, u32 val)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char stats_strings[][ETH_GSTRING_LEN] = {
|
static const char stats_strings[][ETH_GSTRING_LEN] = {
|
||||||
"TxOctetsOK ",
|
"tx_octets_ok ",
|
||||||
"TxFramesOK ",
|
"tx_frames_ok ",
|
||||||
"TxBroadcastFrames ",
|
"tx_broadcast_frames ",
|
||||||
"TxMulticastFrames ",
|
"tx_multicast_frames ",
|
||||||
"TxUnicastFrames ",
|
"tx_unicast_frames ",
|
||||||
"TxErrorFrames ",
|
"tx_error_frames ",
|
||||||
|
|
||||||
"TxFrames64 ",
|
"tx_frames_64 ",
|
||||||
"TxFrames65To127 ",
|
"tx_frames_65_to_127 ",
|
||||||
"TxFrames128To255 ",
|
"tx_frames_128_to_255 ",
|
||||||
"TxFrames256To511 ",
|
"tx_frames_256_to_511 ",
|
||||||
"TxFrames512To1023 ",
|
"tx_frames_512_to_1023 ",
|
||||||
"TxFrames1024To1518 ",
|
"tx_frames_1024_to_1518 ",
|
||||||
"TxFrames1519ToMax ",
|
"tx_frames_1519_to_max ",
|
||||||
|
|
||||||
"TxFramesDropped ",
|
"tx_frames_dropped ",
|
||||||
"TxPauseFrames ",
|
"tx_pause_frames ",
|
||||||
"TxPPP0Frames ",
|
"tx_ppp0_frames ",
|
||||||
"TxPPP1Frames ",
|
"tx_ppp1_frames ",
|
||||||
"TxPPP2Frames ",
|
"tx_ppp2_frames ",
|
||||||
"TxPPP3Frames ",
|
"tx_ppp3_frames ",
|
||||||
"TxPPP4Frames ",
|
"tx_ppp4_frames ",
|
||||||
"TxPPP5Frames ",
|
"tx_ppp5_frames ",
|
||||||
"TxPPP6Frames ",
|
"tx_ppp6_frames ",
|
||||||
"TxPPP7Frames ",
|
"tx_ppp7_frames ",
|
||||||
|
|
||||||
"RxOctetsOK ",
|
"rx_octets_ok ",
|
||||||
"RxFramesOK ",
|
"rx_frames_ok ",
|
||||||
"RxBroadcastFrames ",
|
"rx_broadcast_frames ",
|
||||||
"RxMulticastFrames ",
|
"rx_multicast_frames ",
|
||||||
"RxUnicastFrames ",
|
"rx_unicast_frames ",
|
||||||
|
|
||||||
"RxFramesTooLong ",
|
"rx_frames_too_long ",
|
||||||
"RxJabberErrors ",
|
"rx_jabber_errors ",
|
||||||
"RxFCSErrors ",
|
"rx_fcs_errors ",
|
||||||
"RxLengthErrors ",
|
"rx_length_errors ",
|
||||||
"RxSymbolErrors ",
|
"rx_symbol_errors ",
|
||||||
"RxRuntFrames ",
|
"rx_runt_frames ",
|
||||||
|
|
||||||
"RxFrames64 ",
|
"rx_frames_64 ",
|
||||||
"RxFrames65To127 ",
|
"rx_frames_65_to_127 ",
|
||||||
"RxFrames128To255 ",
|
"rx_frames_128_to_255 ",
|
||||||
"RxFrames256To511 ",
|
"rx_frames_256_to_511 ",
|
||||||
"RxFrames512To1023 ",
|
"rx_frames_512_to_1023 ",
|
||||||
"RxFrames1024To1518 ",
|
"rx_frames_1024_to_1518 ",
|
||||||
"RxFrames1519ToMax ",
|
"rx_frames_1519_to_max ",
|
||||||
|
|
||||||
"RxPauseFrames ",
|
"rx_pause_frames ",
|
||||||
"RxPPP0Frames ",
|
"rx_ppp0_frames ",
|
||||||
"RxPPP1Frames ",
|
"rx_ppp1_frames ",
|
||||||
"RxPPP2Frames ",
|
"rx_ppp2_frames ",
|
||||||
"RxPPP3Frames ",
|
"rx_ppp3_frames ",
|
||||||
"RxPPP4Frames ",
|
"rx_ppp4_frames ",
|
||||||
"RxPPP5Frames ",
|
"rx_ppp5_frames ",
|
||||||
"RxPPP6Frames ",
|
"rx_ppp6_frames ",
|
||||||
"RxPPP7Frames ",
|
"rx_ppp7_frames ",
|
||||||
|
|
||||||
"RxBG0FramesDropped ",
|
"rx_bg0_frames_dropped ",
|
||||||
"RxBG1FramesDropped ",
|
"rx_bg1_frames_dropped ",
|
||||||
"RxBG2FramesDropped ",
|
"rx_bg2_frames_dropped ",
|
||||||
"RxBG3FramesDropped ",
|
"rx_bg3_frames_dropped ",
|
||||||
"RxBG0FramesTrunc ",
|
"rx_bg0_frames_trunc ",
|
||||||
"RxBG1FramesTrunc ",
|
"rx_bg1_frames_trunc ",
|
||||||
"RxBG2FramesTrunc ",
|
"rx_bg2_frames_trunc ",
|
||||||
"RxBG3FramesTrunc ",
|
"rx_bg3_frames_trunc ",
|
||||||
|
|
||||||
"TSO ",
|
"tso ",
|
||||||
"TxCsumOffload ",
|
"tx_csum_offload ",
|
||||||
"RxCsumGood ",
|
"rx_csum_good ",
|
||||||
"VLANextractions ",
|
"vlan_extractions ",
|
||||||
"VLANinsertions ",
|
"vlan_insertions ",
|
||||||
"GROpackets ",
|
"gro_packets ",
|
||||||
"GROmerged ",
|
"gro_merged ",
|
||||||
};
|
};
|
||||||
|
|
||||||
static char adapter_stats_strings[][ETH_GSTRING_LEN] = {
|
static char adapter_stats_strings[][ETH_GSTRING_LEN] = {
|
||||||
|
|
Loading…
Reference in a new issue