Commit graph

463 commits

Author SHA1 Message Date
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
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
06014333ee Merge branch 'master' of gitlab.ethz.ch:nicosc/master-thesis 2019-05-26 11:00:31 +02:00
nico
b0edd0fe72 add script for generating testdata 2019-05-26 11:00:22 +02:00
Nico Schottelius
fa254011e6 ++notes 2019-05-26 10:58:35 +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
880c228a76 ++ notes 2019-05-25 14:18:06 +02:00
Nico Schottelius
4059701f63 ++netfpga logs 2019-05-20 11:12:48 +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
Nico Schottelius
5592d45e7b ++notes 2019-05-10 23:28:24 +02:00
Nico Schottelius
8cade9435f ++netpfga notes 2019-05-10 23:28:17 +02:00
Nico Schottelius
688de57a5c update netpfga 2019-05-10 18:24:23 +02:00
Nico Schottelius
74828182ef Begin netfpga log 2019-05-10 18:19:56 +02:00
Nico Schottelius
f55aeddd0e hard code 0 network in session handling
=> effectively only using 1 net at the moment
2019-05-06 13:10:40 +02:00
Nico Schottelius
736350eb68 +) 2019-05-06 13:06:45 +02:00
Nico Schottelius
34e3b84a1d [controller] setup v4 dst/src correctly 2019-05-06 13:06:09 +02:00
Nico Schottelius
8b5126e371 Use scapy port names 2019-05-06 12:56:26 +02:00
Nico Schottelius
78b037038a ipv4 egress if tcp session hit 2019-05-06 12:52:29 +02:00
Nico Schottelius
7be9c01b48 stop processing v6 when matching for nat64 session 2019-05-06 12:50:45 +02:00
Your Name
677e50d81b +pcap 2019-05-06 10:42:26 +00:00
Nico Schottelius
07858db44b +stringify 2019-05-06 12:24:11 +02:00
Nico Schottelius
8cf84c9404 controller: -typo 2019-05-06 12:23:21 +02:00
Nico Schottelius
1a1d2fcdb7 [no init from v4 world] 2019-05-06 12:20:45 +02:00
Nico Schottelius
0525f2b4b5 [dummy commit] 2019-05-06 12:19:26 +02:00
Nico Schottelius
522b4d6593 ++addr change 2019-05-06 12:18:10 +02:00
Nico Schottelius
b0b9cd7461 [controller] insert 6->4 session 2019-05-06 12:16:22 +02:00
Nico Schottelius
09a15b6c25 Cleanup nat64 references 2019-05-06 11:52:33 +02:00
Nico Schottelius
7fedd83959 [p4src] in theory finish source requirements for sessions 2019-05-06 11:51:04 +02:00
Nico Schottelius
b972accc73 [refactor] nat64 now - not only static mapping anymore 2019-05-05 13:48:05 +02:00