Commit Graph

144 Commits

Author SHA1 Message Date
Nico Schottelius 72b605bf9d ++ no src directory 2019-07-23 16:15:29 +02:00
Nico Schottelius 9036ccbcd8 Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-07-23 16:07:49 +02:00
Nico Schottelius b998c0adbb +another compile failure 2019-07-23 16:00:55 +02:00
Nico Schottelius af6fae7774 +disclaimer 2019-07-23 15:32:36 +02:00
Nico Schottelius 0645646df5 import simple_sume_switch from switch_calc 2019-07-23 15:17:53 +02:00
Nico Schottelius 706eac0e41 ++debug 2019-07-23 13:33:00 +02:00
Nico Schottelius 1ecb942f34 bind mount: +mkdir calls 2019-07-23 13:31:19 +02:00
Nico Schottelius 1cc4418c7b +mode 2019-07-23 13:16:24 +02:00
Nico Schottelius ffb8fa0385 [netfpga] bind mounts 2019-07-23 13:15:05 +02:00
Nico Schottelius ddf8ff230a add tee to do-all-steps 2019-07-23 12:30:47 +02:00
Nico Schottelius 37de257a7d Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-07-23 12:27:16 +02:00
Nico Schottelius 6e162ca63b Rewrite the netpfga p4 program 2019-07-23 12:21:49 +02:00
Nico Schottelius edfee37511 add broken compile run log for switch_calc 2019-07-23 11:23:26 +02:00
Nico Schottelius fb37c96a3b Try exec | tee 2019-07-23 10:22:11 +02:00
Nico Schottelius 1059e8d0e0 Begin from the beginning: reset to port1 only 2019-07-23 10:20:18 +02:00
Nico Schottelius 5f4930ae43 +log 2019-07-22 22:32:51 +02:00
Nico Schottelius b9a8213ac6 import makefile from step 8 2019-07-22 22:27:21 +02:00
Nico Schottelius 8c36c48114 +log 2019-07-22 11:05:27 +02:00
Nico Schottelius 96de1eb241 +compilelog 2019-07-21 18:59:14 +02:00
Nico Schottelius d97864ffa7 +notes -comment 2019-07-21 16:39:15 +02:00
Nico Schottelius f8f8c3681c Add timings to netpfga compile step 2019-07-21 14:52:29 +02:00
Nico Schottelius 55a363055b ++debug of netfpga compile 2019-07-21 14:37:31 +02:00
Nico Schottelius 128da41060 Use older version of gen_testdata 2019-07-21 14:20:24 +02:00
Nico Schottelius 89e0576d22 use only port1 / nf0 2019-07-21 12:27:10 +02:00
Nico Schottelius 6d212abe4d +debug on gen_testdata 2019-07-21 12:21:17 +02:00
Nico Schottelius 9458507ee9 Start pktcnt at 1 instead of 0 2019-07-21 12:15:04 +02:00
Nico Schottelius 3c26c8473a +logs 2019-07-21 12:10:13 +02:00
Nico Schottelius 51bf8b9ace netfpga: update test packet generator; checksum: implement carry over 2019-07-15 14:18:35 +02:00
Nico Schottelius 7d708cd614 Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-07-13 22:08:13 +02:00
Nico Schottelius a9cc93281e Change testdata offset by 1 and find checksum error 2019-07-13 22:07:53 +02:00
Nico Schottelius 299736173d ++compile logs 2019-07-13 19:35:57 +02:00
Nico Schottelius 85fee75077 Not sure if empty output / no line message is an error 2019-07-13 19:14:02 +02:00
Nico Schottelius 6c770567ab s/nf2/nf3/ 2019-07-13 19:12:04 +02:00
Nico Schottelius c243778bc3 ++log ++change gen_testdata.py 2019-07-13 19:10:05 +02:00
Nico Schottelius 86885760b2 update gen_testdata
- add more packets
- fix counter for one packet
2019-07-13 17:28:03 +02:00
Nico Schottelius cf5552d835 stuff from netpfga 2019-07-10 22:42:52 +02:00
Nico Schottelius ff1688e3b2 integrate netpfga/p4 generic 2019-07-10 22:28:37 +02:00
Nico Schottelius 44749cc359 [netfpga] Remove duplicate definition 2019-07-10 08:53:02 +02:00
Nico Schottelius a69c4060e2 begin implementing diff based checksum in p4 2019-07-06 20:57:11 +02:00
Nico Schottelius ce212ed9e1 Checksums: ipv4 diff not needed; minip4: enable icmp, arp 2019-07-01 11:03:10 +02:00
Nico Schottelius c507ece3e1 Remove unused multicasting code 2019-06-24 14:25:18 +02:00
Nico Schottelius 80aeaf164a port controller sending code partially to netpfga 2019-06-24 14:24:51 +02:00
Nico Schottelius ba9678fcfe Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-06-24 13:45:15 +02:00
Nico Schottelius 0a225479c7 Generate different test data 2019-06-24 13:45:06 +02:00
Nico Schottelius 086d076374 ++makefile 2019-06-24 13:42:12 +02:00
Nico Schottelius a17832ebed Add gitignore + Makefile 2019-06-24 13:41:23 +02:00
Nico Schottelius b92ab84b0c Include script to generate broken lines
LICENSE: unknown
2019-06-24 13:39:47 +02:00
Nico Schottelius 47a7c966bf Try matching different compiler output 2019-06-24 13:20:20 +02:00
Nico Schottelius 53b9c636af init metadata 2019-06-24 13:15:55 +02:00
Nico Schottelius 4d0c4f3df0 camelCase to under_case 2019-06-24 13:12:52 +02:00
Nico Schottelius 4803b56e65 s/p/hdr/, add settings.h 2019-06-24 13:11:12 +02:00
Nico Schottelius 4798778265 ++metadata change 2019-06-24 13:09:03 +02:00
Nico Schottelius 8b8f70e6a0 Begin to introduce commented out code, use metadata 2019-06-24 13:05:42 +02:00
Nico Schottelius 0a34380faf Import all actions/tables from original code 2019-06-24 12:22:12 +02:00
Nico Schottelius d5bc273111 +permissions 2019-06-21 16:51:39 +02:00
Nico Schottelius 2b5d5ea62d ++netpfga updates
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-06-17 19:39:07 +02:00
Nico Schottelius ecdb6d4f9b add p4 test: modifying ipv6 addresses 2019-06-17 12:48:48 +02:00
Nico Schottelius 99811a47c2 [p4src] add mini p4 program that modifies ipv6 data 2019-06-17 12:44:12 +02:00
Nico Schottelius f27f6c5c85 update bashinit for new system 2019-06-14 11:37:53 +02:00
Nico Schottelius 47d49638a8 Try implementing bcast option in gen_testdata 2019-06-12 19:46:22 +02:00
Nico Schottelius 896f0b744c use bcast instead of single calls 2019-06-12 19:37:13 +02:00
Nico Schottelius 3947acfded Re introduce macs 2019-06-12 19:31:40 +02:00
Nico Schottelius 88959baf13 typo 2019-06-12 19:26:07 +02:00
Nico Schottelius 9a2d6d7dac +document all ports 2019-06-12 19:09:07 +02:00
Nico Schottelius dec8a02a26 +doc +log +allports 2019-06-12 19:06:18 +02:00
Nico Schottelius a41ef8f0d1 driver: make clean to remove old parts before building 2019-06-11 17:53:49 +02:00
nico 64c86f874f Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-06-10 11:20:27 +02:00
Nico Schottelius 36ccd6e021 ++ notes 2019-06-10 11:20:11 +02:00
nico f5511742ef import switch_calc_tester.py 2019-06-10 11:19:52 +02:00
nico c3ca4da4e3 Import P4_SWITCH_CLI.py from Netfpga (license: http://netfpga-cic.org/legal/netfpga-hardware-software-license.txt) 2019-06-08 20:13:56 +02:00
Nico Schottelius 2130f14d02 add switch to skip long compile step 2019-06-06 22:30:31 +02:00
Nico Schottelius 63e28f0caa also automate last step 2019-06-06 22:28:46 +02:00
Nico Schottelius 5e10401f96 ++doc ++sudo for drivers 2019-06-04 00:21:28 +02:00
Nico Schottelius a0613c01b2 add script to load the netfpga driver 2019-06-04 00:13:19 +02:00
Nico Schottelius 56d2f2ee65 cleanup && integrate headers.p4 into minip4 2019-06-03 23:00:32 +02:00
Nico Schottelius 63ec17b9a4 begin to integrate headers of real code into netpfga 2019-06-03 22:33:37 +02:00
Nico Schottelius e0226c4c90 try 1 == nf0 2019-06-03 22:01:58 +02:00
Nico Schottelius 442ea1a7da ++doc, use nf3 2019-06-03 21:56:45 +02:00
Nico Schottelius f347e35e71 try 1 == nf2 2019-06-03 21:49:01 +02:00
Nico Schottelius 8d2c0cbf9b ++ regexp 2019-06-03 21:47:36 +02:00
Nico Schottelius 35139976dd fix shell redirect 2019-06-03 21:43:34 +02:00
Nico Schottelius ce05f4224c Trying 1 == nf1 2019-06-03 21:42:26 +02:00
Nico Schottelius 8def761c32 Abort on error detection 2019-06-03 21:39:03 +02:00
Nico Schottelius 0f2e7f6049 Add prompt, add action 2019-06-03 21:33:42 +02:00
Nico Schottelius a3e535323c add script to do all steps 2019-06-03 21:31:58 +02:00
Nico Schottelius 6c895c583a netpfga: always emit on port1 2019-06-03 21:27:07 +02:00
Nico Schottelius 61b807bd2e ++doc ++setup egress 2019-05-26 11:12:49 +02:00
Nico Schottelius 16e9b4cab4 -typo 2019-05-26 11:07:30 +02:00
Nico Schottelius edd9624d29 Cleanup code, in theory finish mirror
Unclear: where / how to setup egress
2019-05-26 11:06:10 +02:00
nico b0edd0fe72 add script for generating testdata 2019-05-26 11:00:22 +02:00
nico 8e11bec804 Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-05-26 10:58:16 +02:00
nico 4a8eb5b2b4 ad minip4, update paths 2019-05-26 10:57:58 +02:00
Nico Schottelius 533ae3e080 ++ log netpfga 2019-05-18 15:33:21 +02:00
Nico Schottelius 6a3c1a6e68 [netpfga] add init 2019-05-10 23:31:27 +02:00