Thread: [Linuxptp-users] Intel X722 maybe incompatible with IEEE1588 2.1
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Cliff S. <csp...@go...> - 2022-10-20 07:52:14
|
I'm looking into it further, but it looks like the X722 (which uses the i40e driver) does not record RX timestamps on layer 2 1588 event packets where the version is set to 2.1 rather than 2. I found this issue previously reported last year (https://www.mail-archive.com/lin...@li.../msg02414.html). I believe this is the root cause. An easy workaround is to manually patch linuxptp to set version 2.0. -cliff |
From: Richard C. <ric...@gm...> - 2022-10-20 12:53:16
|
On Thu, Oct 20, 2022 at 12:27:06AM -0700, Cliff Spradlin via Linuxptp-users wrote: > I'm looking into it further, but it looks like the X722 (which uses > the i40e driver) does not record RX timestamps on layer 2 1588 event > packets But it does timestamp UDPv4 frames? > where the version is set to 2.1 rather than 2. Thanks, Richard |
From: Miroslav L. <mli...@re...> - 2022-10-20 15:00:04
|
On Thu, Oct 20, 2022 at 12:27:06AM -0700, Cliff Spradlin via Linuxptp-users wrote: > I'm looking into it further, but it looks like the X722 (which uses > the i40e driver) does not record RX timestamps on layer 2 1588 event > packets where the version is set to 2.1 rather than 2. > I'm wondering if this could be fixed with a firmware update or if it's in the silicon. I vaguely remember some Intel NIC had a firmware update which added a timestamping filter. -- Miroslav Lichvar |
From: Keller, J. E <jac...@in...> - 2022-10-20 16:52:49
|
> -----Original Message----- > From: Miroslav Lichvar <mli...@re...> > Sent: Thursday, October 20, 2022 7:59 AM > To: Cliff Spradlin <csp...@go...> > Cc: lin...@li... > Subject: Re: [Linuxptp-users] Intel X722 maybe incompatible with IEEE1588 2.1 > > On Thu, Oct 20, 2022 at 12:27:06AM -0700, Cliff Spradlin via Linuxptp-users > wrote: > > I'm looking into it further, but it looks like the X722 (which uses > > the i40e driver) does not record RX timestamps on layer 2 1588 event > > packets where the version is set to 2.1 rather than 2. > > > I'm wondering if this could be fixed with a firmware update or if it's > in the silicon. I vaguely remember some Intel NIC had a firmware > update which added a timestamping filter. > > -- > Miroslav Lichvar > I am going to try and file a bug about this, thanks. - Jake |
From: Keller, J. E <jac...@in...> - 2022-10-20 16:54:12
|
> -----Original Message----- > From: Cliff Spradlin via Linuxptp-users <lin...@li...> > Sent: Thursday, October 20, 2022 12:27 AM > To: lin...@li... > Subject: [Linuxptp-users] Intel X722 maybe incompatible with IEEE1588 2.1 > > I'm looking into it further, but it looks like the X722 (which uses > the i40e driver) does not record RX timestamps on layer 2 1588 event > packets where the version is set to 2.1 rather than 2. > I am going to try and file a ticket for this. Any other reproduction information you have would be appreciated. Layer 2, with version 2.1. Do you happen to know what existing firmware version your X722 has? Thanks, Jake > I found this issue previously reported last year > (https://www.mail-archive.com/linuxptp- > us...@li.../msg02414.html). > I believe this is the root cause. An easy workaround is to manually > patch linuxptp to set version 2.0. > > -cliff > > > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |
From: Cliff S. <csp...@wa...> - 2022-10-20 17:18:59
|
Thanks for all the responses! Richard Cochran wrote: > But it does timestamp UDPv4 frames? No - I hadn't been able to test that due to a firewall issue. But I just tested and UDPv4 also fails in the same way. Miroslav Vichnar wrote: >I'm wondering if this could be fixed with a firmware update or if it's > in the silicon. I vaguely remember some Intel NIC had a firmware > update which added a timestamping filter. That would be cool. I will follow up with Intel to check (and Jake has now replied too). On Thu, Oct 20, 2022 at 9:54 AM Keller, Jacob E <jac...@in...> wrote: > I am going to try and file a ticket for this. Any other reproduction information you have would be appreciated. Thanks! I was also planning to file an IPS ticket, should I still do that? Just built linuxptp from HEAD. I assume any ptp4l that sets version 2.1 (constant is in msg.h) would have the same failure. On one side I ran: sudo /tmp/ptp4l -m -4 -i eth0 -q On the other I ran: sudo /tmp/ptp4l -m -4 -i eth0 -q -s Both sides will report errors -- one will report RX timestamp failures on Sync, and the other on DelayReq. Like this: ptp4l[25253.624]: port 1 (eth0): received SYNC without timestamp > Layer 2, with version 2.1. Do you happen to know what existing firmware version your X722 has? firmware-version: 5.10 0x800025e4 0.0.0 |
From: Keller, J. E <jac...@in...> - 2022-10-20 17:23:34
|
> -----Original Message----- > From: Cliff Spradlin <csp...@wa...> > Sent: Thursday, October 20, 2022 10:18 AM > To: Keller, Jacob E <jac...@in...>; Miroslav Lichvar > <mli...@re...>; Richard Cochran <ric...@gm...> > Cc: lin...@li... > Subject: Re: [Linuxptp-users] Intel X722 maybe incompatible with IEEE1588 2.1 > On Thu, Oct 20, 2022 at 9:54 AM Keller, Jacob E > <jac...@in...> wrote: > > I am going to try and file a ticket for this. Any other reproduction information > you have would be appreciated. > > Thanks! I was also planning to file an IPS ticket, should I still do that? > Yes please. |