diff --git a/doc/plan.org b/doc/plan.org index a3f9099..d95f640 100644 --- a/doc/plan.org +++ b/doc/plan.org @@ -5135,7 +5135,8 @@ Vivado% quit #+END_CENTER **** might be missing .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 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 @@ -5165,7 +5166,8 @@ Compiling module work.TopParser_t_EngineStage_3_ErrorC... Compiling module work.TopParser_t_EngineStage_4_ErrorC... #+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 ./gen_testdata.py 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 *** 2019-07-17: continuing on wrap around issue - *** 2019-07-17: connect new intel card: cable problem #+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 checksum; tcp checksum is ok -> 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 @@ -5711,6 +5713,13 @@ p4c --target bmv2 --arch v1model --std p4-16 "../p4src/checksum_diff.p4" -o "/ho #+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 Problems encountered: - The logfile for a compile run is 10k+ lines diff --git a/netpfga/minip4/testdata/gen_testdata-port1.py b/netpfga/minip4/testdata/gen_testdata-port1.py index 99cca0d..877ac17 100755 --- a/netpfga/minip4/testdata/gen_testdata-port1.py +++ b/netpfga/minip4/testdata/gen_testdata-port1.py @@ -102,11 +102,12 @@ lookup_table = { def test_port1(): """ packets for a certain mac always go to nf0 """ - pktCnt = 0 + pktCnt = 1 pkt = Ether(dst=MAC2, src=MAC1) pkt = pad_pkt(pkt, 64) for inport in [ 'nf0', 'nf1', 'nf2', 'nf3' ]: +# for inport in [ 'nf0' ]: # Send on nf0 applyPkt(pkt, inport, pktCnt)