commit | 70e816b05ad7a592178f85221149b1855bc4f9ed | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@opennetworking.org> | Tue Mar 19 16:15:47 2019 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Fri Mar 22 17:19:50 2019 +0000 |
tree | eaf05e9fd5a55bd2902e3d3a985d3c546d003a5d | |
parent | 397d8d46794cbdf71d377857ac7f6f52cc523bb7 [diff] [blame] |
Support compiling fabric.p4 with arbitrary table sizes By using preprocessor macros. Also, change expected location of tofino compiler outputs when building the pipeconf. Change-Id: I98ea95b61d57e725c88e52a3bfd95618f3c407cb
diff --git a/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt b/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt index 6c5b97e..beb1309 100644 --- a/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt +++ b/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt
@@ -269,7 +269,7 @@ } const_default_action_id: 16827694 direct_resource_ids: 318801025 - size: 128 + size: 1024 } tables { preamble { @@ -780,10 +780,11 @@ id: 285217164 name: "FabricIngress.next.hashed_selector" alias: "hashed_selector" + annotations: "@max_group_size(16)" } table_ids: 33608588 with_selector: true - size: 64 + size: 1024 } counters { preamble {