Shorten the name
It seems include with filenames over some length are not supported in sdnet
This commit is contained in:
parent
0eb5d53438
commit
4387e37f4e
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue