Now, send one frame (frame size > 200) on TestCenter.
ethtool -S swp1
You can observe that the frame could not pass.
8.1.4.5.4 FMI test
Use the following set of commands for the FMI test.
1. Run the command:
tsntool> qcifmiset --device swp0 --index 68 --cir 100000 --cbs 4000 --ebs 4000 --eir 100000
• The 'device' in above command can be any one of the switch ports.
• The index of
qcifmiset
must be the same as flowmeterid of
qcisfiset
.
NOTE
2. Now, send one stream (rate = 100M) on TestCenter.
ethtool -S swp0
Note that all frames pass and get all green frames.
3. Now, send one stream (rate = 200M) on TestCenter.
ethtool -S swp0
Observe that all frames pass and get green and yellow frames.
4. Send one stream (rate = 300M) on TestCenter.
ethtool -S swp0
Note that not all frames could pass and get green, yellow, and red frames.
5. Map the CFI value of VLan to dp value on port 0 to recognize yellow frames.
tsntool> pcpmap --device swp0 --enable
6. Send one yellow stream (rate = 100M) on TestCenter.
ethtool -S swp0
All frames pass and get all yellow frames.
7. Send one yellow stream (rate = 200M) on TestCenter.
ethtool -S swp0
Note that not all frames could pass and get yellow and red frames.
8. Test cf mode.
tsntool> qcifmiset --device swp0 --index 68 --cir 100000 --cbs 4000 --ebs 4000 --eir 100000 --cf
9. Send one yellow stream (rate = 200M) on TestCenter.
ethtool -S swp0
NXP Semiconductors
TSN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
122 / 199