linux sja1105 bridge mode causes PTP L2 layer data to lose timestamps

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

linux sja1105 bridge mode causes PTP L2 layer data to lose timestamps

2,779 次查看
hjk003
Contributor III

Hi, NXP team. When using a SoC (imx8mp-evk) + Switch (SJA1105) architecture, setting the network bridge mode causes PTP L2 layer data to lose timestamps.
This is our architecture:

        ┌──────────────────────────────┐
        │                              │
        │                              │
        │                              │
        │                              │
        │                              │
        │                  ┌───────────┴───────────────┐
        │                  │         SPI               │
  ┌─────▼─────────┐        │                           │
  │   SPI         │        │                           │
  │ port0         │        │M                          │
  │ port1    port2◄────────┤A                          │
  │    SJA1105    │        │C                          │
  │               │        │1       CPU                │
  │ port3         │        │   MIMX8ML8DVNLZAB         │
  │ port4         │        │                           │
  │               │        │                           │
  └─────── ───────┘        │                           │
                           │        MAC2               │
                           └──────────┬────────────────┘
                                      │
                                      │
                                      │
┌───────── ────────┐                  │
│       RGMII      │                  │
│                  │                  │
│   PHY            │                  │
│   88E1512       M│                  │
│                 D◄──────────────────┘
│                 I│
│                 O│
│                  │
└───────┬──────────┘
        │
        │
        │
        │
        │
        │
        │
        │
        │
        └► OUT

Ports 1 through 4 are each connected to a SoC device.

Linux system configuration

 

br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.2.100  netmask 255.255.255.0  broadcast 172.16.2.255
        inet6 fe80::d053:57ff:feb1:df50  prefixlen 64  scopeid 0x20<link>
        ether d2:53:57:b1:df:50  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 984 (984.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

end0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.100  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::3065:76ff:feed:96cb  prefixlen 64  scopeid 0x20<link>
        ether 32:65:76:ed:96:cb  txqueuelen 1000  (Ethernet)
        RX packets 2  bytes 132 (132.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 49  bytes 2434 (2.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

end1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1504
        inet6 fe80::7c32:f0ff:fefb:c940  prefixlen 64  scopeid 0x20<link>
        ether 7e:32:f0:fb:c9:40  txqueuelen 1000  (Ethernet)
        RX packets 58  bytes 7130 (7.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 22  bytes 1828 (1.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 210

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 130  bytes 9914 (9.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 130  bytes 9914 (9.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

swp1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 7e:32:f0:fb:c9:40  txqueuelen 1000  (Ethernet)
        RX packets 58  bytes 6898 (6.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

swp2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 7e:32:f0:fb:c9:40  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

swp3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 7e:32:f0:fb:c9:40  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

swp4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 7e:32:f0:fb:c9:40  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 984 (984.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
root@hawaii-gen2:~# ptp4l -f linux_ptp_bc.conf -m && phc2sys -a -r -m
ptp4l[149.643]: selected /dev/ptp0 as PTP clock
ptp4l[149.645]: port 2 (swp1): just a bunch of devices
ptp4l[149.645]: port 3 (swp2): just a bunch of devices
ptp4l[149.645]: port 4 (swp3): just a bunch of devices
ptp4l[149.645]: port 5 (swp4): just a bunch of devices
ptp4l[149.680]: port 1 (end0): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[149.717]: port 2 (swp1): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[149.753]: port 3 (swp2): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[149.785]: port 4 (swp3): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[149.817]: port 5 (swp4): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[149.817]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[149.817]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[150.545]: port 1 (end0): new foreign master 0080ee.fffe.60f9b8-1
ptp4l[154.561]: selected best master clock 0080ee.fffe.60f9b8
ptp4l[154.561]: port 1 (end0): LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[154.561]: Switched to /dev/ptp0 as PTP clock
ptp4l[155.360]: port 1 (end0): minimum delay request interval 2^-3
ptp4l[156.258]: port 3 (swp2): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[156.292]: port 4 (swp3): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[156.452]: port 5 (swp4): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[156.569]: master offset -1766736492136248875 s0 freq      -0 path delay      1150
ptp4l[156.612]: port 2 (swp1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[157.261]: port 2 (swp1): received DELAY_REQ without timestamp
ptp4l[157.262]: port 4 (swp3): received DELAY_REQ without timestamp
ptp4l[157.262]: port 5 (swp4): received DELAY_REQ without timestamp
ptp4l[157.295]: port 2 (swp1): received DELAY_REQ without timestamp
ptp4l[157.295]: port 3 (swp2): received DELAY_REQ without timestamp
ptp4l[157.295]: port 5 (swp4): received DELAY_REQ without timestamp
ptp4l[157.455]: port 2 (swp1): received DELAY_REQ without timestamp
ptp4l[157.455]: port 3 (swp2): received DELAY_REQ without timestamp
ptp4l[157.455]: port 4 (swp3): received DELAY_REQ without timestamp
ptp4l[157.573]: master offset -1766736492136230812 s1 freq  +17991 path delay      -718
ptp4l[157.614]: port 3 (swp2): received DELAY_REQ without timestamp
ptp4l[157.615]: port 4 (swp3): received DELAY_REQ without timestamp
ptp4l[157.615]: port 5 (swp4): received DELAY_REQ without timestamp
ptp4l[158.262]: port 2 (swp1): received DELAY_REQ without timestamp
ptp4l[158.262]: port 4 (swp3): received DELAY_REQ without timestamp
ptp4l[158.262]: port 5 (swp4): received DELAY_REQ without timestamp
ptp4l[158.295]: port 2 (swp1): received DELAY_REQ without timestamp
ptp4l[158.296]: port 3 (swp2): received DELAY_REQ without timestamp
ptp4l[158.296]: port 5 (swp4): received DELAY_REQ without timestamp
ptp4l[158.455]: port 2 (swp1): received DELAY_REQ without timestamp
ptp4l[158.455]: port 3 (swp2): received DELAY_REQ without timestamp
ptp4l[158.455]: port 4 (swp3): received DELAY_REQ without timestamp
ptp4l[158.577]: master offset      -1848 s2 freq  +16143 path delay      -718
ptp4l[158.577]: port 1 (end0): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED



标记 (2)
0 项奖励
回复
1 回复

971 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @hjk003 

你使用的内核版本是什么?这里的MAC1 和MAC2分别是哪个网口?

请使用ethtool -T swp1来查看它已经启用的功能。然后确保/dev/ptp0是你真正需要的接口。


Best Regards,
Zhiming

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2269161%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Elinux%20sja1105%20%E6%A1%A5%E6%8E%A5%E6%A8%A1%E5%BC%8F%E5%AF%BC%E8%87%B4%20PTP%20L2%20%E5%B1%82%E6%95%B0%E6%8D%AE%E4%B8%A2%E5%A4%B1%E6%97%B6%E9%97%B4%E6%88%B3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2269161%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%E6%81%A9%E6%99%BA%E6%B5%A6%E5%9B%A2%E9%98%9F%E3%80%82%E4%BD%BF%E7%94%A8%20SoC%20(imx8mp-evk)%20%2B%20%E4%BA%A4%E6%8D%A2%E6%9C%BA%20(SJA1105)%20%E6%9E%B6%E6%9E%84%E6%97%B6%EF%BC%8C%E8%AE%BE%E7%BD%AE%E7%BD%91%E6%A1%A5%E6%A8%A1%E5%BC%8F%E4%BC%9A%E5%AF%BC%E8%87%B4%20PTP%20L2%20%E5%B1%82%E6%95%B0%E6%8D%AE%E4%B8%A2%E5%A4%B1%E6%97%B6%E9%97%B4%E6%88%B3%E3%80%82%3CBR%20%2F%3E%E8%BF%99%E5%B0%B1%E6%98%AF%E6%88%91%E4%BB%AC%E7%9A%84%E6%9E%B6%E6%9E%84%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%20%20%20%20%20%20%20%20%E2%94%8C%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%90%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%8C%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%B4%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%90%0A%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20SPI%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%8C%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%96%BC%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%90%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20%20%20SPI%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20port0%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%82M%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20port1%20%20%20%20port2%E2%97%84%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%A4A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20%20%20%20SJA1105%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%82C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%821%20%20%20%20%20%20%20CPU%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20port3%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%82%20%20%20MIMX8ML8DVNLZAB%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20port4%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%E2%94%94%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%20%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%98%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20MAC2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%94%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%AC%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%98%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%8C%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%20%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%90%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%82%20%20%20%20%20%20%20RGMII%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%82%20%20%20PHY%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%82%20%20%2088E1512%20%20%20%20%20%20%20M%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20D%E2%97%84%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%98%0A%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20I%E2%94%82%0A%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20O%E2%94%82%0A%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%82%0A%E2%94%94%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%AC%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%80%E2%94%98%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%82%0A%20%20%20%20%20%20%20%20%E2%94%94%E2%96%BA%20OUT%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E7%AB%AF%E5%8F%A3%201%20%E5%88%B0%204%20%E5%9D%87%E8%BF%9E%E6%8E%A5%E5%88%B0%20SoC%20%E8%AE%BE%E5%A4%87%E3%80%82%3C%2FP%3E%3CP%3ELinux%20%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3Ebr0%3A%20flags%3D4163%3CUP%3E%20%20mtu%201500%0A%20%20%20%20%20%20%20%20inet%20172.16.2.100%20%20netmask%20255.255.255.0%20%20broadcast%20172.16.2.255%0A%20%20%20%20%20%20%20%20inet6%20fe80%3A%3Ad053%3A57ff%3Afeb1%3Adf50%20%20prefixlen%2064%20%20scopeid%200x20%3CLINK%20%2F%3E%0A%20%20%20%20%20%20%20%20ether%20d2%3A53%3A57%3Ab1%3Adf%3A50%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%2012%20%20bytes%20984%20(984.0%20B)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%0Aend0%3A%20flags%3D4163%3CUP%3E%20%20mtu%201500%0A%20%20%20%20%20%20%20%20inet%20192.168.2.100%20%20netmask%20255.255.255.0%20%20broadcast%20192.168.2.255%0A%20%20%20%20%20%20%20%20inet6%20fe80%3A%3A3065%3A76ff%3Afeed%3A96cb%20%20prefixlen%2064%20%20scopeid%200x20%3CLINK%20%2F%3E%0A%20%20%20%20%20%20%20%20ether%2032%3A65%3A76%3Aed%3A96%3Acb%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%202%20%20bytes%20132%20(132.0%20B)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%2049%20%20bytes%202434%20(2.4%20KB)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%0Aend1%3A%20flags%3D4163%3CUP%3E%20%20mtu%201504%0A%20%20%20%20%20%20%20%20inet6%20fe80%3A%3A7c32%3Af0ff%3Afefb%3Ac940%20%20prefixlen%2064%20%20scopeid%200x20%3CLINK%20%2F%3E%0A%20%20%20%20%20%20%20%20ether%207e%3A32%3Af0%3Afb%3Ac9%3A40%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%2058%20%20bytes%207130%20(7.1%20KB)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%2022%20%20bytes%201828%20(1.8%20KB)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%20%20%20%20%20%20%20%20device%20interrupt%20210%0A%0Alo%3A%20flags%3D73%3CUP%3E%20%20mtu%2065536%0A%20%20%20%20%20%20%20%20inet%20127.0.0.1%20%20netmask%20255.0.0.0%0A%20%20%20%20%20%20%20%20inet6%20%3A%3A1%20%20prefixlen%20128%20%20scopeid%200x10%3CHOST%3E%0A%20%20%20%20%20%20%20%20loop%20%20txqueuelen%201000%20%20(Local%20Loopback)%0A%20%20%20%20%20%20%20%20RX%20packets%20130%20%20bytes%209914%20(9.9%20KB)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%20130%20%20bytes%209914%20(9.9%20KB)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%0Aswp1%3A%20flags%3D4163%3CUP%3E%20%20mtu%201500%0A%20%20%20%20%20%20%20%20ether%207e%3A32%3Af0%3Afb%3Ac9%3A40%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%2058%20%20bytes%206898%20(6.8%20KB)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%0Aswp2%3A%20flags%3D4163%3CUP%3E%20%20mtu%201500%0A%20%20%20%20%20%20%20%20ether%207e%3A32%3Af0%3Afb%3Ac9%3A40%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%0Aswp3%3A%20flags%3D4163%3CUP%3E%20%20mtu%201500%0A%20%20%20%20%20%20%20%20ether%207e%3A32%3Af0%3Afb%3Ac9%3A40%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%0Aswp4%3A%20flags%3D4163%3CUP%3E%20%20mtu%201500%0A%20%20%20%20%20%20%20%20ether%207e%3A32%3Af0%3Afb%3Ac9%3A40%20%20txqueuelen%201000%20%20(Ethernet)%0A%20%20%20%20%20%20%20%20RX%20packets%200%20%20bytes%200%20(0.0%20B)%0A%20%20%20%20%20%20%20%20RX%20errors%200%20%20dropped%200%20%20overruns%200%20%20frame%200%0A%20%20%20%20%20%20%20%20TX%20packets%2012%20%20bytes%20984%20(984.0%20B)%0A%20%20%20%20%20%20%20%20TX%20errors%200%20%20dropped%200%20overruns%200%20%20carrier%200%20%20collisions%200%0A%3C%2FUP%3E%3C%2FUP%3E%3C%2FUP%3E%3C%2FUP%3E%3C%2FHOST%3E%3C%2FUP%3E%3C%2FUP%3E%3C%2FUP%3E%3C%2FUP%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3Eroot%40hawaii-gen2%3A~%23%20ptp4l%20-f%20linux_ptp_bc.conf%20-m%20%26amp%3B%26amp%3B%20phc2sys%20-a%20-r%20-m%0Aptp4l%5B149.643%5D%3A%20selected%20%2Fdev%2Fptp0%20as%20PTP%20clock%0Aptp4l%5B149.645%5D%3A%20port%202%20(swp1)%3A%20just%20a%20bunch%20of%20devices%0Aptp4l%5B149.645%5D%3A%20port%203%20(swp2)%3A%20just%20a%20bunch%20of%20devices%0Aptp4l%5B149.645%5D%3A%20port%204%20(swp3)%3A%20just%20a%20bunch%20of%20devices%0Aptp4l%5B149.645%5D%3A%20port%205%20(swp4)%3A%20just%20a%20bunch%20of%20devices%0Aptp4l%5B149.680%5D%3A%20port%201%20(end0)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B149.717%5D%3A%20port%202%20(swp1)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B149.753%5D%3A%20port%203%20(swp2)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B149.785%5D%3A%20port%204%20(swp3)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B149.817%5D%3A%20port%205%20(swp4)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B149.817%5D%3A%20port%200%20(%2Fvar%2Frun%2Fptp4l)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B149.817%5D%3A%20port%200%20(%2Fvar%2Frun%2Fptp4lro)%3A%20INITIALIZING%20to%20LISTENING%20on%20INIT_COMPLETE%0Aptp4l%5B150.545%5D%3A%20port%201%20(end0)%3A%20new%20foreign%20master%200080ee.fffe.60f9b8-1%0Aptp4l%5B154.561%5D%3A%20selected%20best%20master%20clock%200080ee.fffe.60f9b8%0Aptp4l%5B154.561%5D%3A%20port%201%20(end0)%3A%20LISTENING%20to%20UNCALIBRATED%20on%20RS_SLAVE%0Aptp4l%5B154.561%5D%3A%20Switched%20to%20%2Fdev%2Fptp0%20as%20PTP%20clock%0Aptp4l%5B155.360%5D%3A%20port%201%20(end0)%3A%20minimum%20delay%20request%20interval%202%5E-3%0Aptp4l%5B156.258%5D%3A%20port%203%20(swp2)%3A%20LISTENING%20to%20MASTER%20on%20ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES%0Aptp4l%5B156.292%5D%3A%20port%204%20(swp3)%3A%20LISTENING%20to%20MASTER%20on%20ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES%0Aptp4l%5B156.452%5D%3A%20port%205%20(swp4)%3A%20LISTENING%20to%20MASTER%20on%20ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES%0Aptp4l%5B156.569%5D%3A%20master%20offset%20-1766736492136248875%20s0%20freq%20%20%20%20%20%20-0%20path%20delay%20%20%20%20%20%201150%0Aptp4l%5B156.612%5D%3A%20port%202%20(swp1)%3A%20LISTENING%20to%20MASTER%20on%20ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES%0Aptp4l%5B157.261%5D%3A%20port%202%20(swp1)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.262%5D%3A%20port%204%20(swp3)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.262%5D%3A%20port%205%20(swp4)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.295%5D%3A%20port%202%20(swp1)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.295%5D%3A%20port%203%20(swp2)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.295%5D%3A%20port%205%20(swp4)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.455%5D%3A%20port%202%20(swp1)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.455%5D%3A%20port%203%20(swp2)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.455%5D%3A%20port%204%20(swp3)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.573%5D%3A%20master%20offset%20-1766736492136230812%20s1%20freq%20%20%2B17991%20path%20delay%20%20%20%20%20%20-718%0Aptp4l%5B157.614%5D%3A%20port%203%20(swp2)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.615%5D%3A%20port%204%20(swp3)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B157.615%5D%3A%20port%205%20(swp4)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.262%5D%3A%20port%202%20(swp1)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.262%5D%3A%20port%204%20(swp3)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.262%5D%3A%20port%205%20(swp4)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.295%5D%3A%20port%202%20(swp1)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.296%5D%3A%20port%203%20(swp2)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.296%5D%3A%20port%205%20(swp4)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.455%5D%3A%20port%202%20(swp1)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.455%5D%3A%20port%203%20(swp2)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.455%5D%3A%20port%204%20(swp3)%3A%20received%20DELAY_REQ%20without%20timestamp%0Aptp4l%5B158.577%5D%3A%20master%20offset%20%20%20%20%20%20-1848%20s2%20freq%20%20%2B16143%20path%20delay%20%20%20%20%20%20-718%0Aptp4l%5B158.577%5D%3A%20port%201%20(end0)%3A%20UNCALIBRATED%20to%20SLAVE%20on%20MASTER_CLOCK_SELECTED%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E