
3. Set the switch to enable merge(or you can link to another merge capability port in another board):
devmem 0x1fc100048 32 0x111 #DEV_GMII:MM_CONFIG:ENABLE_CONFIG
4. ENETC port setting set and frame preemption test
ip link set eno0 address 90:e2:ba:ff:ff:ff
tsntool qbuset --device eno0 --preemptable 0xfe
./pktgen/pktgen_twoqueue.sh -i eno0 -q 0 -s 100 -n 20000 -m 90:e2:ba:ff:ff:ff
pktgen would fluding frames on TC0 and TC1.
5. Check the tx merge counter, if it has a non-zero value, it indicates that the Qbu is working.
tsntool regtool 0 0x11f18
0x11f18 counting the merge frame count:
0x11f18 Port MAC Merge Fragment Count TX Register (MAC_MERGE_MMFCTXR)
NOTE
8.1.3.5 Qav test
8.1.3.5.1 Using tsntool
The following figure illustrates the hardware setup diagram for the Qav test.
Figure 31. Qav test setup
NXP Semiconductors
TSN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
114 / 199