> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Mateusz Polchlopek
> Sent: Tuesday, October 22, 2024 1:41 PM
> To: [email protected]
> Cc: [email protected]; Su, Simei <[email protected]>; Drewek, Wojciech
> <[email protected]>; Simon Horman <[email protected]>; Polchlopek,
> Mateusz <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next v12 02/14] ice: support Rx 
> timestamp
> on flex descriptor
> 
> From: Simei Su <[email protected]>
> 
> 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 <[email protected]>
> Reviewed-by: Wojciech Drewek <[email protected]>
> Reviewed-by: Simon Horman <[email protected]>
> Co-developed-by: Mateusz Polchlopek <[email protected]>
> Signed-off-by: Mateusz Polchlopek <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_base.c     |  3 -
>  drivers/net/ethernet/intel/ice/ice_lib.c      |  5 +-
>  drivers/net/ethernet/intel/ice/ice_ptp.c      |  4 +-
>  drivers/net/ethernet/intel/ice/ice_ptp.h      |  8 ++
>  drivers/net/ethernet/intel/ice/ice_vf_lib.h   |  3 +
>  drivers/net/ethernet/intel/ice/ice_virtchnl.c | 73 ++++++++++++++++++-
> drivers/net/ethernet/intel/ice/ice_virtchnl.h |  6 ++
>  .../intel/ice/ice_virtchnl_allowlist.c        |  7 ++
>  include/linux/avf/virtchnl.h                  | 15 +++-
>  9 files changed, 113 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_base.c
> b/drivers/net/ethernet/intel/ice/ice_base.c
> index 3a8e156d7d86..aafcd3d4e599 100644
> --- a/drivers/net/ethernet/intel/ice/ice_base.c
> +++ b/drivers/net/ethernet/intel/ice/ice_base.c

Tested-by: Rafal Romanowski <[email protected]>


Reply via email to