[PATCH v2 2/3] net/i40e: initialize PTP to system time
Bruce Richardson
bruce.richardson at intel.com
Tue Nov 26 16:44:17 CET 2024
On Mon, Nov 25, 2024 at 11:33:25AM +0000, Anatoly Burakov wrote:
> Currently, i40e driver initializes PTP timestamp to 0. This is different
> from what kernel driver does (which initializes it to system time).
>
> Align the DPDK driver to kernel driver by setting PTP timestamp to system
> time when enabling PTP.
>
> Note that i40e driver always uses zero-based timestamps for PTP, so we
> would only ever update the internal timecounter and not the actual NIC
> registers.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list