Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/e1000: initialize PTP to system time
Currently, e1000 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 e1000 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 <[email protected]> Tested-by: Hailin Xu <[email protected]> Acked-by: Bruce Richardson <[email protected]>
- Loading branch information