Start pktcnt at 1 instead of 0
This commit is contained in:
parent
3c26c8473a
commit
9458507ee9
17
doc/plan.org
17
doc/plan.org
|
@ -5135,7 +5135,8 @@ Vivado% quit
|
||||||
|
|
||||||
#+END_CENTER
|
#+END_CENTER
|
||||||
**** might be missing <project>.runs/synth_1 (impl_1 respectively)
|
**** might be missing <project>.runs/synth_1 (impl_1 respectively)
|
||||||
**** TODO Grep'ing for errors gives one unexpected EOF, but continues
|
**** DONE Grep'ing for errors gives one unexpected EOF, but continues
|
||||||
|
CLOSED: [2019-07-21 Sun 12:13]
|
||||||
#+BEGIN_CENTER
|
#+BEGIN_CENTER
|
||||||
nico@nsg-System:~/master-thesis/netpfga$ grep -i error MAINLOG
|
nico@nsg-System:~/master-thesis/netpfga$ grep -i error MAINLOG
|
||||||
cc -std=c99 -Wall -Werror -fPIC -c libcam.c -I/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/sw/sume -I/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/sw/API
|
cc -std=c99 -Wall -Werror -fPIC -c libcam.c -I/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/sw/sume -I/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/sw/API
|
||||||
|
@ -5165,7 +5166,8 @@ Compiling module work.TopParser_t_EngineStage_3_ErrorC...
|
||||||
Compiling module work.TopParser_t_EngineStage_4_ErrorC...
|
Compiling module work.TopParser_t_EngineStage_4_ErrorC...
|
||||||
|
|
||||||
#+END_CENTER
|
#+END_CENTER
|
||||||
**** TODO gen_testdata only shows one packet -> no receiving?
|
**** DONE gen_testdata only shows one packet -> no receiving?
|
||||||
|
CLOSED: [2019-07-21 Sun 12:13]
|
||||||
#+BEGIN_CENTER
|
#+BEGIN_CENTER
|
||||||
./gen_testdata.py
|
./gen_testdata.py
|
||||||
nf0_applied times: [1]
|
nf0_applied times: [1]
|
||||||
|
@ -5301,7 +5303,6 @@ p4@ubuntu:~/master-thesis/bin$ mx h3 "echo V4-OK | socat - UDP:10.1.1.1:2342"
|
||||||
My code is +1 too high
|
My code is +1 too high
|
||||||
|
|
||||||
*** 2019-07-17: continuing on wrap around issue
|
*** 2019-07-17: continuing on wrap around issue
|
||||||
|
|
||||||
*** 2019-07-17: connect new intel card: cable problem
|
*** 2019-07-17: connect new intel card: cable problem
|
||||||
#+BEGIN_CENTER
|
#+BEGIN_CENTER
|
||||||
|
|
||||||
|
@ -5673,7 +5674,8 @@ TCP6:[2001:db8:1::a00:1]:2343"; sleep 2; done
|
||||||
Result: no reply, but translated packets seen on h3; wrong IPv4
|
Result: no reply, but translated packets seen on h3; wrong IPv4
|
||||||
checksum; tcp checksum is ok
|
checksum; tcp checksum is ok
|
||||||
-> doing manual calculation to see where diff comes from
|
-> doing manual calculation to see where diff comes from
|
||||||
*** TODO Shifting / compile errors
|
*** DONE Shifting / compile errors
|
||||||
|
CLOSED: [2019-07-21 Sun 10:55]
|
||||||
|
|
||||||
v1: wrong parenthesis
|
v1: wrong parenthesis
|
||||||
|
|
||||||
|
@ -5711,6 +5713,13 @@ p4c --target bmv2 --arch v1model --std p4-16 "../p4src/checksum_diff.p4" -o "/ho
|
||||||
|
|
||||||
#+END_CENTER
|
#+END_CENTER
|
||||||
|
|
||||||
|
*** Proof of v6->v4 working delta based
|
||||||
|
#+BEGIN_CENTER
|
||||||
|
pcap/tcp-udp-delta-from-v6-2019-07-21-0853-h1.pcap | Bin 0 -> 4252 bytes
|
||||||
|
pcap/tcp-udp-delta-from-v6-2019-07-21-0853-h3.pcap | Bin 0 -> 2544 bytes
|
||||||
|
#+END_CENTER
|
||||||
|
|
||||||
|
|
||||||
** The NetPFGA saga
|
** The NetPFGA saga
|
||||||
Problems encountered:
|
Problems encountered:
|
||||||
- The logfile for a compile run is 10k+ lines
|
- The logfile for a compile run is 10k+ lines
|
||||||
|
|
|
@ -102,11 +102,12 @@ lookup_table = {
|
||||||
|
|
||||||
def test_port1():
|
def test_port1():
|
||||||
""" packets for a certain mac always go to nf0 """
|
""" packets for a certain mac always go to nf0 """
|
||||||
pktCnt = 0
|
pktCnt = 1
|
||||||
pkt = Ether(dst=MAC2, src=MAC1)
|
pkt = Ether(dst=MAC2, src=MAC1)
|
||||||
pkt = pad_pkt(pkt, 64)
|
pkt = pad_pkt(pkt, 64)
|
||||||
|
|
||||||
for inport in [ 'nf0', 'nf1', 'nf2', 'nf3' ]:
|
for inport in [ 'nf0', 'nf1', 'nf2', 'nf3' ]:
|
||||||
|
# for inport in [ 'nf0' ]:
|
||||||
# Send on nf0
|
# Send on nf0
|
||||||
applyPkt(pkt, inport, pktCnt)
|
applyPkt(pkt, inport, pktCnt)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue