e1000e: add statistic indicating number of skipped Tx timestamps
commitcff57141456482b410a2312b88467ceb4c26d75d
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 3 May 2017 17:28:57 +0000 (3 10:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 6 Jun 2017 08:01:27 +0000 (6 01:01 -0700)
treecba6c5481dee52911cc138d9082678042b4a330b
parent74344e32fcc0d09342b77ed9d23ea74b3799d157
e1000e: add statistic indicating number of skipped Tx timestamps

The e1000e driver can only handle one Tx timestamp request at a time.
This means it is possible for an application timestamp request to be
ignored.

There is no easy way for an administrator to determine if this occurred.
Add a new statistic which tracks this, tx_hwtstamp_skipped.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/netdev.c