RE: [RFC v2 1/3] ethdev: add frequency adjustment API

2023-05-24 Thread Su, Simei
10:18 PM > To: Su, Simei > Cc: ferruh.yi...@amd.com; andrew.rybche...@oktetlabs.ru; Rybalchenko, > Kirill ; Zhang, Qi Z ; > dev@dpdk.org; Wu, Wenjun1 ; > david.march...@redhat.com > Subject: Re: [RFC v2 1/3] ethdev: add frequency adjustment API > > Hello, > > 03/

Re: [RFC v2 1/3] ethdev: add frequency adjustment API

2023-05-15 Thread Thomas Monjalon
Hello, 03/04/2023 11:22, Simei Su: > This patch introduces a new timesync API "rte_eth_timesync_adjust_freq" > which enables frequency adjustment during PTP timesync. You should explain how it compares with existing functions like rte_eth_timesync_adjust_time(). [...] > /** > + * Adjust the clo

[RFC v2 1/3] ethdev: add frequency adjustment API

2023-04-03 Thread Simei Su
This patch introduces a new timesync API "rte_eth_timesync_adjust_freq" which enables frequency adjustment during PTP timesync. Signed-off-by: Simei Su --- lib/ethdev/ethdev_driver.h | 5 + lib/ethdev/ethdev_trace.h| 9 + lib/ethdev/ethdev_trace_points.c | 3 +++ lib