Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 1 | +---------------------------------------------------------------------+ |
| 2 | | Log file: parde.log | |
| 3 | | Compiler version: 5.1.0 (fca32d1) | |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 4 | | Created on: Fri Sep 8 08:23:45 2017 | |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 5 | +---------------------------------------------------------------------+ |
| 6 | |
| 7 | ># Begin digest init (pre-PHV) |
| 8 | >## Gress 0 |
| 9 | >## Gress 1 |
| 10 | >## Rewrite CLONE_I2E_DIGEST_RCVR ids |
| 11 | >## Rewrite CLONE_E2E_DIGEST_RCVR ids |
| 12 | ># End digest init (pre-PHV) |
| 13 | ># Begin digest PHV reservations |
| 14 | ># End digest PHV reservations |
| 15 | ># Begin digest init (post-PHV) |
| 16 | ># End digest init (post-PHV) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 17 | Found parser entry point: start |
| 18 | ># Begin unroll of HLIR parse graph |
| 19 | >## Create shadow parse graph and find loops |
| 20 | >## Entrypoint 'p4_parse_state.start' |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 21 | Creating shadow state: 'p4_parse_state.start' -> 'shadow_state (start, 140209182764624)' |
| 22 | Creating shadow state: 'p4_parse_state.parse_pkt_in' -> 'shadow_state (parse_pkt_in, 140209182764432)' |
| 23 | Creating shadow state: 'p4_parse_state.parse_ethernet' -> 'shadow_state (parse_ethernet, 140209182763856)' |
| 24 | Creating shadow state: 'p4_parse_state.parse_ipv4' -> 'shadow_state (parse_ipv4, 140209182763728)' |
| 25 | Creating shadow state: 'p4_parse_state.parse_tcp' -> 'shadow_state (parse_tcp, 140209182763600)' |
| 26 | Creating shadow state: 'p4_parse_state.parse_udp' -> 'shadow_state (parse_udp, 140209182763664)' |
| 27 | Creating shadow state: 'p4_parse_state.default_parser' -> 'shadow_state (default_parser, 140209182763536)' |
| 28 | Creating shadow state: 'p4_parse_state.parse_pkt_out' -> 'shadow_state (parse_pkt_out, 140209182763344)' |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 29 | ># End unroll of HLIR parse graph |
| 30 | ># Begin deparser init |
| 31 | >## Create records for gress 0 |
| 32 | Skipping metadata header 'p4_header_instance.standard_metadata' |
| 33 | Skipping intrinsic header 'p4_header_instance.ig_intr_md' |
| 34 | Skipping intrinsic header 'p4_header_instance.ig_intr_md_for_tm' |
| 35 | Skipping intrinsic header 'p4_header_instance.ig_intr_md_for_mb' |
| 36 | Skipping intrinsic header 'p4_header_instance.eg_intr_md' |
| 37 | Skipping intrinsic header 'p4_header_instance.eg_intr_md_for_mb' |
| 38 | Skipping intrinsic header 'p4_header_instance.eg_intr_md_for_oport' |
| 39 | Created record for 'p4_header_instance.packet_in_hdr' |
| 40 | Created record for 'p4_header_instance.packet_out_hdr' |
| 41 | Created record for 'p4_header_instance.ethernet' |
| 42 | Created record for 'p4_header_instance.ipv4' |
| 43 | Created record for 'p4_header_instance.tcp' |
| 44 | Created record for 'p4_header_instance.udp' |
| 45 | >## Build record ordering for gress 0 |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 46 | >## Build field ordering for record 'packet_in_hdr' |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 47 | >## Build field ordering for record 'packet_out_hdr' |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 48 | >## Build field ordering for record 'ethernet' |
| 49 | >## Build field ordering for record 'ipv4' |
| 50 | >## Build field ordering for record 'udp' |
| 51 | >## Build field ordering for record 'tcp' |
| 52 | >## Create records for gress 1 |
| 53 | Skipping metadata header 'p4_header_instance.standard_metadata' |
| 54 | Skipping intrinsic header 'p4_header_instance.ig_intr_md' |
| 55 | Skipping intrinsic header 'p4_header_instance.ig_intr_md_for_tm' |
| 56 | Skipping intrinsic header 'p4_header_instance.ig_intr_md_for_mb' |
| 57 | Skipping intrinsic header 'p4_header_instance.eg_intr_md' |
| 58 | Skipping intrinsic header 'p4_header_instance.eg_intr_md_for_mb' |
| 59 | Skipping intrinsic header 'p4_header_instance.eg_intr_md_for_oport' |
| 60 | Created record for 'p4_header_instance.packet_in_hdr' |
| 61 | Created record for 'p4_header_instance.packet_out_hdr' |
| 62 | Created record for 'p4_header_instance.ethernet' |
| 63 | Created record for 'p4_header_instance.ipv4' |
| 64 | Created record for 'p4_header_instance.tcp' |
| 65 | Created record for 'p4_header_instance.udp' |
| 66 | >## Build record ordering for gress 1 |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 67 | >## Build field ordering for record 'packet_in_hdr' |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 68 | >## Build field ordering for record 'packet_out_hdr' |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 69 | >## Build field ordering for record 'ethernet' |
| 70 | >## Build field ordering for record 'ipv4' |
| 71 | >## Build field ordering for record 'udp' |
| 72 | >## Build field ordering for record 'tcp' |
| 73 | Deparse bmeta_ig_intr_md header |
| 74 | >## Create deparser bridge_ig_intr_md record |
| 75 | Add container 128 for ig_intr_md.resubmit_flag to bmeta_ig_intr_md |
| 76 | Add container 128 for ig_intr_md._pad1 to bmeta_ig_intr_md |
| 77 | Add container 128 for ig_intr_md._pad2 to bmeta_ig_intr_md |
| 78 | Add container 128 for ig_intr_md._pad3 to bmeta_ig_intr_md |
| 79 | Add container 128 for ig_intr_md.ingress_port to bmeta_ig_intr_md |
| 80 | >## Create deparser bridge record |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 81 | ># End deparser init |
| 82 | Constructing parse graph for entry point start on ingress |
| 83 | Constructing parse graph for entry point start on egress |
| 84 | Adding special Egress state to access ingress intrisic metadata |
| 85 | Egress intrinsic metadata unconditional extraction plan: ExtractionPlan { shift 24, extractions ['eg_intr_md.egress_port', 'eg_intr_md.egress_cos'] } |
| 86 | Egress intrinsic metadata conditional extraction plan: ExtractionPlan { shift 0, extractions [] } |
| 87 | Stretch extraction of ingress_port to state <Ingress intrinsic metadata> offset 7 |
| 88 | Stretch extraction of ig_intr_md.ingress_port to state <_parse_bridged_ingress_intrinsic_metadata> offset 7 |
| 89 | ># Begin scraping deparser POV allocation from raw PHV allocation |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 90 | PHV layout: [0, 0, 0, 0, 66, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 91 | >## Scraping individual POV records |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 92 | POV 33 -> packet_out_hdr |
| 93 | POV 34 -> ethernet |
| 94 | POV 35 -> ipv4 |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 95 | POV 36 -> tcp |
| 96 | POV 37 -> udp |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 97 | POV 38 -> pov_bmeta |
| 98 | POV 32 -> packet_in_hdr |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 99 | >## Setting up array bits |
| 100 | ># End scraping deparser POV allocation from raw PHV allocation |
| 101 | ># Begin parser POV rewrite |
| 102 | >## Filling in POV init state |
| 103 | >## Rewriting parser POV extractions |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 104 | POV for metadata_bridge -> PHV 66 |= 0x40 |
| 105 | POV for packet_in_hdr -> PHV 66 |= 0x1 |
| 106 | POV for ethernet -> PHV 66 |= 0x4 |
| 107 | POV for ipv4 -> PHV 66 |= 0x8 |
| 108 | POV for tcp -> PHV 66 |= 0x10 |
| 109 | POV for udp -> PHV 66 |= 0x20 |
| 110 | POV for packet_out_hdr -> PHV 66 |= 0x2 |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 111 | POV for ig_intr_md -> dropped (no deparser record) |
| 112 | POV for _bridged_intr_md_ -> PHV 0 |= 0x10000 |
| 113 | >## Sampling not detected, deparsing at least 1 POV byte |
| 114 | >## Adding POV containers to metadata bridge: [0] |
| 115 | >## Set POV skip state's shift amount to 32 |
| 116 | ># Begin scraping deparser POV allocation from raw PHV allocation |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 117 | PHV layout: [81, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 118 | >## Scraping individual POV records |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 119 | POV 1 -> packet_out_hdr |
| 120 | POV 2 -> ethernet |
| 121 | POV 3 -> ipv4 |
| 122 | POV 4 -> tcp |
| 123 | POV 5 -> udp |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 124 | POV 0 -> packet_in_hdr |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 125 | >## Setting up array bits |
| 126 | ># End scraping deparser POV allocation from raw PHV allocation |
| 127 | ># Begin parser POV rewrite |
| 128 | >## Filling in POV init state |
| 129 | >## Rewriting parser POV extractions |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 130 | POV for packet_in_hdr -> PHV 81 |= 0x1 |
| 131 | POV for ethernet -> PHV 81 |= 0x4 |
| 132 | POV for ipv4 -> PHV 81 |= 0x8 |
| 133 | POV for tcp -> PHV 81 |= 0x10 |
| 134 | POV for udp -> PHV 81 |= 0x20 |
| 135 | POV for packet_out_hdr -> PHV 81 |= 0x2 |
| 136 | Linear Chain parse_tcp -> parse_tcp//spilled |
| 137 | Try merge parse_tcp <- parse_tcp//spilled |
| 138 | merge output at offset 24 |
| 139 | Ran out of 8b extractors |
| 140 | states will not be partially merged since S2 is end of chain |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 141 | Linear Chain parse_pkt_in -> parse_ethernet |
| 142 | Try merge parse_pkt_in <- parse_ethernet |
| 143 | Multiple paths to state S2 : parse_ethernet <- 3 |
| 144 | Linear Chain <POV initialization> -> start |
| 145 | Try merge <POV initialization> <- <Ingress intrinsic metadata> |
| 146 | merge output at offset 0 |
| 147 | Merge s2 constant extraction v=1 phv=0 |
| 148 | merge_offset = 16, complete_merge = True |
| 149 | Before Merge ------ |
| 150 | S1: State : <POV initialization> |
| 151 | shift: 0B |
| 152 | match_reservations: [] |
| 153 | outputs[addr, width]: () |
| 154 | match_extractions: [] |
| 155 | next state <Ingress intrinsic metadata> val 0 mask [False] |
| 156 | parent state <Shim start state> |
| 157 | |
| 158 | |
| 159 | S2: State : <Ingress intrinsic metadata> |
| 160 | shift: 8B |
| 161 | match_reservations: [] |
| 162 | outputs[addr, width]: ([128, 16], [0, 32]) |
| 163 | branch on = None, offset = 0b, dst = <Ingress intrinsic metadata> |
| 164 | branch promise on = ingress_port, offset = 7b, dst = default_parser |
| 165 | match_extractions: [] |
| 166 | next state <Phase 0> val 0 mask [True] |
| 167 | parent state <POV initialization> |
| 168 | |
| 169 | |
| 170 | Full merge done <POV initialization> <- <Ingress intrinsic metadata> |
| 171 | Try merge <POV initialization>_<Ingress intrinsic metadata> <- <Phase 0> |
| 172 | merge_offset = 0, complete_merge = True |
| 173 | Before Merge ------ |
| 174 | S1: State : <POV initialization>_<Ingress intrinsic metadata> |
| 175 | shift: 8B |
| 176 | match_reservations: [] |
| 177 | outputs[addr, width]: ([128, 16], [0, 32]) |
| 178 | branch on = None, offset = 0b, dst = <POV initialization>_<Ingress intrinsic metadata> |
| 179 | branch promise on = ingress_port, offset = 7b, dst = default_parser |
| 180 | match_extractions: [] |
| 181 | next state <Phase 0> val 0 mask [True] |
| 182 | parent state <Shim start state> |
| 183 | |
| 184 | |
| 185 | S2: State : <Phase 0> |
| 186 | shift: 8B |
| 187 | match_reservations: [] |
| 188 | outputs[addr, width]: () |
| 189 | branch on = None, offset = 0b, dst = <Phase 0> |
| 190 | match_extractions: [] |
| 191 | next state start val 0 mask [False] |
| 192 | parent state <POV initialization>_<Ingress intrinsic metadata> |
| 193 | |
| 194 | |
| 195 | Full merge done <POV initialization>_<Ingress intrinsic metadata> <- <Phase 0> |
| 196 | Try merge <POV initialization>_<Ingress intrinsic metadata>_<Phase 0> <- start |
| 197 | Multiple paths to state S2 : start <- 2 |
| 198 | Remove state <Ingress intrinsic metadata> |
| 199 | Remove state <Phase 0> |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 200 | assign ids to 11 states, dir = 0 |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 201 | ------ |
| 202 | State : <Shim start state> |
| 203 | shift: 0B |
| 204 | match_reservations: [] |
| 205 | outputs[addr, width]: () |
| 206 | match_extractions: [] |
| 207 | next state <POV initialization>_<Ingress intrinsic metadata>_<Phase 0> val 0 mask [False] |
| 208 | |
| 209 | ------ |
| 210 | State : parse_pkt_in |
| 211 | shift: 2B |
| 212 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 213 | outputs[addr, width]: ([66, 8], [129, 16]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 214 | match_extractions: [] |
| 215 | next state parse_ethernet val 0 mask [False] |
| 216 | parent state start |
| 217 | |
| 218 | ------ |
| 219 | State : parse_ethernet |
| 220 | shift: 14B |
| 221 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 222 | outputs[addr, width]: ([66, 8], [64, 8], [1, 32], [131, 16], [65, 8], [2, 32], [132, 16]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 223 | branch on = etherType, offset = 96b, dst = parse_ethernet |
| 224 | match_extractions: [match_window(hw_id=0, width=16)] |
| 225 | match key = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] |
| 226 | next state parse_ipv4 val 2048 mask [True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True] |
| 227 | parent state parse_pkt_in |
| 228 | parent state parse_pkt_out |
| 229 | parent state default_parser |
| 230 | |
| 231 | ------ |
| 232 | State : parse_ipv4 |
| 233 | shift: 20B |
| 234 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 235 | outputs[addr, width]: ([66, 8], [288, 8], [289, 8], [320, 16], [321, 16], [322, 16], [256, 32], [257, 32], [258, 32]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 236 | branch on = fragOffset, offset = 51b, dst = parse_ipv4 |
| 237 | branch on = protocol, offset = 72b, dst = parse_ipv4 |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 238 | match_extractions: [match_window(hw_id=0, width=16), match_window(hw_id=2, width=8)] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 239 | match key = [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, None, None, None] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 240 | match key = [0, 1, 2, 3, 4, 5, 6, 7] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 241 | next state parse_tcp val 6 mask [True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True] |
| 242 | next state parse_udp val 17 mask [True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True] |
| 243 | parent state parse_ethernet |
| 244 | |
| 245 | ------ |
| 246 | State : parse_tcp |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 247 | shift: 0B |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 248 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 249 | outputs[addr, width]: ([66, 8], [290, 8], [291, 8], [292, 8], [323, 16], [324, 16], [325, 16], [326, 16], [259, 32], [260, 32]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 250 | match_extractions: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 251 | next state parse_tcp//spilled val 0 mask [False] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 252 | parent state parse_ipv4 |
| 253 | |
| 254 | ------ |
| 255 | State : parse_udp |
| 256 | shift: 8B |
| 257 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 258 | outputs[addr, width]: ([66, 8], [290, 8], [291, 8], [323, 16], [259, 32]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 259 | match_extractions: [] |
| 260 | parent state parse_ipv4 |
| 261 | |
| 262 | ------ |
| 263 | State : default_parser |
| 264 | shift: 0B |
| 265 | match_reservations: [match_window(hw_id=0, width=16)] |
| 266 | outputs[addr, width]: () |
| 267 | branch on = ingress_port, offset = 7b, dst = default_parser |
| 268 | match_extractions: [match_window(hw_id=0, width=16)] |
| 269 | match key = [0, 1, 2, 3, 4, 5, 6, 7, 8, None, None, None, None, None, None, None] |
| 270 | next state parse_pkt_out val 320 mask [True, True, True, True, True, True, True, True, True] |
| 271 | next state parse_ethernet val 0 mask [False] |
| 272 | parent state start |
| 273 | |
| 274 | ------ |
| 275 | State : parse_pkt_out |
| 276 | shift: 2B |
| 277 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 278 | outputs[addr, width]: ([66, 8], [129, 16]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 279 | match_extractions: [] |
| 280 | next state parse_ethernet val 0 mask [False] |
| 281 | parent state default_parser |
| 282 | |
| 283 | ------ |
| 284 | State : <POV initialization>_<Ingress intrinsic metadata>_<Phase 0> |
| 285 | shift: 16B |
| 286 | match_reservations: [] |
| 287 | outputs[addr, width]: ([128, 16], [0, 32]) |
| 288 | branch on = None, offset = 0b, dst = <POV initialization>_<Ingress intrinsic metadata>_<Phase 0> |
| 289 | branch on = None, offset = 64b, dst = <POV initialization>_<Ingress intrinsic metadata>_<Phase 0> |
| 290 | branch promise on = ingress_port, offset = 7b, dst = default_parser |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 291 | match_extractions: [match_window(hw_id=0, width=16), match_window(hw_id=2, width=8)] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 292 | match key = [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, 8] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 293 | match key = [0, 1, 2, 3, 4, 5, 6, 7] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 294 | next state start val 0 mask [False] |
| 295 | parent state <Shim start state> |
| 296 | |
| 297 | ------ |
| 298 | State : start |
| 299 | shift: 0B |
| 300 | match_reservations: [match_window(hw_id=0, width=16)] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 301 | outputs[addr, width]: ([66, 8],) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 302 | branch on = None, offset = 96b, dst = start |
| 303 | match_extractions: [match_window(hw_id=2, width=8)] |
| 304 | match key = [0, 1, 2, 3, 4, 5, 6, 7] |
| 305 | next state parse_pkt_in val 0 mask [True, True, True, True, True, True, True, True] |
| 306 | next state default_parser val 0 mask [False] |
| 307 | parent state <POV initialization>_<Ingress intrinsic metadata>_<Phase 0> |
| 308 | |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 309 | ------ |
| 310 | State : parse_tcp//spilled |
| 311 | shift: 20B |
| 312 | match_reservations: [] |
| 313 | outputs[addr, width]: ([293, 8],) |
| 314 | match_extractions: [] |
| 315 | parent state parse_tcp |
| 316 | |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 317 | Linear Chain parse_pkt_in -> parse_ethernet |
| 318 | Try merge parse_pkt_in <- parse_ethernet |
| 319 | Multiple paths to state S2 : parse_ethernet <- 3 |
| 320 | Linear Chain <POV initialization> -> start |
| 321 | Try merge <POV initialization> <- <Egress intrinsic metadata> |
| 322 | merge output at offset 0 |
| 323 | merge output at offset 16 |
| 324 | merge_offset = 24, complete_merge = True |
| 325 | Before Merge ------ |
| 326 | S1: State : <POV initialization> |
| 327 | shift: 0B |
| 328 | match_reservations: [] |
| 329 | outputs[addr, width]: () |
| 330 | match_extractions: [] |
| 331 | next state <Egress intrinsic metadata> val 0 mask [False] |
| 332 | parent state <Shim start state> |
| 333 | |
| 334 | |
| 335 | S2: State : <Egress intrinsic metadata> |
| 336 | shift: 3B |
| 337 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 338 | outputs[addr, width]: ([144, 16], [80, 8]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 339 | branch on = None, offset = 24b, dst = <Egress intrinsic metadata> |
| 340 | match_extractions: [] |
| 341 | next state <POV skip> val 0 mask [False] |
| 342 | parent state <POV initialization> |
| 343 | |
| 344 | |
| 345 | Full merge done <POV initialization> <- <Egress intrinsic metadata> |
| 346 | Try merge <POV initialization>_<Egress intrinsic metadata> <- <POV skip> |
| 347 | merge_offset = 0, complete_merge = True |
| 348 | Before Merge ------ |
| 349 | S1: State : <POV initialization>_<Egress intrinsic metadata> |
| 350 | shift: 3B |
| 351 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 352 | outputs[addr, width]: ([144, 16], [80, 8]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 353 | branch on = None, offset = 24b, dst = <POV initialization>_<Egress intrinsic metadata> |
| 354 | match_extractions: [] |
| 355 | next state <POV skip> val 0 mask [False] |
| 356 | parent state <Shim start state> |
| 357 | |
| 358 | |
| 359 | S2: State : <POV skip> |
| 360 | shift: 4B |
| 361 | match_reservations: [] |
| 362 | outputs[addr, width]: () |
| 363 | match_extractions: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 364 | next state <_parse_bridged_ingress_intrinsic_metadata> val 0 mask [False] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 365 | parent state <POV initialization>_<Egress intrinsic metadata> |
| 366 | |
| 367 | |
| 368 | Full merge done <POV initialization>_<Egress intrinsic metadata> <- <POV skip> |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 369 | Try merge <POV initialization>_<Egress intrinsic metadata>_<POV skip> <- <_parse_bridged_ingress_intrinsic_metadata> |
| 370 | merge_offset = 0, complete_merge = True |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 371 | Before Merge ------ |
| 372 | S1: State : <POV initialization>_<Egress intrinsic metadata>_<POV skip> |
| 373 | shift: 7B |
| 374 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 375 | outputs[addr, width]: ([144, 16], [80, 8]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 376 | branch on = None, offset = 24b, dst = <POV initialization>_<Egress intrinsic metadata>_<POV skip> |
| 377 | match_extractions: [] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 378 | next state <_parse_bridged_ingress_intrinsic_metadata> val 0 mask [False] |
| 379 | parent state <Shim start state> |
| 380 | |
| 381 | |
| 382 | S2: State : <_parse_bridged_ingress_intrinsic_metadata> |
| 383 | shift: 2B |
| 384 | match_reservations: [] |
| 385 | outputs[addr, width]: () |
| 386 | branch promise on = ingress_port, offset = 7b, dst = default_parser |
| 387 | match_extractions: [] |
| 388 | next state start val 0 mask [False] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 389 | parent state <POV initialization>_<Egress intrinsic metadata>_<POV skip> |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 390 | |
| 391 | |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 392 | Full merge done <POV initialization>_<Egress intrinsic metadata>_<POV skip> <- <_parse_bridged_ingress_intrinsic_metadata> |
| 393 | Try merge <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata> <- start |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 394 | merge_offset = 0, complete_merge = True |
| 395 | Before Merge ------ |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 396 | S1: State : <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata> |
| 397 | shift: 9B |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 398 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 399 | outputs[addr, width]: ([144, 16], [80, 8]) |
| 400 | branch on = None, offset = 24b, dst = <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata> |
| 401 | branch promise on = ingress_port, offset = 63b, dst = default_parser |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 402 | match_extractions: [] |
| 403 | next state start val 0 mask [False] |
| 404 | parent state <Shim start state> |
| 405 | |
| 406 | |
| 407 | S2: State : start |
| 408 | shift: 0B |
| 409 | match_reservations: [] |
| 410 | outputs[addr, width]: () |
| 411 | branch on = None, offset = 96b, dst = start |
| 412 | match_extractions: [] |
| 413 | next state parse_pkt_in val 0 mask [True, True, True, True, True, True, True, True] |
| 414 | next state default_parser val 0 mask [False] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 415 | parent state <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata> |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 416 | |
| 417 | |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 418 | Full merge done <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata> <- start |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 419 | Remove state <Egress intrinsic metadata> |
| 420 | Remove state <POV skip> |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 421 | Remove state <_parse_bridged_ingress_intrinsic_metadata> |
| 422 | Remove state start |
| 423 | assign ids to 9 states, dir = 1 |
| 424 | ------ |
| 425 | State : <Shim start state> |
| 426 | shift: 0B |
| 427 | match_reservations: [] |
| 428 | outputs[addr, width]: () |
| 429 | match_extractions: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 430 | next state <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata>_start val 0 mask [False] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 431 | |
| 432 | ------ |
| 433 | State : parse_ethernet |
| 434 | shift: 14B |
| 435 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 436 | outputs[addr, width]: ([81, 8], [300, 8], [270, 32], [338, 16], [301, 8], [271, 32], [339, 16]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 437 | branch on = etherType, offset = 96b, dst = parse_ethernet |
| 438 | match_extractions: [match_window(hw_id=0, width=16)] |
| 439 | match key = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] |
| 440 | next state parse_ipv4 val 2048 mask [True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True] |
| 441 | parent state parse_pkt_in |
| 442 | parent state parse_pkt_out |
| 443 | parent state default_parser |
| 444 | |
| 445 | ------ |
| 446 | State : parse_ipv4 |
| 447 | shift: 20B |
| 448 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 449 | outputs[addr, width]: ([81, 8], [296, 8], [297, 8], [332, 16], [333, 16], [334, 16], [264, 32], [265, 32], [266, 32]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 450 | branch on = fragOffset, offset = 51b, dst = parse_ipv4 |
| 451 | branch on = protocol, offset = 72b, dst = parse_ipv4 |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 452 | match_extractions: [match_window(hw_id=0, width=16), match_window(hw_id=2, width=8)] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 453 | match key = [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, None, None, None] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 454 | match key = [0, 1, 2, 3, 4, 5, 6, 7] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 455 | next state parse_tcp val 6 mask [True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True] |
| 456 | next state parse_udp val 17 mask [True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True] |
| 457 | parent state parse_ethernet |
| 458 | |
| 459 | ------ |
| 460 | State : parse_tcp |
| 461 | shift: 20B |
| 462 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 463 | outputs[addr, width]: ([81, 8], [298, 8], [299, 8], [335, 16], [336, 16], [337, 16], [267, 32], [268, 32], [269, 32]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 464 | match_extractions: [] |
| 465 | parent state parse_ipv4 |
| 466 | |
| 467 | ------ |
| 468 | State : parse_udp |
| 469 | shift: 8B |
| 470 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 471 | outputs[addr, width]: ([81, 8], [298, 8], [299, 8], [336, 16], [267, 32]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 472 | match_extractions: [] |
| 473 | parent state parse_ipv4 |
| 474 | |
| 475 | ------ |
| 476 | State : default_parser |
| 477 | shift: 0B |
| 478 | match_reservations: [match_window(hw_id=0, width=16)] |
| 479 | outputs[addr, width]: () |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 480 | branch on = ingress_port, offset = 63b, dst = default_parser |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 481 | match_extractions: [match_window(hw_id=0, width=16)] |
| 482 | match key = [0, 1, 2, 3, 4, 5, 6, 7, 8, None, None, None, None, None, None, None] |
| 483 | next state parse_pkt_out val 320 mask [True, True, True, True, True, True, True, True, True] |
| 484 | next state parse_ethernet val 0 mask [False] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 485 | parent state <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata>_start |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 486 | |
| 487 | ------ |
| 488 | State : parse_pkt_out |
| 489 | shift: 2B |
| 490 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 491 | outputs[addr, width]: ([81, 8], [340, 16]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 492 | match_extractions: [] |
| 493 | next state parse_ethernet val 0 mask [False] |
| 494 | parent state default_parser |
| 495 | |
| 496 | ------ |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 497 | State : <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata>_start |
| 498 | shift: 9B |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 499 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 500 | outputs[addr, width]: ([144, 16], [80, 8]) |
| 501 | branch on = None, offset = 24b, dst = <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata>_start |
| 502 | branch on = None, offset = 168b, dst = <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata>_start |
| 503 | branch promise on = ingress_port, offset = 63b, dst = default_parser |
| 504 | match_extractions: [match_window(hw_id=0, width=16), match_window(hw_id=2, width=8), match_window(hw_id=3, width=8)] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 505 | match key = [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 506 | match key = [8, 9, 10, 11, 12, 13, 14, 15] |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 507 | match key = [0, 1, 2, 3, 4, 5, 6, 7] |
| 508 | next state parse_pkt_in val 0 mask [True, True, True, True, True, True, True, True] |
| 509 | next state default_parser val 0 mask [False] |
| 510 | parent state <Shim start state> |
| 511 | |
| 512 | ------ |
| 513 | State : parse_pkt_in |
| 514 | shift: 2B |
| 515 | match_reservations: [] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 516 | outputs[addr, width]: ([81, 8], [340, 16]) |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 517 | match_extractions: [] |
| 518 | next state parse_ethernet val 0 mask [False] |
Brian O'Connor | a6862e0 | 2017-09-08 01:17:39 -0700 | [diff] [blame] | 519 | parent state <POV initialization>_<Egress intrinsic metadata>_<POV skip>_<_parse_bridged_ingress_intrinsic_metadata>_start |
Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame] | 520 | |