try 1 == nf0
This commit is contained in:
parent
442ea1a7da
commit
e0226c4c90
2 changed files with 9 additions and 1 deletions
|
@ -2896,11 +2896,19 @@ SimpleSumeSwitch(
|
|||
**** sending data to switch port 1
|
||||
***** figuring out which port 1
|
||||
|
||||
expected
|
||||
actual
|
||||
|
||||
applyPkt(pkt, 'nf0', pktCnt)
|
||||
expPkt(pkt, 'nf2')
|
||||
# 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000001010000 >
|
||||
# 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000010010000 >
|
||||
|
||||
applyPkt(pkt, 'nf0', pktCnt)
|
||||
expPkt(pkt, 'nf3')
|
||||
|
||||
< 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000040010000 >
|
||||
< 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000001010000 >
|
||||
|
||||
*** TODO Create either HDL or PX for supporting payload checksum
|
||||
https://github.com/NetFPGA/P4-NetFPGA-public/issues/13
|
||||
|
|
2
netpfga/minip4/testdata/gen_testdata.py
vendored
2
netpfga/minip4/testdata/gen_testdata.py
vendored
|
@ -108,7 +108,7 @@ def test_port1():
|
|||
pkt = Ether(dst=MAC2, src=MAC1)
|
||||
pkt = pad_pkt(pkt, 64)
|
||||
applyPkt(pkt, 'nf0', pktCnt)
|
||||
expPkt(pkt, 'nf3')
|
||||
expPkt(pkt, 'nf0')
|
||||
|
||||
# Test that packets are being mirrored
|
||||
def test_mirror():
|
||||
|
|
Loading…
Reference in a new issue