EasyManua.ls Logo

NXP Semiconductors Layerscape LS1028A BSP - Page 115

NXP Semiconductors Layerscape LS1028A BSP
136 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6. Send one frame from Test center.
tsntool>qcisfiget --device eth0 --index 2
#should look result like below:
match pass gate_drop sdu_pass sdu_drop red
1 0 1 1 0 0
Test Null Stream identify Entry
Follow the following procedure to set main stream by close gate.
1. Set Stream identify Null stream identify entry 1.
tsntool> cbstreamidset --device eth0 --index 1 --nullstreamid --nulldmac 0x000000800010
--nulltagged 3 --nullvid 10 --streamhandle 100
2. Get SID index 1.
tsntool> cbstreamidget --device eth0 --index 1
3. Set Stream filer entry 1.
tsntool> qcisfiset --device eth0 --streamhandle 100 --index 1 --gateid 1
4. Set Stream Gate entry 1.
tsntool> qcisgiset --device eth0 --index 1 --initgate 0
5. Send one frame from Test center.
tsntool> qcisfiget --device eth0 --index 1
#should look like below:
match pass gate_drop sdu_pass sdu_drop red
1 0 1 1 0 0
Test Source Stream identify Entry
1. Keep Stream Filter entry 1 and Stream gate entry 1.
2. Add stream2 in test center: SMAC is 66:55:44:33:22:11 DMAC:20:00:80:00:00:00
3. Set Stream identify Source stream identify entry 3.
tsntool> cbstreamidset --device eth0 --index 3 --sourcemacvid --sourcemac 0x112233445566 --
sourcetagged 3 --sourcevid 20 --streamhandle 100
4. Send frame from test center. The frame passes to stream filter index 1.
tsntool> qcisfiget --device eth0 --index 1
SGI stream gate list
cat > sgi1.txt << EOF
t0 0b -1 1000 0
t1 1b -1 1000 0
EOF
tsntool> qcisfiset --device eth0 --index 2 --gateid 2
Device Drivers
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
115

Table of Contents

Related product manuals