i40e: add statistic indicating number of skipped Tx timestamps
The i40e 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> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
69077577af
commit
2955faca04
@@ -506,6 +506,7 @@ struct i40e_pf {
|
||||
struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
|
||||
u64 ptp_base_adj;
|
||||
u32 tx_hwtstamp_timeouts;
|
||||
u32 tx_hwtstamp_skipped;
|
||||
u32 rx_hwtstamp_cleared;
|
||||
u32 latch_event_flags;
|
||||
spinlock_t ptp_rx_lock; /* Used to protect Rx timestamp registers. */
|
||||
|
Reference in New Issue
Block a user