[Intel-wired-lan] [PATCH iwl-next v7 02/12] ice: support Rx timestamp on flex descriptor
Simon Horman
horms at kernel.org
Sat Jun 8 12:56:53 UTC 2024
On Tue, Jun 04, 2024 at 09:13:50AM -0400, Mateusz Polchlopek wrote:
> From: Simei Su <simei.su at intel.com>
>
> To support Rx timestamp offload, VIRTCHNL_OP_1588_PTP_CAPS is sent by
> the VF to request PTP capability and responded by the PF what capability
> is enabled for that VF.
>
> Hardware captures timestamps which contain only 32 bits of nominal
> nanoseconds, as opposed to the 64bit timestamps that the stack expects.
> To convert 32b to 64b, we need a current PHC time.
> VIRTCHNL_OP_1588_PTP_GET_TIME is sent by the VF and responded by the
> PF with the current PHC time.
>
> Signed-off-by: Simei Su <simei.su at intel.com>
> Reviewed-by: Wojciech Drewek <wojciech.drewek at intel.com>
> Co-developed-by: Mateusz Polchlopek <mateusz.polchlopek at intel.com>
> Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek at intel.com>
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the Intel-wired-lan
mailing list