]> www.infradead.org Git - users/jedix/linux-maple.git/commit
eth: fbnic: add ethtool timestamping statistics
authorVadim Fedorenko <vadfed@meta.com>
Tue, 8 Oct 2024 18:14:36 +0000 (11:14 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Oct 2024 10:52:12 +0000 (12:52 +0200)
commit96f358f75d1a4efbbaf0302395fde339934226f3
treeb36fdd6a94ebac1124c2711c57c5b2230bdbff2c
parentad3d9f8bc66c5d717977b224b19478d996d125d0
eth: fbnic: add ethtool timestamping statistics

Add counters of packets with HW timestamps requests and lost timestamps
with no associated skbs. Use ethtool interface to report these counters.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
drivers/net/ethernet/meta/fbnic/fbnic_txrx.h