> 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 <[email protected]>
> ---
> 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 <[email protected]>

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

Reply via email to