root@lx2160ardbrev2:~# ptp4l -H -s -m -i eth0 --tx_timestamp_timeout=20 -f /mnt/.data/config/sync/G.8275.2.cfg ptp4l[187.856]: selected /dev/ptp0 as PTP clock ptp4l[187.871]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[187.871]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[187.871]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[191.939]: selected local clock 807871.fffe.1315ab as best master ptp4l[194.651]: port 1 (eth0): new foreign master 000580.fffe.07f653-5 ptp4l[198.645]: selected best master clock 000580.fffe.07f653 ptp4l[198.645]: port 1 (eth0): LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[201.041]: master offset 4284 s0 freq -305 path delay 11691 ptp4l[202.040]: master offset 3982 s2 freq -608 path delay 11691 ptp4l[202.040]: port 1 (eth0): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED ptp4l[203.038]: master offset 4665 s2 freq +4057 path delay 11649 ptp4l[204.036]: master offset 440 s2 freq +1232 path delay 11691 ptp4l[205.035]: master offset -1289 s2 freq -365 path delay 11724 ptp4l[206.033]: master offset -938 s2 freq -401 path delay 11691 ptp4l[207.031]: master offset -32 s2 freq +224 path delay 11682 ptp4l[208.030]: master offset -142 s2 freq +104 path delay 11649 ptp4l[209.028]: master offset -285 s2 freq -82 path delay 11649 ptp4l[210.027]: master offset -779 s2 freq -661 path delay 11711 root@lx2160ardbrev2:~# ./board_init_askey_eth0.sh + echo ======================================= ======================================= + echo ' RUN BORAD INIT ' RUN BORAD INIT + echo ======================================= ======================================= + echo 'board init 2 started...' ++ awk '{print $2}' ++ grep ether ++ ifconfig eth0 + eth0_mac_addr=80:78:71:13:15:ab + echo ======================================= ======================================= + echo 'BOARD MAC ADDRESS : 80:78:71:13:15:ab ' BOARD MAC ADDRESS : 80:78:71:13:15:ab + echo 'BOARD MAC ADDRESS : 80:78:71:13:15:ab ' + echo ======================================= ======================================= + sleep 10 + echo 'ifconfig eth0 down ' + ifconfig eth0 down + sleep 1 + echo 'EXECUTING INITIAL BRINGUP' + sleep 1 + echo dpni.1 + echo 'restool dpni destroy dpni.1 ' + restool dpni destroy dpni.1 dpni.1 is destroyed + sleep 1 + export DPDMAI_COUNT=16 + DPDMAI_COUNT=16 + export DPIO_COUNT=16 + DPIO_COUNT=16 + export DPMCP_COUNT=3 + DPMCP_COUNT=3 + echo ' /usr/local/dpdk/dpaa2/dynamic_dpl.sh dpmac.3 dpni' + /usr/share/dpdk/dpaa2/dynamic_dpl.sh dpmac.3 dpni parent - dprc.1 Creating Non nested DPRC NEW DPRCs dprc.1 dprc.2 Using board type as 2160 Using High Performance Buffers ##################### Container dprc.2 is created #################### Container dprc.2 have following resources :=> * 3 DPMCP * 16 DPBP * 8 DPCON * 16 DPSECI * 2 DPNI * 16 DPIO * 8 DPCI * 16 DPDMAI * 0 DPRTC ######################### Configured Interfaces ######################### Interface Name Endpoint Mac Address ============== ======== ================== dpni.1 dpmac.3 -Dynamic- dpni.2 UNCONNECTED 00:00:00:00:5:2 + sleep 1 + ls-addni --no-link --mac-addr=80:78:71:13:15:ab Created interface: eth0 (object:dpni.3, endpoint: ) + sleep 1 + export DPIO_COUNT=16 + DPIO_COUNT=16 + export DPDMAI_COUNT=16 + DPDMAI_COUNT=16 + /usr/share/dpdk/dpaa2/dynamic_dpl.sh dpni.2 parent - dprc.1 Creating Non nested DPRC NEW DPRCs dprc.1 dprc.3 dprc.2 Using board type as 2160 Using High Performance Buffers ##################### Container dprc.3 is created #################### Container dprc.3 have following resources :=> * 3 DPMCP * 16 DPBP * 8 DPCON * 16 DPSECI * 1 DPNI * 16 DPIO * 8 DPCI * 16 DPDMAI * 0 DPRTC ######################### Configured Interfaces ######################### Interface Name Endpoint Mac Address ============== ======== ================== dpni.4 dpni.2 00:00:00:00:6:1 + sleep 1 + restool dpni update dpni.3 --mac-addr=80:78:71:13:15:ab + sleep 1 + restool dpni update dpni.1 --mac-addr=80:78:71:13:15:ab + sleep 1 + echo dprc.2 + sleep 1 + restool dprc disconnect dprc.2 --endpoint=dpni.1 + sleep 1 + restool dpdmux create --default-if=1 --num-ifs=2 --method DPDMUX_METHOD_CUSTOM --manip=DPDMUX_MANIP_NONE --option=DPDMUX_OPT_CLS_MASK_SUPPORT,DPDMUX_OPT_AUTO_MAX_FRAME_LEN --container=dprc.1 + sleep 1 + restool dprc connect dprc.1 --endpoint1=dpdmux.0.0 --endpoint2=dpmac.3 + sleep 1 + restool dprc connect dprc.1 --endpoint1=dpdmux.0.1 --endpoint2=dpni.3 + sleep 1 + restool dprc connect dprc.1 --endpoint1=dpdmux.0.2 --endpoint2=dpni.1 + sleep 1 + restool dprc assign dprc.1 --object=dpdmux.0 --child=dprc.2 --plugged=1 + sleep 1 + echo dprc.2 + sleep 1 + restool dpni update dpni.1 --mac-addr=80:78:71:13:15:ab + sleep 1 + ifconfig eth0 up + sleep 6 + sleep 1 + echo done... done... + echo 'DPDK Board Init completed...' root@lx2160ardbrev2:~# root@lx2160ardbrev2:~# root@lx2160ardbrev2:~# ls-listni dprc.1/dpni.3 (interface: eth0, end point: dpdmux.0.1) dprc.1/dpni.0 (interface: eth1, end point: dpmac.6) dprc.1/dprc.3/dpni.4 (end point: dpni.2) dprc.1/dprc.2/dpni.2 (end point: dpni.4) dprc.1/dprc.2/dpni.1 (end point: dpdmux.0.2) root@lx2160ardbrev2:~# ptp4l -H -s -m -i eth0 --tx_timestamp_timeout=20 -f /mnt/.data/config/sync/G.8275.2.cfg ptp4l[360.475]: selected /dev/ptp0 as PTP clock ptp4l[360.490]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[360.491]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[360.491]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[365.352]: selected local clock 807871.fffe.1315ab as best master ptp4l[368.172]: port 1 (eth0): new foreign master 000580.fffe.07f653-5 ptp4l[372.165]: selected best master clock 000580.fffe.07f653 ptp4l[372.165]: port 1 (eth0): LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[374.086]: missing timestamp on transmitted delay request ptp4l[374.086]: port 1 (eth0): UNCALIBRATED to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) root@lx2160ardbrev2:~# ./dpdk-pkt_split_app -c 0xf -n 1 --vdev=net_tap0 -- -p 0x1 -s 0 --dpaa2-traffic-split-config="(3,2152,2)" EAL: Detected CPU lcores: 16 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket fslmc: Skipping invalid device (power) EAL: Selected IOVA mode 'PA' EAL: No available 2048 kB hugepages reported EAL: VFIO support initialized PMD: dpni.1: netdev created, connected to dpdmux.0 PMD: dpni.2: netdev created, connected to dpni.4 TELEMETRY: No legacy callbacks, legacy socket not created Splitting traffic on type:3 with val: 2152 on DPDMUX.x.2 EAL: Error - exiting with code: 1 Cause: App needs either two or three ports