Shorten the name

It seems include with filenames over some length are not supported in sdnet
This commit is contained in:
Nico Schottelius 2019-07-10 23:05:51 +02:00
parent 0eb5d53438
commit 4387e37f4e
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ control TopPipe(inout headers hdr,
inout digest_data_t digest_data,
inout sume_metadata_t sume_metadata) {
#include "action_netfpga_dummy.p4"
#include "netpfga.p4"
apply {
dummy_table_for_netpfga.apply();

View File

@ -2,8 +2,9 @@
#define DUMMY_NETPFGA
action do_nothing() {
;
}
action send_to_port1() {
sume_metadata.dst_port = 1;
}
@ -19,7 +20,6 @@ table dummy_table_for_netpfga {
}
size = TEST_TABLE_SIZE;
default_action = do_nothing;
}
#endif