Re: [PATCH] net/hns3: fix inaccurate RTC time to read

2023-01-13 Thread Ferruh Yigit
On 1/13/2023 6:49 AM, Dongdong Liu wrote: > Hi Huisong > > On 2023/1/9 16:23, Huisong Li wrote: >> The sequence of reading current RTC time register doesn't meet >> the hardware requirements, which causes this time obtained is >> the one before modifying RTC time. >> >> Fixes: 38b539d96eb6 ("net/h

Re: [PATCH] net/hns3: fix inaccurate RTC time to read

2023-01-12 Thread Dongdong Liu
Hi Huisong On 2023/1/9 16:23, Huisong Li wrote: The sequence of reading current RTC time register doesn't meet the hardware requirements, which causes this time obtained is the one before modifying RTC time. Fixes: 38b539d96eb6 ("net/hns3: support IEEE 1588 PTP") Cc: sta...@dpdk.org Signed-off

[PATCH] net/hns3: fix inaccurate RTC time to read

2023-01-09 Thread Huisong Li
The sequence of reading current RTC time register doesn't meet the hardware requirements, which causes this time obtained is the one before modifying RTC time. Fixes: 38b539d96eb6 ("net/hns3: support IEEE 1588 PTP") Cc: sta...@dpdk.org Signed-off-by: Huisong Li --- drivers/net/hns3/hns3_ptp.c |