diff options
author | Xue Chaojing <xuechaojing@huawei.com> | 2019-06-24 06:50:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-24 17:18:11 +0300 |
commit | e54fbbdf5a2944f084b170cd2b7ffdfa00bf3990 (patch) | |
tree | c5ab32f223b45a322d6a3599084fec9b49f62b8f /drivers/net/ethernet/huawei/hinic/hinic_tx.h | |
parent | 7d30a7f6424e88c958c19a02f6f54ab8d25919cd (diff) | |
download | linux-e54fbbdf5a2944f084b170cd2b7ffdfa00bf3990.tar.xz |
hinic: implement the statistical interface of ethtool
This patch implement the statistical interface of ethtool, user can use
ethtool -S to show hinic statistics.
Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_tx.h')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_tx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.h b/drivers/net/ethernet/huawei/hinic/hinic_tx.h index ca5f537fc383..f158b7db7fb8 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_tx.h +++ b/drivers/net/ethernet/huawei/hinic/hinic_tx.h @@ -21,6 +21,7 @@ struct hinic_txq_stats { u64 tx_busy; u64 tx_wake; u64 tx_dropped; + u64 big_frags_pkts; struct u64_stats_sync syncp; }; |