diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-04-27 01:55:21 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-08-27 22:28:47 +0100 |
commit | 02e121650b5e46ef3f2b3ed1ebc4b70e47799056 (patch) | |
tree | fff130923bf82cde0bc0359384edf2d4cd359967 /drivers/net/ethernet/sfc/ethtool.c | |
parent | 43a3739d559f02cb00d92a51d8f2a7d294a1b5e5 (diff) | |
download | linux-02e121650b5e46ef3f2b3ed1ebc4b70e47799056.tar.gz |
sfc: Add TX merged completion counter
Add a counter for TX merged completion events.
This is implemented in the common TX path, because the NIC event
handlers only know how many descriptors were completed, not how many
packets.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/ethtool.c')
-rw-r--r-- | drivers/net/ethernet/sfc/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ethtool.c b/drivers/net/ethernet/sfc/ethtool.c index 0b8ffdfba3d8..63546930f954 100644 --- a/drivers/net/ethernet/sfc/ethtool.c +++ b/drivers/net/ethernet/sfc/ethtool.c @@ -65,6 +65,7 @@ static u64 efx_get_atomic_stat(void *field) unsigned int, efx_get_uint_stat) static const struct efx_sw_stat_desc efx_sw_stat_desc[] = { + EFX_ETHTOOL_UINT_TXQ_STAT(merge_events), EFX_ETHTOOL_UINT_TXQ_STAT(tso_bursts), EFX_ETHTOOL_UINT_TXQ_STAT(tso_long_headers), EFX_ETHTOOL_UINT_TXQ_STAT(tso_packets), |