
echo “t1 11111111b 100” >> qbv0.txt
tsntool> qbvset --device eth5 --entryfile ./qbv0.txt
tsntool> qbuset --device eth5 --preemptable 0xff
#send one broadcast frame(frame size = 1500) to eth4 on TestCenter.
#Frame could not pass eth5.
# We can get one fragment frame(frame size less than 1500) from eth5 on TestCenter.
Qbv performance test
cat > qbv5.txt << EOF
t0 11111111b 1000000
t1 00000000b 1000000
EOF
qbvset --device eth5 --entryfile qbv5.txt
#send 1G rate stream to eth4 on TestCenter.
#The stream would get about half line rate from eth5.
4.2.13.4.4 Qbu test
The following figure shows the Qbu test setup.
Figure 15. Qbu test setup
# map PCP value of VLan to queues on port 0
tsntool>pcpmap –device eth4 –enable
# map PCP value of VLan to queues on port 1
tsntool>pcpmap –device eth5 –enable
#set queue 1 to be preemptable
tsntool> qbuset --device eth7 --preemptable 0x02
# Send two streams from TestCenter, then check the number of additional mPackets transmitted by PMAC:
devmem 0x1fc010e48 32 0x3 && devmem 0x1fc010280
Linux kernel
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
120
NXP Semiconductors
Summary of Contents for Layerscape LS1028A BSP
Page 135: ......