Re: [Intel-wired-lan] [PATCH iwl-next v3] idpf: add HW timestamping statistics
From: Paul Menzel <hidden>
Date: 2025-09-15 16:11:01
Also in:
intel-wired-lan
Dear Anton, Thank you for the improved patch. Am 29.08.25 um 19:57 schrieb Anton Nadezhdin:
From: Milena Olech <redacted> Add HW timestamping statistics support - through implementing get_ts_stats. Timestamp statistics include correctly timestamped packets, discarded, skipped and flushed during PTP release. Most of the stats are collected per vport, only requests skipped due to lack of free latch index are collected per Tx queue. Statistics can be obtained using kernel ethtool since version 6.10 with: ethtool -I -T <interface> The output will include: Statistics: tx_pkts: 15 tx_lost: 0 tx_err: 0 Signed-off-by: Milena Olech <redacted> Co-developed-by: Anton Nadezhdin <redacted> Signed-off-by: Anton Nadezhdin <redacted> Reviewed-by: Aleksandr Loktionov <redacted> --- Changelog: v2: Add testing information v3: Add check for port status to resolve driver crash during statistic read when port is down --- drivers/net/ethernet/intel/idpf/idpf.h | 17 ++++++ .../net/ethernet/intel/idpf/idpf_ethtool.c | 56 +++++++++++++++++++ drivers/net/ethernet/intel/idpf/idpf_ptp.c | 11 +++- .../ethernet/intel/idpf/idpf_virtchnl_ptp.c | 4 ++ 4 files changed, 87 insertions(+), 1 deletion(-)
[…] Reviewed-by: Paul Menzel <redacted> Kind regards, Paul