[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250228162958.1257521-1-zhuyifei@google.com>
Date: Fri, 28 Feb 2025 16:29:58 +0000
From: YiFei Zhu <zhuyifei@...gle.com>
To: milena.olech@...el.com
Cc: anthony.l.nguyen@...el.com, intel-wired-lan@...ts.osuosl.org,
netdev@...r.kernel.org, przemyslaw.kitszel@...el.com,
YiFei Zhu <zhuyifei@...gle.com>
Subject: Re: [Intel-wired-lan] [PATCH v8 iwl-next 09/10] idpf: add support for
Rx timestamping
> Add Rx timestamp function when the Rx timestamp value is read directly
> from the Rx descriptor. In order to extend the Rx timestamp value to 64
> bit in hot path, the PHC time is cached in the receive groups.
> Add supported Rx timestamp modes.
>
> Signed-off-by: Milena Olech <milena.olech@...el.com>
> ---
> v7 -> v8: add a function to check if the Rx timestamp for a given vport
> is enabled
> v5 -> v6: add Rx filter
> v2 -> v3: add disable Rx timestamp
> v1 -> v2: extend commit message
>
> .../net/ethernet/intel/idpf/idpf_ethtool.c | 1 +
> drivers/net/ethernet/intel/idpf/idpf_lib.c | 6 +-
> drivers/net/ethernet/intel/idpf/idpf_ptp.c | 86 ++++++++++++++++++-
> drivers/net/ethernet/intel/idpf/idpf_ptp.h | 21 +++++
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 30 +++++++
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 7 +-
> 6 files changed, 147 insertions(+), 4 deletions(-)
Tested-by: YiFei Zhu <zhuyifei@...gle.com>
I was able to receive hardware timestamps in ts[2] as expected, after enabling
SIOCSHWTSTAMP with rx_filter=HWTSTAMP_FILTER_ALL, and SO_TIMESTAMPING with
flags=0x7c.
Thanks
YiFei Zhu
Powered by blists - more mailing lists