Support for different tofino systems (mavericks and montara)
The tofino driver will now register two pipeconf, one for each system.
The right one should be injected via netcfg.
Change-Id: I0fc3e8afa6fedef13d1ab7067811707748e8e916
diff --git a/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/context/deparser.context.json b/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/context/deparser.context.json
new file mode 100644
index 0000000..38cb306
--- /dev/null
+++ b/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/context/deparser.context.json
@@ -0,0 +1,24 @@
+{
+ "ingress": {
+ "pov_mappings": {
+ "32": "packet_in_hdr",
+ "33": "packet_out_hdr",
+ "34": "ethernet",
+ "35": "ipv4",
+ "36": "tcp",
+ "37": "udp",
+ "38": "metadata_bridge",
+ "16": "_bridged_intr_md_"
+ }
+ },
+ "egress": {
+ "pov_mappings": {
+ "0": "packet_in_hdr",
+ "1": "packet_out_hdr",
+ "2": "ethernet",
+ "3": "ipv4",
+ "4": "tcp",
+ "5": "udp"
+ }
+ }
+}
\ No newline at end of file