Commit graph

494 commits

Author SHA1 Message Date
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
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