Update bf-p4c output with most recent fabric.p4 changes from onos-2.2
Also, adds a changelog file to keep track of the fabric.p4 changes
included at a given point in time.
Change-Id: Ia6933ddb392ff5c93d7822a3fd962f609224eba1
diff --git a/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/p4info.txt b/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/p4info.txt
index 3e186b4..7e5e9f7 100644
--- a/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/p4info.txt
+++ b/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/p4info.txt
@@ -187,13 +187,13 @@
}
match_fields {
id: 5
- name: "eth_src"
+ name: "eth_dst"
bitwidth: 48
match_type: TERNARY
}
match_fields {
id: 6
- name: "eth_dst"
+ name: "eth_src"
bitwidth: 48
match_type: TERNARY
}
diff --git a/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/context.json b/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/context.json
index a0aab34..1d4b04e 100644
--- a/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/context.json
+++ b/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/context.json
@@ -1,5 +1,5 @@
{
- "build_date": "Tue Dec 17 02:24:53 2019",
+ "build_date": "Wed Dec 18 02:54:49 2019",
"schema_version": "1.8.4",
"compiler_version": "9.0.0",
"target": "tofino",
@@ -64972,7 +64972,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 1,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -64981,7 +64981,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 9,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -64990,7 +64990,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 17,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -64999,7 +64999,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 25,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -65008,7 +65008,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 33,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -65044,7 +65044,7 @@
"field_width": 16
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 1,
"lsb_mem_word_idx": 2,
"msb_mem_word_idx": 2,
@@ -65098,7 +65098,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 25,
"lsb_mem_word_idx": 1,
"msb_mem_word_idx": 1,
@@ -65107,7 +65107,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 33,
"lsb_mem_word_idx": 1,
"msb_mem_word_idx": 1,
@@ -65116,7 +65116,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 1,
"lsb_mem_word_idx": 0,
"msb_mem_word_idx": 0,
@@ -65161,7 +65161,7 @@
"field_width": 1
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 5,
"msb_mem_word_idx": 5,
@@ -65170,7 +65170,7 @@
"field_width": 4
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -65179,7 +65179,7 @@
"field_width": 4
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 3,
"msb_mem_word_idx": 3,
@@ -65188,7 +65188,7 @@
"field_width": 4
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 2,
"msb_mem_word_idx": 2,
@@ -65711,7 +65711,7 @@
"field_name": "l4_dport"
},
{
- "name": "eth_src",
+ "name": "eth_dst",
"global_name": "hdr.ethernet.dst_addr",
"start_bit": 0,
"bit_width": 48,
@@ -65723,7 +65723,7 @@
"field_name": "dst_addr"
},
{
- "name": "eth_dst",
+ "name": "eth_src",
"global_name": "hdr.ethernet.src_addr",
"start_bit": 0,
"bit_width": 48,
@@ -83953,6 +83953,6 @@
]
}
],
- "run_id": "e9a6f1bd8eab227c",
+ "run_id": "b48e492498200795",
"driver_options": { "hash_parity_enabled": false, "high_availability_enabled": true }
}
\ No newline at end of file
diff --git a/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/tofino.bin b/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/tofino.bin
index 567a0b1..128a536 100644
--- a/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/tofino.bin
+++ b/src/main/resources/p4c-out/fabric/tofino/mavericks_sde_9_0_0/pipe/tofino.bin
Binary files differ
diff --git a/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/p4info.txt b/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/p4info.txt
index 3e186b4..7e5e9f7 100644
--- a/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/p4info.txt
+++ b/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/p4info.txt
@@ -187,13 +187,13 @@
}
match_fields {
id: 5
- name: "eth_src"
+ name: "eth_dst"
bitwidth: 48
match_type: TERNARY
}
match_fields {
id: 6
- name: "eth_dst"
+ name: "eth_src"
bitwidth: 48
match_type: TERNARY
}
diff --git a/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/context.json b/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/context.json
index 9117cf4..6978daa 100644
--- a/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/context.json
+++ b/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/context.json
@@ -1,5 +1,5 @@
{
- "build_date": "Tue Dec 17 02:25:16 2019",
+ "build_date": "Wed Dec 18 02:55:13 2019",
"schema_version": "1.8.4",
"compiler_version": "9.0.0",
"target": "tofino",
@@ -64972,7 +64972,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 1,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -64981,7 +64981,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 9,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -64990,7 +64990,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 17,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -64999,7 +64999,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 25,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -65008,7 +65008,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 33,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -65044,7 +65044,7 @@
"field_width": 16
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 1,
"lsb_mem_word_idx": 2,
"msb_mem_word_idx": 2,
@@ -65098,7 +65098,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 25,
"lsb_mem_word_idx": 1,
"msb_mem_word_idx": 1,
@@ -65107,7 +65107,7 @@
"field_width": 8
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 33,
"lsb_mem_word_idx": 1,
"msb_mem_word_idx": 1,
@@ -65116,7 +65116,7 @@
"field_width": 8
},
{
- "field_name": "eth_dst",
+ "field_name": "eth_src",
"lsb_mem_word_offset": 1,
"lsb_mem_word_idx": 0,
"msb_mem_word_idx": 0,
@@ -65161,7 +65161,7 @@
"field_width": 1
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 5,
"msb_mem_word_idx": 5,
@@ -65170,7 +65170,7 @@
"field_width": 4
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 4,
"msb_mem_word_idx": 4,
@@ -65179,7 +65179,7 @@
"field_width": 4
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 3,
"msb_mem_word_idx": 3,
@@ -65188,7 +65188,7 @@
"field_width": 4
},
{
- "field_name": "eth_src",
+ "field_name": "eth_dst",
"lsb_mem_word_offset": 41,
"lsb_mem_word_idx": 2,
"msb_mem_word_idx": 2,
@@ -65711,7 +65711,7 @@
"field_name": "l4_dport"
},
{
- "name": "eth_src",
+ "name": "eth_dst",
"global_name": "hdr.ethernet.dst_addr",
"start_bit": 0,
"bit_width": 48,
@@ -65723,7 +65723,7 @@
"field_name": "dst_addr"
},
{
- "name": "eth_dst",
+ "name": "eth_src",
"global_name": "hdr.ethernet.src_addr",
"start_bit": 0,
"bit_width": 48,
@@ -83953,6 +83953,6 @@
]
}
],
- "run_id": "d3fffe11efbbca52",
+ "run_id": "6a35c206ff650bb0",
"driver_options": { "hash_parity_enabled": false, "high_availability_enabled": true }
}
\ No newline at end of file
diff --git a/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/tofino.bin b/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/tofino.bin
index 00760b8..50de9d3 100644
--- a/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/tofino.bin
+++ b/src/main/resources/p4c-out/fabric/tofino/montara_sde_9_0_0/pipe/tofino.bin
Binary files differ