Use 64 bits counters to mitigate wrapping
Change-Id: I5c1f6a936fcd0d5d38c95a9fe6344fd7bf440e91
diff --git a/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/context/context.json b/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/context/context.json
index fc52f75..bb21991 100644
--- a/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/context/context.json
+++ b/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/context/context.json
@@ -1,5 +1,5 @@
{
- "build_date": "Wed Sep 13 01:40:59 2017",
+ "build_date": "Wed Sep 13 12:57:58 2017",
"phv_allocation": [
{
"ingress": [
@@ -23038,7 +23038,7 @@
"statistics_type": "bytes",
"handle": 67108865,
"name": "ingress_port_counter",
- "byte_counter_resolution": 32,
+ "byte_counter_resolution": 64,
"table_type": "statistics",
"stage_tables": [
{
@@ -23059,7 +23059,7 @@
"pack_format": [
{
"memory_word_width": 128,
- "entries_per_table_word": 4,
+ "entries_per_table_word": 2,
"table_word_width": 128,
"number_memory_units_per_table_word": 1
}
@@ -23067,7 +23067,7 @@
"logical_table_id": 0,
"stage_number": 2,
"stage_table_type": "statistics",
- "size": 4096
+ "size": 2048
}
],
"enable_pfe": true,
@@ -23081,7 +23081,7 @@
"statistics_type": "bytes",
"handle": 67108866,
"name": "egress_port_counter",
- "byte_counter_resolution": 32,
+ "byte_counter_resolution": 64,
"table_type": "statistics",
"stage_tables": [
{
@@ -23102,7 +23102,7 @@
"pack_format": [
{
"memory_word_width": 128,
- "entries_per_table_word": 4,
+ "entries_per_table_word": 2,
"table_word_width": 128,
"number_memory_units_per_table_word": 1
}
@@ -23110,7 +23110,7 @@
"logical_table_id": 1,
"stage_number": 2,
"stage_table_type": "statistics",
- "size": 4096
+ "size": 2048
}
],
"enable_pfe": true,