On Thu, Feb 27, 2025 at 5:16 AM Milena Olech <[email protected]> wrote:
>
> PTP capabilities are negotiated using virtchnl commands. There are two
> available modes of the PTP support: direct and mailbox. When the direct
> access to PTP resources is negotiated, virtchnl messages returns a set
> of registers that allow read/write directly. When the mailbox access to
> PTP resources is negotiated, virtchnl messages are used to access
> PTP clock and to read the timestamp values.
>
> Virtchnl API covers both modes and exposes a set of PTP capabilities.
>
> Using virtchnl API, the driver recognizes also HW abilities - maximum
> adjustment of the clock and the basic increment value.
>
> Additionally, API allows to configure the secondary mailbox, dedicated
> exclusively for PTP purposes.
>
> Reviewed-by: Alexander Lobakin <[email protected]>
> Reviewed-by: Willem de Bruijn <[email protected]>
> Signed-off-by: Milena Olech <[email protected]>

Tested-by: Mina Almasry <[email protected]>

-- 
Thanks,
Mina

Reply via email to