Commit graph

759 commits

Author SHA1 Message Date
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
6a9daa500e Solved UDP translation 2019-07-01 10:37:13 +02:00
Nico Schottelius
e1dd4d44d4 Working showing version of checksums 2019-07-01 10:34:24 +02:00
Nico Schottelius
92e1407729 checksumming part finish 2019-07-01 09:36:14 +02:00
Nico Schottelius
b757a3c2b0 Use UDP for testing checksums 2019-06-29 17:13:28 +02:00
Nico Schottelius
2ed8282687 add script for diff'ing checksums 2019-06-29 15:23:00 +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
f9ce0b92a6 modify settings.h for netpfga 2019-06-24 12:55:27 +02:00
Nico Schottelius
0a34380faf Import all actions/tables from original code 2019-06-24 12:22:12 +02:00
Nico Schottelius
408dd6b782 Delta checksum approach 2019-06-23 14:19:06 +02:00
Nico Schottelius
e7769abe31 Import checksumming from scapy 2019-06-23 13:56:49 +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
04d174c01f ++ meeting notes 2019-06-17 12:35:12 +02:00
Nico Schottelius
03317a6c11 ++notes 2019-06-17 09:41:17 +02:00
Nico Schottelius
42af5cd2d8 ++ notes 2019-06-15 22:49:54 +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
6a4235f6ba sh: add script for git update 2019-06-12 19:11:50 +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
9cebd4024a ++ notes 2019-06-11 17:54:22 +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 Schottelius
b8f5750464 add script to send ipv4 packet 2019-06-10 11:12:44 +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
b8897a7b35 Adjust headers to work with netpfga #1
make[1]: Entering directory '/home/nico/master-thesis/netpfga/minip4/src'
p4c-sdnet -o minip4.sdnet --sdnet_info .sdnet_switch_info.dat minip4_solution.p4
headers.p4(12): error: Duplicate declaration of port_t; previous at
typedef bit<9> port_t
               ^^^^^^
/opt/xilinx/SDNet/2018.2/data/p4include/sume_switch.p4(37)
typedef bit<8> port_t;
               ^^^^^^
headers.p4(12): error: port_t: Duplicates declaration port_t
typedef bit<9> port_t;
               ^^^^^^
/opt/xilinx/SDNet/2018.2/data/p4include/sume_switch.p4(37)
typedef bit<8> port_t;
               ^^^^^^
error: 2 errors encountered, aborting compilation
make[1]: *** [Makefile:5: all] Error 1
make[1]: Leaving directory '/home/nico/master-thesis/netpfga/minip4/src'
make: *** [Makefile:31: frontend] Error 2
2019-06-06 22:34:32 +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
ead0276527 add bin/ with test script for sending 1 packet 2019-06-04 19:41:57 +02:00