Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-07-05 Thread Ferruh Yigit
On 4/5/2024 4:36 PM, Singh, Aman Deep wrote: > On 3/30/2024 1:14 PM, Dengdui Huang wrote: >> When the port's timestamping function failed to initialize >> (for example, the device does not support PTP), the packets >> received by the hardware do not contain the timestamp. >> In this case, IEEE1588

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-17 Thread huangdengdui
On 2024/4/9 10:50, Stephen Hemminger wrote: > On Tue, 9 Apr 2024 10:06:01 +0800 > huangdengdui wrote: > >> On 2024/4/8 16:45, Ferruh Yigit wrote: >>> On 4/8/2024 6:52 AM, huangdengdui wrote: On 2024/4/6 0:44, Stephen Hemminger wrote: > On Sat, 30 Mar 2024 15:44:09 +0800

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-08 Thread Stephen Hemminger
On Tue, 9 Apr 2024 10:06:01 +0800 huangdengdui wrote: > On 2024/4/8 16:45, Ferruh Yigit wrote: > > On 4/8/2024 6:52 AM, huangdengdui wrote: > >> > >> > >> On 2024/4/6 0:44, Stephen Hemminger wrote: > >>> On Sat, 30 Mar 2024 15:44:09 +0800 > >>> Dengdui Huang wrote: > >>> > When the po

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-08 Thread huangdengdui
On 2024/4/8 16:45, Ferruh Yigit wrote: > On 4/8/2024 6:52 AM, huangdengdui wrote: >> >> >> On 2024/4/6 0:44, Stephen Hemminger wrote: >>> On Sat, 30 Mar 2024 15:44:09 +0800 >>> Dengdui Huang wrote: >>> When the port's timestamping function failed to initialize (for example, the device

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-08 Thread Ferruh Yigit
On 4/8/2024 6:52 AM, huangdengdui wrote: > > > On 2024/4/6 0:44, Stephen Hemminger wrote: >> On Sat, 30 Mar 2024 15:44:09 +0800 >> Dengdui Huang wrote: >> >>> When the port's timestamping function failed to initialize >>> (for example, the device does not support PTP), the packets >>> received b

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-07 Thread huangdengdui
On 2024/4/6 0:44, Stephen Hemminger wrote: > On Sat, 30 Mar 2024 15:44:09 +0800 > Dengdui Huang wrote: > >> When the port's timestamping function failed to initialize >> (for example, the device does not support PTP), the packets >> received by the hardware do not contain the timestamp. >> In

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-05 Thread Stephen Hemminger
On Sat, 30 Mar 2024 15:44:09 +0800 Dengdui Huang wrote: > When the port's timestamping function failed to initialize > (for example, the device does not support PTP), the packets > received by the hardware do not contain the timestamp. > In this case, IEEE1588 packet forwarding should not start.

Re: [PATCH] app/testpmd: handle IEEE1588 init fail

2024-04-05 Thread Singh, Aman Deep
On 3/30/2024 1:14 PM, Dengdui Huang wrote: When the port's timestamping function failed to initialize (for example, the device does not support PTP), the packets received by the hardware do not contain the timestamp. In this case, IEEE1588 packet forwarding should not start. This patch fix it.

[PATCH] app/testpmd: handle IEEE1588 init fail

2024-03-30 Thread Dengdui Huang
When the port's timestamping function failed to initialize (for example, the device does not support PTP), the packets received by the hardware do not contain the timestamp. In this case, IEEE1588 packet forwarding should not start. This patch fix it. Plus, adding a failure message when failed to