
SFI maxSDU test
tsntool> qcisfiset --device eth4 --streamhandle 1 --index 1 --gateid 1 --priority 0 --flowmeterid 68
--maxsdu 200
# Send one frame(frame size > 200) on TestCenter.
ethtool -S eth5
# Frame could not pass.
FMI test
tsntool>qcifmiset --device eth4 --index 68 --cir 100000 --cbs 4000 --ebs 4000 --eir 100000
# Send one stream (rate = 100M) on TestCenter.
ethtool -S eth4
# All frames pass and get all green frames.
# Send one stream (rate = 200M) on TestCenter.
ethtool -S eth4
# All frames pass and get green and yellow frames.
# Send one stream (rate = 300M) on TestCenter.
ethtool -S eth4
# Not all frames could pass and get green, yellow and red frames.
# map CFI value of VLan to dp value on port 0 to recognize yellow frames.
tsntool>pcpmap –device eth4 –enable
# Send one yellow stream (rate = 100M) on TestCenter.
ethtool -S eth4
# All frames pass and get all yellow frames.
# Send one yellow stream (rate = 200M) on TestCenter.
ethtool -S eth4
# Not all frames could pass and get yellow and red frames.
# Test cf mode.
tsntool> qcifmiset --device eth4 --index 68 --cir 100000 --cbs 4000 --ebs 4000 --eir 100000 --cf
# Send one yellow stream (rate = 200M) on TestCenter.
ethtool -S eth4
# All frames pass and get all yellow frames. (use CIR as well as EIR)
# Send one yellow stream (rate = 300M) on TestCenter.
ethtool -S eth4
# Not all frames could pass and get yellow and red frames.
4.2.13.4.6 Qav test case
The following figure shows Qav test case setup.
Linux kernel
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
122
NXP Semiconductors
Содержание Layerscape LS1028A BSP
Страница 135: ......