mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 04:06:49 +02:00
Workaround to p4c/BMv2 parser bug
Start parser is configured to switch on ingress_port value 0xff, while BMv2 uses byte-aligned ingress_port value (9 bit -> 16 bits), i.e. 0x00ff. Change-Id: I8c9ab36675e7048ca3182582a97a90cc366d2743
This commit is contained in:
parent
c8d3486a1a
commit
4e59382ecd
@ -370,7 +370,7 @@
|
||||
"parser_ops" : [],
|
||||
"transitions" : [
|
||||
{
|
||||
"value" : "0xff",
|
||||
"value" : "0x00ff",
|
||||
"mask" : null,
|
||||
"next_state" : "parse_packet_out"
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -107,7 +107,7 @@
|
||||
"id" : 0,
|
||||
"source_info" : {
|
||||
"filename" : "empty.p4",
|
||||
"line" : 44,
|
||||
"line" : 60,
|
||||
"column" : 8,
|
||||
"source_fragment" : "DeparserImpl"
|
||||
},
|
||||
@ -145,7 +145,7 @@
|
||||
],
|
||||
"source_info" : {
|
||||
"filename" : "empty.p4",
|
||||
"line" : 23,
|
||||
"line" : 39,
|
||||
"column" : 8,
|
||||
"source_fragment" : "meta.dummy_metadata.dummyField = 8w1"
|
||||
}
|
||||
@ -159,7 +159,7 @@
|
||||
"id" : 0,
|
||||
"source_info" : {
|
||||
"filename" : "empty.p4",
|
||||
"line" : 21,
|
||||
"line" : 37,
|
||||
"column" : 8,
|
||||
"source_fragment" : "ingress"
|
||||
},
|
||||
@ -170,7 +170,7 @@
|
||||
"id" : 0,
|
||||
"source_info" : {
|
||||
"filename" : "empty.p4",
|
||||
"line" : 25,
|
||||
"line" : 41,
|
||||
"column" : 10,
|
||||
"source_fragment" : "table0"
|
||||
},
|
||||
@ -210,7 +210,7 @@
|
||||
"id" : 1,
|
||||
"source_info" : {
|
||||
"filename" : "empty.p4",
|
||||
"line" : 38,
|
||||
"line" : 54,
|
||||
"column" : 8,
|
||||
"source_fragment" : "egress"
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user