Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2 | "header_types" : [ |
| 3 | { |
| 4 | "name" : "scalars_0", |
| 5 | "id" : 0, |
| 6 | "fields" : [ |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7 | ["tmp", 1, false], |
| 8 | ["tmp_0", 1, false], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9 | ["tmp_1", 32, false], |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 10 | ["tmp_2", 32, false], |
| 11 | ["tmp_3", 32, false], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 12 | ["local_metadata_t.l4_src_port", 16, false], |
| 13 | ["local_metadata_t.l4_dst_port", 16, false], |
| 14 | ["local_metadata_t.next_hop_id", 16, false], |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 15 | ["local_metadata_t.selector", 16, false], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 16 | ["local_metadata_t.compute_checksum", 1, false], |
| 17 | ["_padding_2", 5, false] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 18 | ] |
| 19 | }, |
| 20 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 21 | "name" : "standard_metadata", |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 22 | "id" : 1, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 23 | "fields" : [ |
| 24 | ["ingress_port", 9, false], |
| 25 | ["egress_spec", 9, false], |
| 26 | ["egress_port", 9, false], |
| 27 | ["clone_spec", 32, false], |
| 28 | ["instance_type", 32, false], |
| 29 | ["drop", 1, false], |
| 30 | ["recirculate_port", 16, false], |
| 31 | ["packet_length", 32, false], |
| 32 | ["enq_timestamp", 32, false], |
| 33 | ["enq_qdepth", 19, false], |
| 34 | ["deq_timedelta", 32, false], |
| 35 | ["deq_qdepth", 19, false], |
| 36 | ["ingress_global_timestamp", 48, false], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 37 | ["egress_global_timestamp", 48, false], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 38 | ["lf_field_list", 32, false], |
| 39 | ["mcast_grp", 16, false], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 40 | ["resubmit_flag", 32, false], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 41 | ["egress_rid", 16, false], |
| 42 | ["checksum_error", 1, false], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 43 | ["recirculate_flag", 32, false], |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 44 | ["parser_error", 32, false], |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 45 | ["_padding_0", 5, false] |
| 46 | ] |
| 47 | }, |
| 48 | { |
| 49 | "name" : "packet_out_header_t", |
| 50 | "id" : 2, |
| 51 | "fields" : [ |
| 52 | ["egress_port", 9, false], |
| 53 | ["_padding", 7, false] |
| 54 | ] |
| 55 | }, |
| 56 | { |
| 57 | "name" : "packet_in_header_t", |
| 58 | "id" : 3, |
| 59 | "fields" : [ |
| 60 | ["ingress_port", 9, false], |
| 61 | ["_padding", 7, false] |
| 62 | ] |
| 63 | }, |
| 64 | { |
| 65 | "name" : "ethernet_t", |
| 66 | "id" : 4, |
| 67 | "fields" : [ |
| 68 | ["dst_addr", 48, false], |
| 69 | ["src_addr", 48, false], |
| 70 | ["ether_type", 16, false] |
| 71 | ] |
| 72 | }, |
| 73 | { |
| 74 | "name" : "ipv4_t", |
| 75 | "id" : 5, |
| 76 | "fields" : [ |
| 77 | ["version", 4, false], |
| 78 | ["ihl", 4, false], |
| 79 | ["dscp", 6, false], |
| 80 | ["ecn", 2, false], |
| 81 | ["len", 16, false], |
| 82 | ["identification", 16, false], |
| 83 | ["flags", 3, false], |
| 84 | ["frag_offset", 13, false], |
| 85 | ["ttl", 8, false], |
| 86 | ["protocol", 8, false], |
| 87 | ["hdr_checksum", 16, false], |
| 88 | ["src_addr", 32, false], |
| 89 | ["dst_addr", 32, false] |
| 90 | ] |
| 91 | }, |
| 92 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 93 | "name" : "udp_t", |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 94 | "id" : 6, |
| 95 | "fields" : [ |
| 96 | ["src_port", 16, false], |
| 97 | ["dst_port", 16, false], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 98 | ["length_", 16, false], |
| 99 | ["checksum", 16, false] |
| 100 | ] |
| 101 | }, |
| 102 | { |
| 103 | "name" : "report_fixed_header_t", |
| 104 | "id" : 7, |
| 105 | "fields" : [ |
| 106 | ["ver", 4, false], |
| 107 | ["nproto", 4, false], |
| 108 | ["d", 1, false], |
| 109 | ["q", 1, false], |
| 110 | ["f", 1, false], |
| 111 | ["rsvd", 15, false], |
| 112 | ["hw_id", 6, false], |
| 113 | ["seq_no", 32, false], |
| 114 | ["ingress_tstamp", 32, false] |
| 115 | ] |
| 116 | }, |
| 117 | { |
| 118 | "name" : "drop_report_header_t", |
| 119 | "id" : 8, |
| 120 | "fields" : [ |
| 121 | ["switch_id", 32, false], |
| 122 | ["ingress_port_id", 16, false], |
| 123 | ["egress_port_id", 16, false], |
| 124 | ["queue_id", 8, false], |
| 125 | ["drop_reason", 8, false], |
| 126 | ["pad", 16, false] |
| 127 | ] |
| 128 | }, |
| 129 | { |
| 130 | "name" : "local_report_header_t", |
| 131 | "id" : 9, |
| 132 | "fields" : [ |
| 133 | ["switch_id", 32, false], |
| 134 | ["ingress_port_id", 16, false], |
| 135 | ["egress_port_id", 16, false], |
| 136 | ["queue_id", 8, false], |
| 137 | ["queue_occupancy", 24, false], |
| 138 | ["egress_tstamp", 32, false] |
| 139 | ] |
| 140 | }, |
| 141 | { |
| 142 | "name" : "tcp_t", |
| 143 | "id" : 10, |
| 144 | "fields" : [ |
| 145 | ["src_port", 16, false], |
| 146 | ["dst_port", 16, false], |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 147 | ["seq_no", 32, false], |
| 148 | ["ack_no", 32, false], |
| 149 | ["data_offset", 4, false], |
| 150 | ["res", 3, false], |
| 151 | ["ecn", 3, false], |
| 152 | ["ctrl", 6, false], |
| 153 | ["window", 16, false], |
| 154 | ["checksum", 16, false], |
| 155 | ["urgent_ptr", 16, false] |
| 156 | ] |
| 157 | }, |
| 158 | { |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 159 | "name" : "intl4_shim_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 160 | "id" : 11, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 161 | "fields" : [ |
| 162 | ["int_type", 8, false], |
| 163 | ["rsvd1", 8, false], |
| 164 | ["len", 8, false], |
| 165 | ["rsvd2", 8, false] |
| 166 | ] |
| 167 | }, |
| 168 | { |
| 169 | "name" : "int_header_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 170 | "id" : 12, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 171 | "fields" : [ |
| 172 | ["ver", 2, false], |
| 173 | ["rep", 2, false], |
| 174 | ["c", 1, false], |
| 175 | ["e", 1, false], |
| 176 | ["rsvd1", 5, false], |
| 177 | ["ins_cnt", 5, false], |
| 178 | ["max_hop_cnt", 8, false], |
| 179 | ["total_hop_cnt", 8, false], |
| 180 | ["instruction_mask_0003", 4, false], |
| 181 | ["instruction_mask_0407", 4, false], |
| 182 | ["instruction_mask_0811", 4, false], |
| 183 | ["instruction_mask_1215", 4, false], |
| 184 | ["rsvd2", 16, false] |
| 185 | ] |
| 186 | }, |
| 187 | { |
| 188 | "name" : "int_data_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 189 | "id" : 13, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 190 | "fields" : [ |
| 191 | ["data", "*"] |
| 192 | ], |
| 193 | "max_length" : 1004 |
| 194 | }, |
| 195 | { |
| 196 | "name" : "int_switch_id_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 197 | "id" : 14, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 198 | "fields" : [ |
| 199 | ["switch_id", 32, false] |
| 200 | ] |
| 201 | }, |
| 202 | { |
| 203 | "name" : "int_port_ids_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 204 | "id" : 15, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 205 | "fields" : [ |
| 206 | ["ingress_port_id", 16, false], |
| 207 | ["egress_port_id", 16, false] |
| 208 | ] |
| 209 | }, |
| 210 | { |
| 211 | "name" : "int_hop_latency_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 212 | "id" : 16, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 213 | "fields" : [ |
| 214 | ["hop_latency", 32, false] |
| 215 | ] |
| 216 | }, |
| 217 | { |
| 218 | "name" : "int_q_occupancy_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 219 | "id" : 17, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 220 | "fields" : [ |
| 221 | ["q_id", 8, false], |
| 222 | ["q_occupancy", 24, false] |
| 223 | ] |
| 224 | }, |
| 225 | { |
| 226 | "name" : "int_ingress_tstamp_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 227 | "id" : 18, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 228 | "fields" : [ |
| 229 | ["ingress_tstamp", 32, false] |
| 230 | ] |
| 231 | }, |
| 232 | { |
| 233 | "name" : "int_egress_tstamp_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 234 | "id" : 19, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 235 | "fields" : [ |
| 236 | ["egress_tstamp", 32, false] |
| 237 | ] |
| 238 | }, |
| 239 | { |
| 240 | "name" : "int_q_congestion_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 241 | "id" : 20, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 242 | "fields" : [ |
| 243 | ["q_id", 8, false], |
| 244 | ["q_congestion", 24, false] |
| 245 | ] |
| 246 | }, |
| 247 | { |
| 248 | "name" : "int_egress_port_tx_util_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 249 | "id" : 21, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 250 | "fields" : [ |
| 251 | ["egress_port_tx_util", 32, false] |
| 252 | ] |
| 253 | }, |
| 254 | { |
| 255 | "name" : "intl4_tail_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 256 | "id" : 22, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 257 | "fields" : [ |
| 258 | ["next_proto", 8, false], |
| 259 | ["dest_port", 16, false], |
| 260 | ["dscp", 8, false] |
| 261 | ] |
| 262 | }, |
| 263 | { |
| 264 | "name" : "int_metadata_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 265 | "id" : 23, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 266 | "fields" : [ |
| 267 | ["switch_id", 32, false], |
| 268 | ["insert_byte_cnt", 16, false], |
| 269 | ["source", 1, false], |
| 270 | ["sink", 1, false], |
| 271 | ["mirror_id", 8, false], |
| 272 | ["flow_id", 16, false], |
| 273 | ["metadata_len", 8, false], |
| 274 | ["_padding_1", 6, false] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 275 | ] |
| 276 | } |
| 277 | ], |
| 278 | "headers" : [ |
| 279 | { |
| 280 | "name" : "scalars", |
| 281 | "id" : 0, |
| 282 | "header_type" : "scalars_0", |
| 283 | "metadata" : true, |
| 284 | "pi_omit" : true |
| 285 | }, |
| 286 | { |
| 287 | "name" : "standard_metadata", |
| 288 | "id" : 1, |
| 289 | "header_type" : "standard_metadata", |
| 290 | "metadata" : true, |
| 291 | "pi_omit" : true |
| 292 | }, |
| 293 | { |
| 294 | "name" : "packet_out", |
| 295 | "id" : 2, |
| 296 | "header_type" : "packet_out_header_t", |
| 297 | "metadata" : false, |
| 298 | "pi_omit" : true |
| 299 | }, |
| 300 | { |
| 301 | "name" : "packet_in", |
| 302 | "id" : 3, |
| 303 | "header_type" : "packet_in_header_t", |
| 304 | "metadata" : false, |
| 305 | "pi_omit" : true |
| 306 | }, |
| 307 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 308 | "name" : "report_ethernet", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 309 | "id" : 4, |
| 310 | "header_type" : "ethernet_t", |
| 311 | "metadata" : false, |
| 312 | "pi_omit" : true |
| 313 | }, |
| 314 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 315 | "name" : "report_ipv4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 316 | "id" : 5, |
| 317 | "header_type" : "ipv4_t", |
| 318 | "metadata" : false, |
| 319 | "pi_omit" : true |
| 320 | }, |
| 321 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 322 | "name" : "report_udp", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 323 | "id" : 6, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 324 | "header_type" : "udp_t", |
| 325 | "metadata" : false, |
| 326 | "pi_omit" : true |
| 327 | }, |
| 328 | { |
| 329 | "name" : "report_fixed_header", |
| 330 | "id" : 7, |
| 331 | "header_type" : "report_fixed_header_t", |
| 332 | "metadata" : false, |
| 333 | "pi_omit" : true |
| 334 | }, |
| 335 | { |
| 336 | "name" : "report_local.drop_report_header", |
| 337 | "id" : 8, |
| 338 | "header_type" : "drop_report_header_t", |
| 339 | "metadata" : false, |
| 340 | "pi_omit" : true |
| 341 | }, |
| 342 | { |
| 343 | "name" : "report_local.local_report_header", |
| 344 | "id" : 9, |
| 345 | "header_type" : "local_report_header_t", |
| 346 | "metadata" : false, |
| 347 | "pi_omit" : true |
| 348 | }, |
| 349 | { |
| 350 | "name" : "ethernet", |
| 351 | "id" : 10, |
| 352 | "header_type" : "ethernet_t", |
| 353 | "metadata" : false, |
| 354 | "pi_omit" : true |
| 355 | }, |
| 356 | { |
| 357 | "name" : "ipv4", |
| 358 | "id" : 11, |
| 359 | "header_type" : "ipv4_t", |
| 360 | "metadata" : false, |
| 361 | "pi_omit" : true |
| 362 | }, |
| 363 | { |
| 364 | "name" : "tcp", |
| 365 | "id" : 12, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 366 | "header_type" : "tcp_t", |
| 367 | "metadata" : false, |
| 368 | "pi_omit" : true |
| 369 | }, |
| 370 | { |
| 371 | "name" : "udp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 372 | "id" : 13, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 373 | "header_type" : "udp_t", |
| 374 | "metadata" : false, |
| 375 | "pi_omit" : true |
| 376 | }, |
| 377 | { |
| 378 | "name" : "intl4_shim", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 379 | "id" : 14, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 380 | "header_type" : "intl4_shim_t", |
| 381 | "metadata" : false, |
| 382 | "pi_omit" : true |
| 383 | }, |
| 384 | { |
| 385 | "name" : "int_header", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 386 | "id" : 15, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 387 | "header_type" : "int_header_t", |
| 388 | "metadata" : false, |
| 389 | "pi_omit" : true |
| 390 | }, |
| 391 | { |
| 392 | "name" : "int_data", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 393 | "id" : 16, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 394 | "header_type" : "int_data_t", |
| 395 | "metadata" : false, |
| 396 | "pi_omit" : true |
| 397 | }, |
| 398 | { |
| 399 | "name" : "int_switch_id", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 400 | "id" : 17, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 401 | "header_type" : "int_switch_id_t", |
| 402 | "metadata" : false, |
| 403 | "pi_omit" : true |
| 404 | }, |
| 405 | { |
| 406 | "name" : "int_port_ids", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 407 | "id" : 18, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 408 | "header_type" : "int_port_ids_t", |
| 409 | "metadata" : false, |
| 410 | "pi_omit" : true |
| 411 | }, |
| 412 | { |
| 413 | "name" : "int_hop_latency", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 414 | "id" : 19, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 415 | "header_type" : "int_hop_latency_t", |
| 416 | "metadata" : false, |
| 417 | "pi_omit" : true |
| 418 | }, |
| 419 | { |
| 420 | "name" : "int_q_occupancy", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 421 | "id" : 20, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 422 | "header_type" : "int_q_occupancy_t", |
| 423 | "metadata" : false, |
| 424 | "pi_omit" : true |
| 425 | }, |
| 426 | { |
| 427 | "name" : "int_ingress_tstamp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 428 | "id" : 21, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 429 | "header_type" : "int_ingress_tstamp_t", |
| 430 | "metadata" : false, |
| 431 | "pi_omit" : true |
| 432 | }, |
| 433 | { |
| 434 | "name" : "int_egress_tstamp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 435 | "id" : 22, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 436 | "header_type" : "int_egress_tstamp_t", |
| 437 | "metadata" : false, |
| 438 | "pi_omit" : true |
| 439 | }, |
| 440 | { |
| 441 | "name" : "int_q_congestion", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 442 | "id" : 23, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 443 | "header_type" : "int_q_congestion_t", |
| 444 | "metadata" : false, |
| 445 | "pi_omit" : true |
| 446 | }, |
| 447 | { |
| 448 | "name" : "int_egress_tx_util", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 449 | "id" : 24, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 450 | "header_type" : "int_egress_port_tx_util_t", |
| 451 | "metadata" : false, |
| 452 | "pi_omit" : true |
| 453 | }, |
| 454 | { |
| 455 | "name" : "intl4_tail", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 456 | "id" : 25, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 457 | "header_type" : "intl4_tail_t", |
| 458 | "metadata" : false, |
| 459 | "pi_omit" : true |
| 460 | }, |
| 461 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 462 | "name" : "userMetadata.int_meta", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 463 | "id" : 26, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 464 | "header_type" : "int_metadata_t", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 465 | "metadata" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 466 | "pi_omit" : true |
| 467 | } |
| 468 | ], |
| 469 | "header_stacks" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 470 | "header_union_types" : [ |
| 471 | { |
| 472 | "name" : "local_report_t", |
| 473 | "id" : 0, |
| 474 | "headers" : [ |
| 475 | ["drop_report_header", "drop_report_header_t"], |
| 476 | ["local_report_header", "local_report_header_t"] |
| 477 | ] |
| 478 | } |
| 479 | ], |
| 480 | "header_unions" : [ |
| 481 | { |
| 482 | "name" : "report_local", |
| 483 | "id" : 0, |
| 484 | "union_type" : "local_report_t", |
| 485 | "header_ids" : [8, 9], |
| 486 | "pi_omit" : true |
| 487 | } |
| 488 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 489 | "header_union_stacks" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 490 | "field_lists" : [ |
| 491 | { |
| 492 | "id" : 1, |
| 493 | "name" : "fl", |
| 494 | "elements" : [] |
| 495 | } |
| 496 | ], |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 497 | "errors" : [ |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 498 | ["NoError", 0], |
| 499 | ["PacketTooShort", 1], |
| 500 | ["NoMatch", 2], |
| 501 | ["StackOutOfBounds", 3], |
| 502 | ["HeaderTooShort", 4], |
| 503 | ["ParserTimeout", 5] |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 504 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 505 | "enums" : [], |
| 506 | "parsers" : [ |
| 507 | { |
| 508 | "name" : "parser", |
| 509 | "id" : 0, |
| 510 | "init_state" : "start", |
| 511 | "parse_states" : [ |
| 512 | { |
| 513 | "name" : "start", |
| 514 | "id" : 0, |
| 515 | "parser_ops" : [], |
| 516 | "transitions" : [ |
| 517 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 518 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 519 | "value" : "0x00ff", |
| 520 | "mask" : null, |
| 521 | "next_state" : "parse_packet_out" |
| 522 | }, |
| 523 | { |
| 524 | "value" : "default", |
| 525 | "mask" : null, |
| 526 | "next_state" : "parse_ethernet" |
| 527 | } |
| 528 | ], |
| 529 | "transition_key" : [ |
| 530 | { |
| 531 | "type" : "field", |
| 532 | "value" : ["standard_metadata", "ingress_port"] |
| 533 | } |
| 534 | ] |
| 535 | }, |
| 536 | { |
| 537 | "name" : "parse_packet_out", |
| 538 | "id" : 1, |
| 539 | "parser_ops" : [ |
| 540 | { |
| 541 | "parameters" : [ |
| 542 | { |
| 543 | "type" : "regular", |
| 544 | "value" : "packet_out" |
| 545 | } |
| 546 | ], |
| 547 | "op" : "extract" |
| 548 | } |
| 549 | ], |
| 550 | "transitions" : [ |
| 551 | { |
| 552 | "value" : "default", |
| 553 | "mask" : null, |
| 554 | "next_state" : "parse_ethernet" |
| 555 | } |
| 556 | ], |
| 557 | "transition_key" : [] |
| 558 | }, |
| 559 | { |
| 560 | "name" : "parse_ethernet", |
| 561 | "id" : 2, |
| 562 | "parser_ops" : [ |
| 563 | { |
| 564 | "parameters" : [ |
| 565 | { |
| 566 | "type" : "regular", |
| 567 | "value" : "ethernet" |
| 568 | } |
| 569 | ], |
| 570 | "op" : "extract" |
| 571 | } |
| 572 | ], |
| 573 | "transitions" : [ |
| 574 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 575 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 576 | "value" : "0x0800", |
| 577 | "mask" : null, |
| 578 | "next_state" : "parse_ipv4" |
| 579 | }, |
| 580 | { |
| 581 | "value" : "default", |
| 582 | "mask" : null, |
| 583 | "next_state" : null |
| 584 | } |
| 585 | ], |
| 586 | "transition_key" : [ |
| 587 | { |
| 588 | "type" : "field", |
| 589 | "value" : ["ethernet", "ether_type"] |
| 590 | } |
| 591 | ] |
| 592 | }, |
| 593 | { |
| 594 | "name" : "parse_ipv4", |
| 595 | "id" : 3, |
| 596 | "parser_ops" : [ |
| 597 | { |
| 598 | "parameters" : [ |
| 599 | { |
| 600 | "type" : "regular", |
| 601 | "value" : "ipv4" |
| 602 | } |
| 603 | ], |
| 604 | "op" : "extract" |
| 605 | } |
| 606 | ], |
| 607 | "transitions" : [ |
| 608 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 609 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 610 | "value" : "0x06", |
| 611 | "mask" : null, |
| 612 | "next_state" : "parse_tcp" |
| 613 | }, |
| 614 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 615 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 616 | "value" : "0x11", |
| 617 | "mask" : null, |
| 618 | "next_state" : "parse_udp" |
| 619 | }, |
| 620 | { |
| 621 | "value" : "default", |
| 622 | "mask" : null, |
| 623 | "next_state" : null |
| 624 | } |
| 625 | ], |
| 626 | "transition_key" : [ |
| 627 | { |
| 628 | "type" : "field", |
| 629 | "value" : ["ipv4", "protocol"] |
| 630 | } |
| 631 | ] |
| 632 | }, |
| 633 | { |
| 634 | "name" : "parse_tcp", |
| 635 | "id" : 4, |
| 636 | "parser_ops" : [ |
| 637 | { |
| 638 | "parameters" : [ |
| 639 | { |
| 640 | "type" : "regular", |
| 641 | "value" : "tcp" |
| 642 | } |
| 643 | ], |
| 644 | "op" : "extract" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 645 | }, |
| 646 | { |
| 647 | "parameters" : [ |
| 648 | { |
| 649 | "type" : "field", |
| 650 | "value" : ["scalars", "local_metadata_t.l4_src_port"] |
| 651 | }, |
| 652 | { |
| 653 | "type" : "field", |
| 654 | "value" : ["tcp", "src_port"] |
| 655 | } |
| 656 | ], |
| 657 | "op" : "set" |
| 658 | }, |
| 659 | { |
| 660 | "parameters" : [ |
| 661 | { |
| 662 | "type" : "field", |
| 663 | "value" : ["scalars", "local_metadata_t.l4_dst_port"] |
| 664 | }, |
| 665 | { |
| 666 | "type" : "field", |
| 667 | "value" : ["tcp", "dst_port"] |
| 668 | } |
| 669 | ], |
| 670 | "op" : "set" |
| 671 | }, |
| 672 | { |
| 673 | "parameters" : [ |
| 674 | { |
| 675 | "type" : "field", |
| 676 | "value" : ["scalars", "tmp"] |
| 677 | }, |
| 678 | { |
| 679 | "type" : "expression", |
| 680 | "value" : { |
| 681 | "type" : "expression", |
| 682 | "value" : { |
| 683 | "op" : "?", |
| 684 | "left" : { |
| 685 | "type" : "hexstr", |
| 686 | "value" : "0x01" |
| 687 | }, |
| 688 | "right" : { |
| 689 | "type" : "hexstr", |
| 690 | "value" : "0x00" |
| 691 | }, |
| 692 | "cond" : { |
| 693 | "type" : "expression", |
| 694 | "value" : { |
| 695 | "op" : "==", |
| 696 | "left" : { |
| 697 | "type" : "expression", |
| 698 | "value" : { |
| 699 | "op" : "&", |
| 700 | "left" : { |
| 701 | "type" : "field", |
| 702 | "value" : ["ipv4", "dscp"] |
| 703 | }, |
| 704 | "right" : { |
| 705 | "type" : "hexstr", |
| 706 | "value" : "0x01" |
| 707 | } |
| 708 | } |
| 709 | }, |
| 710 | "right" : { |
| 711 | "type" : "hexstr", |
| 712 | "value" : "0x01" |
| 713 | } |
| 714 | } |
| 715 | } |
| 716 | } |
| 717 | } |
| 718 | } |
| 719 | ], |
| 720 | "op" : "set" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 721 | } |
| 722 | ], |
| 723 | "transitions" : [ |
| 724 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 725 | "type" : "hexstr", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 726 | "value" : "0x01", |
| 727 | "mask" : null, |
| 728 | "next_state" : "parse_intl4_shim" |
| 729 | }, |
| 730 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 731 | "value" : "default", |
| 732 | "mask" : null, |
| 733 | "next_state" : null |
| 734 | } |
| 735 | ], |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 736 | "transition_key" : [ |
| 737 | { |
| 738 | "type" : "field", |
| 739 | "value" : ["scalars", "tmp"] |
| 740 | } |
| 741 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 742 | }, |
| 743 | { |
| 744 | "name" : "parse_udp", |
| 745 | "id" : 5, |
| 746 | "parser_ops" : [ |
| 747 | { |
| 748 | "parameters" : [ |
| 749 | { |
| 750 | "type" : "regular", |
| 751 | "value" : "udp" |
| 752 | } |
| 753 | ], |
| 754 | "op" : "extract" |
| 755 | }, |
| 756 | { |
| 757 | "parameters" : [ |
| 758 | { |
| 759 | "type" : "field", |
| 760 | "value" : ["scalars", "local_metadata_t.l4_src_port"] |
| 761 | }, |
| 762 | { |
| 763 | "type" : "field", |
| 764 | "value" : ["udp", "src_port"] |
| 765 | } |
| 766 | ], |
| 767 | "op" : "set" |
| 768 | }, |
| 769 | { |
| 770 | "parameters" : [ |
| 771 | { |
| 772 | "type" : "field", |
| 773 | "value" : ["scalars", "local_metadata_t.l4_dst_port"] |
| 774 | }, |
| 775 | { |
| 776 | "type" : "field", |
| 777 | "value" : ["udp", "dst_port"] |
| 778 | } |
| 779 | ], |
| 780 | "op" : "set" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 781 | }, |
| 782 | { |
| 783 | "parameters" : [ |
| 784 | { |
| 785 | "type" : "field", |
| 786 | "value" : ["scalars", "tmp_0"] |
| 787 | }, |
| 788 | { |
| 789 | "type" : "expression", |
| 790 | "value" : { |
| 791 | "type" : "expression", |
| 792 | "value" : { |
| 793 | "op" : "?", |
| 794 | "left" : { |
| 795 | "type" : "hexstr", |
| 796 | "value" : "0x01" |
| 797 | }, |
| 798 | "right" : { |
| 799 | "type" : "hexstr", |
| 800 | "value" : "0x00" |
| 801 | }, |
| 802 | "cond" : { |
| 803 | "type" : "expression", |
| 804 | "value" : { |
| 805 | "op" : "==", |
| 806 | "left" : { |
| 807 | "type" : "expression", |
| 808 | "value" : { |
| 809 | "op" : "&", |
| 810 | "left" : { |
| 811 | "type" : "field", |
| 812 | "value" : ["ipv4", "dscp"] |
| 813 | }, |
| 814 | "right" : { |
| 815 | "type" : "hexstr", |
| 816 | "value" : "0x01" |
| 817 | } |
| 818 | } |
| 819 | }, |
| 820 | "right" : { |
| 821 | "type" : "hexstr", |
| 822 | "value" : "0x01" |
| 823 | } |
| 824 | } |
| 825 | } |
| 826 | } |
| 827 | } |
| 828 | } |
| 829 | ], |
| 830 | "op" : "set" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 831 | } |
| 832 | ], |
| 833 | "transitions" : [ |
| 834 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 835 | "type" : "hexstr", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 836 | "value" : "0x01", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 837 | "mask" : null, |
| 838 | "next_state" : "parse_intl4_shim" |
| 839 | }, |
| 840 | { |
| 841 | "value" : "default", |
| 842 | "mask" : null, |
| 843 | "next_state" : null |
| 844 | } |
| 845 | ], |
| 846 | "transition_key" : [ |
| 847 | { |
| 848 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 849 | "value" : ["scalars", "tmp_0"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 850 | } |
| 851 | ] |
| 852 | }, |
| 853 | { |
| 854 | "name" : "parse_intl4_shim", |
| 855 | "id" : 6, |
| 856 | "parser_ops" : [ |
| 857 | { |
| 858 | "parameters" : [ |
| 859 | { |
| 860 | "type" : "regular", |
| 861 | "value" : "intl4_shim" |
| 862 | } |
| 863 | ], |
| 864 | "op" : "extract" |
| 865 | }, |
| 866 | { |
| 867 | "parameters" : [ |
| 868 | { |
| 869 | "type" : "regular", |
| 870 | "value" : "int_header" |
| 871 | } |
| 872 | ], |
| 873 | "op" : "extract" |
| 874 | }, |
| 875 | { |
| 876 | "parameters" : [ |
| 877 | { |
| 878 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 879 | "value" : ["userMetadata.int_meta", "metadata_len"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 880 | }, |
| 881 | { |
| 882 | "type" : "expression", |
| 883 | "value" : { |
| 884 | "type" : "expression", |
| 885 | "value" : { |
| 886 | "op" : "&", |
| 887 | "left" : { |
| 888 | "type" : "expression", |
| 889 | "value" : { |
| 890 | "op" : "+", |
| 891 | "left" : { |
| 892 | "type" : "field", |
| 893 | "value" : ["intl4_shim", "len"] |
| 894 | }, |
| 895 | "right" : { |
| 896 | "type" : "hexstr", |
| 897 | "value" : "0xfc" |
| 898 | } |
| 899 | } |
| 900 | }, |
| 901 | "right" : { |
| 902 | "type" : "hexstr", |
| 903 | "value" : "0xff" |
| 904 | } |
| 905 | } |
| 906 | } |
| 907 | } |
| 908 | ], |
| 909 | "op" : "set" |
| 910 | } |
| 911 | ], |
| 912 | "transitions" : [ |
| 913 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 914 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 915 | "value" : "0x00", |
| 916 | "mask" : null, |
| 917 | "next_state" : "parse_intl4_tail" |
| 918 | }, |
| 919 | { |
| 920 | "value" : "default", |
| 921 | "mask" : null, |
| 922 | "next_state" : "parse_int_data" |
| 923 | } |
| 924 | ], |
| 925 | "transition_key" : [ |
| 926 | { |
| 927 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 928 | "value" : ["userMetadata.int_meta", "metadata_len"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 929 | } |
| 930 | ] |
| 931 | }, |
| 932 | { |
| 933 | "name" : "parse_int_data", |
| 934 | "id" : 7, |
| 935 | "parser_ops" : [ |
| 936 | { |
| 937 | "parameters" : [ |
| 938 | { |
| 939 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 940 | "value" : ["scalars", "tmp_1"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 941 | }, |
| 942 | { |
| 943 | "type" : "expression", |
| 944 | "value" : { |
| 945 | "type" : "expression", |
| 946 | "value" : { |
| 947 | "op" : "&", |
| 948 | "left" : { |
| 949 | "type" : "expression", |
| 950 | "value" : { |
| 951 | "op" : "&", |
| 952 | "left" : { |
| 953 | "type" : "expression", |
| 954 | "value" : { |
| 955 | "op" : "<<", |
| 956 | "left" : { |
| 957 | "type" : "expression", |
| 958 | "value" : { |
| 959 | "op" : "&", |
| 960 | "left" : { |
| 961 | "type" : "expression", |
| 962 | "value" : { |
| 963 | "op" : "+", |
| 964 | "left" : { |
| 965 | "type" : "field", |
| 966 | "value" : ["intl4_shim", "len"] |
| 967 | }, |
| 968 | "right" : { |
| 969 | "type" : "hexstr", |
| 970 | "value" : "0xfc" |
| 971 | } |
| 972 | } |
| 973 | }, |
| 974 | "right" : { |
| 975 | "type" : "hexstr", |
| 976 | "value" : "0xff" |
| 977 | } |
| 978 | } |
| 979 | }, |
| 980 | "right" : { |
| 981 | "type" : "hexstr", |
| 982 | "value" : "0x5" |
| 983 | } |
| 984 | } |
| 985 | }, |
| 986 | "right" : { |
| 987 | "type" : "hexstr", |
| 988 | "value" : "0xff" |
| 989 | } |
| 990 | } |
| 991 | }, |
| 992 | "right" : { |
| 993 | "type" : "hexstr", |
| 994 | "value" : "0xffffffff" |
| 995 | } |
| 996 | } |
| 997 | } |
| 998 | } |
| 999 | ], |
| 1000 | "op" : "set" |
| 1001 | }, |
| 1002 | { |
| 1003 | "parameters" : [ |
| 1004 | { |
| 1005 | "type" : "regular", |
| 1006 | "value" : "int_data" |
| 1007 | }, |
| 1008 | { |
| 1009 | "type" : "expression", |
| 1010 | "value" : { |
| 1011 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1012 | "value" : ["scalars", "tmp_1"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1013 | } |
| 1014 | } |
| 1015 | ], |
| 1016 | "op" : "extract_VL" |
| 1017 | } |
| 1018 | ], |
| 1019 | "transitions" : [ |
| 1020 | { |
| 1021 | "value" : "default", |
| 1022 | "mask" : null, |
| 1023 | "next_state" : "parse_intl4_tail" |
| 1024 | } |
| 1025 | ], |
| 1026 | "transition_key" : [] |
| 1027 | }, |
| 1028 | { |
| 1029 | "name" : "parse_intl4_tail", |
| 1030 | "id" : 8, |
| 1031 | "parser_ops" : [ |
| 1032 | { |
| 1033 | "parameters" : [ |
| 1034 | { |
| 1035 | "type" : "regular", |
| 1036 | "value" : "intl4_tail" |
| 1037 | } |
| 1038 | ], |
| 1039 | "op" : "extract" |
| 1040 | } |
| 1041 | ], |
| 1042 | "transitions" : [ |
| 1043 | { |
| 1044 | "value" : "default", |
| 1045 | "mask" : null, |
| 1046 | "next_state" : null |
| 1047 | } |
| 1048 | ], |
| 1049 | "transition_key" : [] |
| 1050 | } |
| 1051 | ] |
| 1052 | } |
| 1053 | ], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1054 | "parse_vsets" : [], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1055 | "deparsers" : [ |
| 1056 | { |
| 1057 | "name" : "deparser", |
| 1058 | "id" : 0, |
| 1059 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1060 | "filename" : "include/int_parser.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1061 | "line" : 104, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1062 | "column" : 8, |
| 1063 | "source_fragment" : "int_deparser" |
| 1064 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1065 | "order" : ["packet_in", "report_ethernet", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "ipv4", "tcp", "udp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1066 | } |
| 1067 | ], |
| 1068 | "meter_arrays" : [], |
| 1069 | "counter_arrays" : [ |
| 1070 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1071 | "name" : "ingress.port_counters_ingress.ingress_port_counter", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1072 | "id" : 0, |
| 1073 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1074 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1075 | "line" : 26, |
| 1076 | "column" : 38, |
| 1077 | "source_fragment" : "ingress_port_counter" |
| 1078 | }, |
| 1079 | "size" : 511, |
| 1080 | "is_direct" : false |
| 1081 | }, |
| 1082 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1083 | "name" : "ingress.table0_control.table0_counter", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1084 | "id" : 1, |
| 1085 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1086 | "binding" : "ingress.table0_control.table0", |
| 1087 | "source_info" : { |
| 1088 | "filename" : "include/table0.p4", |
| 1089 | "line" : 27, |
| 1090 | "column" : 50, |
| 1091 | "source_fragment" : "table0_counter" |
| 1092 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1093 | }, |
| 1094 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1095 | "name" : "ingress.process_set_source_sink.counter_set_source", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1096 | "id" : 2, |
| 1097 | "is_direct" : true, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1098 | "binding" : "ingress.process_set_source_sink.tb_set_source", |
| 1099 | "source_info" : { |
| 1100 | "filename" : "include/int_source.p4", |
| 1101 | "line" : 90, |
| 1102 | "column" : 50, |
| 1103 | "source_fragment" : "counter_set_source" |
| 1104 | } |
| 1105 | }, |
| 1106 | { |
| 1107 | "name" : "ingress.process_set_source_sink.counter_set_sink", |
| 1108 | "id" : 3, |
| 1109 | "is_direct" : true, |
| 1110 | "binding" : "ingress.process_set_source_sink.tb_set_sink", |
| 1111 | "source_info" : { |
| 1112 | "filename" : "include/int_source.p4", |
| 1113 | "line" : 91, |
| 1114 | "column" : 50, |
| 1115 | "source_fragment" : "counter_set_sink" |
| 1116 | } |
| 1117 | }, |
| 1118 | { |
| 1119 | "name" : "egress.process_set_source_sink.counter_set_source", |
| 1120 | "id" : 4, |
| 1121 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1122 | "binding" : "egress.process_set_source_sink.tb_set_source", |
| 1123 | "source_info" : { |
| 1124 | "filename" : "include/int_source.p4", |
| 1125 | "line" : 90, |
| 1126 | "column" : 50, |
| 1127 | "source_fragment" : "counter_set_source" |
| 1128 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1129 | }, |
| 1130 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1131 | "name" : "egress.process_set_source_sink.counter_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1132 | "id" : 5, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1133 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1134 | "binding" : "egress.process_set_source_sink.tb_set_sink", |
| 1135 | "source_info" : { |
| 1136 | "filename" : "include/int_source.p4", |
| 1137 | "line" : 91, |
| 1138 | "column" : 50, |
| 1139 | "source_fragment" : "counter_set_sink" |
| 1140 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1141 | }, |
| 1142 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1143 | "name" : "egress.process_int_source.counter_int_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1144 | "id" : 6, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1145 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1146 | "binding" : "egress.process_int_source.tb_int_source", |
| 1147 | "source_info" : { |
| 1148 | "filename" : "include/int_source.p4", |
| 1149 | "line" : 27, |
| 1150 | "column" : 50, |
| 1151 | "source_fragment" : "counter_int_source" |
| 1152 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1153 | }, |
| 1154 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1155 | "name" : "egress.process_int_transit.counter_int_insert", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1156 | "id" : 7, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1157 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1158 | "binding" : "egress.process_int_transit.tb_int_insert", |
| 1159 | "source_info" : { |
| 1160 | "filename" : "include/int_transit.p4", |
| 1161 | "line" : 25, |
| 1162 | "column" : 50, |
| 1163 | "source_fragment" : "counter_int_insert" |
| 1164 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1165 | }, |
| 1166 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1167 | "name" : "egress.process_int_transit.counter_int_inst_0003", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1168 | "id" : 8, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1169 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1170 | "binding" : "egress.process_int_transit.tb_int_inst_0003", |
| 1171 | "source_info" : { |
| 1172 | "filename" : "include/int_transit.p4", |
| 1173 | "line" : 26, |
| 1174 | "column" : 50, |
| 1175 | "source_fragment" : "counter_int_inst_0003" |
| 1176 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1177 | }, |
| 1178 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1179 | "name" : "egress.process_int_transit.counter_int_inst_0407", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1180 | "id" : 9, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1181 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1182 | "binding" : "egress.process_int_transit.tb_int_inst_0407", |
| 1183 | "source_info" : { |
| 1184 | "filename" : "include/int_transit.p4", |
| 1185 | "line" : 27, |
| 1186 | "column" : 50, |
| 1187 | "source_fragment" : "counter_int_inst_0407" |
| 1188 | } |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1189 | }, |
| 1190 | { |
| 1191 | "name" : "egress.port_counters_egress.egress_port_counter", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1192 | "id" : 10, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1193 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1194 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1195 | "line" : 36, |
| 1196 | "column" : 38, |
| 1197 | "source_fragment" : "egress_port_counter" |
| 1198 | }, |
| 1199 | "size" : 511, |
| 1200 | "is_direct" : false |
| 1201 | } |
| 1202 | ], |
| 1203 | "register_arrays" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1204 | "calculations" : [ |
| 1205 | { |
| 1206 | "name" : "calc", |
| 1207 | "id" : 0, |
| 1208 | "source_info" : { |
| 1209 | "filename" : "include/checksums.p4", |
| 1210 | "line" : 32, |
| 1211 | "column" : 8, |
| 1212 | "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..." |
| 1213 | }, |
| 1214 | "algo" : "csum16", |
| 1215 | "input" : [ |
| 1216 | { |
| 1217 | "type" : "field", |
| 1218 | "value" : ["ipv4", "version"] |
| 1219 | }, |
| 1220 | { |
| 1221 | "type" : "field", |
| 1222 | "value" : ["ipv4", "ihl"] |
| 1223 | }, |
| 1224 | { |
| 1225 | "type" : "field", |
| 1226 | "value" : ["ipv4", "dscp"] |
| 1227 | }, |
| 1228 | { |
| 1229 | "type" : "field", |
| 1230 | "value" : ["ipv4", "ecn"] |
| 1231 | }, |
| 1232 | { |
| 1233 | "type" : "field", |
| 1234 | "value" : ["ipv4", "len"] |
| 1235 | }, |
| 1236 | { |
| 1237 | "type" : "field", |
| 1238 | "value" : ["ipv4", "identification"] |
| 1239 | }, |
| 1240 | { |
| 1241 | "type" : "field", |
| 1242 | "value" : ["ipv4", "flags"] |
| 1243 | }, |
| 1244 | { |
| 1245 | "type" : "field", |
| 1246 | "value" : ["ipv4", "frag_offset"] |
| 1247 | }, |
| 1248 | { |
| 1249 | "type" : "field", |
| 1250 | "value" : ["ipv4", "ttl"] |
| 1251 | }, |
| 1252 | { |
| 1253 | "type" : "field", |
| 1254 | "value" : ["ipv4", "protocol"] |
| 1255 | }, |
| 1256 | { |
| 1257 | "type" : "field", |
| 1258 | "value" : ["ipv4", "src_addr"] |
| 1259 | }, |
| 1260 | { |
| 1261 | "type" : "field", |
| 1262 | "value" : ["ipv4", "dst_addr"] |
| 1263 | } |
| 1264 | ] |
| 1265 | }, |
| 1266 | { |
| 1267 | "name" : "calc_0", |
| 1268 | "id" : 1, |
| 1269 | "source_info" : { |
| 1270 | "filename" : "include/checksums.p4", |
| 1271 | "line" : 54, |
| 1272 | "column" : 8, |
| 1273 | "source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..." |
| 1274 | }, |
| 1275 | "algo" : "csum16", |
| 1276 | "input" : [ |
| 1277 | { |
| 1278 | "type" : "field", |
| 1279 | "value" : ["report_ipv4", "version"] |
| 1280 | }, |
| 1281 | { |
| 1282 | "type" : "field", |
| 1283 | "value" : ["report_ipv4", "ihl"] |
| 1284 | }, |
| 1285 | { |
| 1286 | "type" : "field", |
| 1287 | "value" : ["report_ipv4", "dscp"] |
| 1288 | }, |
| 1289 | { |
| 1290 | "type" : "field", |
| 1291 | "value" : ["report_ipv4", "ecn"] |
| 1292 | }, |
| 1293 | { |
| 1294 | "type" : "field", |
| 1295 | "value" : ["report_ipv4", "len"] |
| 1296 | }, |
| 1297 | { |
| 1298 | "type" : "field", |
| 1299 | "value" : ["report_ipv4", "identification"] |
| 1300 | }, |
| 1301 | { |
| 1302 | "type" : "field", |
| 1303 | "value" : ["report_ipv4", "flags"] |
| 1304 | }, |
| 1305 | { |
| 1306 | "type" : "field", |
| 1307 | "value" : ["report_ipv4", "frag_offset"] |
| 1308 | }, |
| 1309 | { |
| 1310 | "type" : "field", |
| 1311 | "value" : ["report_ipv4", "ttl"] |
| 1312 | }, |
| 1313 | { |
| 1314 | "type" : "field", |
| 1315 | "value" : ["report_ipv4", "protocol"] |
| 1316 | }, |
| 1317 | { |
| 1318 | "type" : "field", |
| 1319 | "value" : ["report_ipv4", "src_addr"] |
| 1320 | }, |
| 1321 | { |
| 1322 | "type" : "field", |
| 1323 | "value" : ["report_ipv4", "dst_addr"] |
| 1324 | } |
| 1325 | ] |
| 1326 | } |
| 1327 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1328 | "learn_lists" : [], |
| 1329 | "actions" : [ |
| 1330 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1331 | "name" : "_drop", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1332 | "id" : 0, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1333 | "runtime_data" : [], |
| 1334 | "primitives" : [ |
| 1335 | { |
| 1336 | "op" : "drop", |
| 1337 | "parameters" : [], |
| 1338 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1339 | "filename" : "include/actions.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1340 | "line" : 24, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1341 | "column" : 4, |
| 1342 | "source_fragment" : "mark_to_drop()" |
| 1343 | } |
| 1344 | } |
| 1345 | ] |
| 1346 | }, |
| 1347 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1348 | "name" : "NoAction", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1349 | "id" : 1, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1350 | "runtime_data" : [], |
| 1351 | "primitives" : [] |
| 1352 | }, |
| 1353 | { |
| 1354 | "name" : "NoAction", |
| 1355 | "id" : 2, |
| 1356 | "runtime_data" : [], |
| 1357 | "primitives" : [] |
| 1358 | }, |
| 1359 | { |
| 1360 | "name" : "ingress.table0_control.set_next_hop_id", |
| 1361 | "id" : 3, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1362 | "runtime_data" : [ |
| 1363 | { |
| 1364 | "name" : "next_hop_id", |
| 1365 | "bitwidth" : 16 |
| 1366 | } |
| 1367 | ], |
| 1368 | "primitives" : [ |
| 1369 | { |
| 1370 | "op" : "assign", |
| 1371 | "parameters" : [ |
| 1372 | { |
| 1373 | "type" : "field", |
| 1374 | "value" : ["scalars", "local_metadata_t.next_hop_id"] |
| 1375 | }, |
| 1376 | { |
| 1377 | "type" : "runtime_data", |
| 1378 | "value" : 0 |
| 1379 | } |
| 1380 | ], |
| 1381 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1382 | "filename" : "include/table0.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1383 | "line" : 30, |
| 1384 | "column" : 8, |
| 1385 | "source_fragment" : "local_metadata.next_hop_id = next_hop_id" |
| 1386 | } |
| 1387 | } |
| 1388 | ] |
| 1389 | }, |
| 1390 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1391 | "name" : "ingress.table0_control.send_to_cpu", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1392 | "id" : 4, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1393 | "runtime_data" : [], |
| 1394 | "primitives" : [ |
| 1395 | { |
| 1396 | "op" : "assign", |
| 1397 | "parameters" : [ |
| 1398 | { |
| 1399 | "type" : "field", |
| 1400 | "value" : ["standard_metadata", "egress_spec"] |
| 1401 | }, |
| 1402 | { |
| 1403 | "type" : "hexstr", |
| 1404 | "value" : "0x00ff" |
| 1405 | } |
| 1406 | ], |
| 1407 | "source_info" : { |
| 1408 | "filename" : "include/defines.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1409 | "line" : 34, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1410 | "column" : 24, |
| 1411 | "source_fragment" : "255; ..." |
| 1412 | } |
| 1413 | } |
| 1414 | ] |
| 1415 | }, |
| 1416 | { |
| 1417 | "name" : "ingress.table0_control.set_egress_port", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1418 | "id" : 5, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1419 | "runtime_data" : [ |
| 1420 | { |
| 1421 | "name" : "port", |
| 1422 | "bitwidth" : 9 |
| 1423 | } |
| 1424 | ], |
| 1425 | "primitives" : [ |
| 1426 | { |
| 1427 | "op" : "assign", |
| 1428 | "parameters" : [ |
| 1429 | { |
| 1430 | "type" : "field", |
| 1431 | "value" : ["standard_metadata", "egress_spec"] |
| 1432 | }, |
| 1433 | { |
| 1434 | "type" : "runtime_data", |
| 1435 | "value" : 0 |
| 1436 | } |
| 1437 | ], |
| 1438 | "source_info" : { |
| 1439 | "filename" : "include/table0.p4", |
| 1440 | "line" : 38, |
| 1441 | "column" : 8, |
| 1442 | "source_fragment" : "standard_metadata.egress_spec = port" |
| 1443 | } |
| 1444 | } |
| 1445 | ] |
| 1446 | }, |
| 1447 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1448 | "name" : "ingress.process_set_source_sink.int_set_source", |
| 1449 | "id" : 6, |
| 1450 | "runtime_data" : [], |
| 1451 | "primitives" : [ |
| 1452 | { |
| 1453 | "op" : "assign", |
| 1454 | "parameters" : [ |
| 1455 | { |
| 1456 | "type" : "field", |
| 1457 | "value" : ["userMetadata.int_meta", "source"] |
| 1458 | }, |
| 1459 | { |
| 1460 | "type" : "hexstr", |
| 1461 | "value" : "0x01" |
| 1462 | } |
| 1463 | ], |
| 1464 | "source_info" : { |
| 1465 | "filename" : "include/int_source.p4", |
| 1466 | "line" : 94, |
| 1467 | "column" : 8, |
| 1468 | "source_fragment" : "local_metadata.int_meta.source = 1" |
| 1469 | } |
| 1470 | } |
| 1471 | ] |
| 1472 | }, |
| 1473 | { |
| 1474 | "name" : "ingress.process_set_source_sink.int_set_sink", |
| 1475 | "id" : 7, |
| 1476 | "runtime_data" : [], |
| 1477 | "primitives" : [ |
| 1478 | { |
| 1479 | "op" : "assign", |
| 1480 | "parameters" : [ |
| 1481 | { |
| 1482 | "type" : "field", |
| 1483 | "value" : ["userMetadata.int_meta", "sink"] |
| 1484 | }, |
| 1485 | { |
| 1486 | "type" : "hexstr", |
| 1487 | "value" : "0x01" |
| 1488 | } |
| 1489 | ], |
| 1490 | "source_info" : { |
| 1491 | "filename" : "include/int_source.p4", |
| 1492 | "line" : 98, |
| 1493 | "column" : 8, |
| 1494 | "source_fragment" : "local_metadata.int_meta.sink = 1" |
| 1495 | } |
| 1496 | } |
| 1497 | ] |
| 1498 | }, |
| 1499 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1500 | "name" : "act", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1501 | "id" : 8, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1502 | "runtime_data" : [], |
| 1503 | "primitives" : [ |
| 1504 | { |
| 1505 | "op" : "assign", |
| 1506 | "parameters" : [ |
| 1507 | { |
| 1508 | "type" : "field", |
| 1509 | "value" : ["standard_metadata", "egress_spec"] |
| 1510 | }, |
| 1511 | { |
| 1512 | "type" : "field", |
| 1513 | "value" : ["packet_out", "egress_port"] |
| 1514 | } |
| 1515 | ], |
| 1516 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1517 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1518 | "line" : 27, |
| 1519 | "column" : 12, |
| 1520 | "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port" |
| 1521 | } |
| 1522 | }, |
| 1523 | { |
| 1524 | "op" : "remove_header", |
| 1525 | "parameters" : [ |
| 1526 | { |
| 1527 | "type" : "header", |
| 1528 | "value" : "packet_out" |
| 1529 | } |
| 1530 | ], |
| 1531 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1532 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1533 | "line" : 28, |
| 1534 | "column" : 12, |
| 1535 | "source_fragment" : "hdr.packet_out.setInvalid()" |
| 1536 | } |
| 1537 | } |
| 1538 | ] |
| 1539 | }, |
| 1540 | { |
| 1541 | "name" : "act_0", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1542 | "id" : 9, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1543 | "runtime_data" : [], |
| 1544 | "primitives" : [ |
| 1545 | { |
| 1546 | "op" : "assign", |
| 1547 | "parameters" : [ |
| 1548 | { |
| 1549 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1550 | "value" : ["scalars", "tmp_2"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1551 | }, |
| 1552 | { |
| 1553 | "type" : "expression", |
| 1554 | "value" : { |
| 1555 | "type" : "expression", |
| 1556 | "value" : { |
| 1557 | "op" : "&", |
| 1558 | "left" : { |
| 1559 | "type" : "field", |
| 1560 | "value" : ["standard_metadata", "ingress_port"] |
| 1561 | }, |
| 1562 | "right" : { |
| 1563 | "type" : "hexstr", |
| 1564 | "value" : "0xffffffff" |
| 1565 | } |
| 1566 | } |
| 1567 | } |
| 1568 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 1569 | ], |
| 1570 | "source_info" : { |
| 1571 | "filename" : "include/port_counters.p4", |
| 1572 | "line" : 29, |
| 1573 | "column" : 35, |
| 1574 | "source_fragment" : "(bit<32>) standard_metadata.ingress_port" |
| 1575 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1576 | }, |
| 1577 | { |
| 1578 | "op" : "count", |
| 1579 | "parameters" : [ |
| 1580 | { |
| 1581 | "type" : "counter_array", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1582 | "value" : "ingress.port_counters_ingress.ingress_port_counter" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1583 | }, |
| 1584 | { |
| 1585 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1586 | "value" : ["scalars", "tmp_2"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1587 | } |
| 1588 | ], |
| 1589 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1590 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1591 | "line" : 29, |
| 1592 | "column" : 8, |
| 1593 | "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)" |
| 1594 | } |
| 1595 | } |
| 1596 | ] |
| 1597 | }, |
| 1598 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1599 | "name" : "act_1", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1600 | "id" : 10, |
| 1601 | "runtime_data" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1602 | "primitives" : [ |
| 1603 | { |
| 1604 | "op" : "clone_ingress_pkt_to_egress", |
| 1605 | "parameters" : [ |
| 1606 | { |
| 1607 | "type" : "hexstr", |
| 1608 | "value" : "0x000001f4" |
| 1609 | }, |
| 1610 | { |
| 1611 | "type" : "hexstr", |
| 1612 | "value" : "0x1" |
| 1613 | } |
| 1614 | ], |
| 1615 | "source_info" : { |
| 1616 | "filename" : "int.p4", |
| 1617 | "line" : 51, |
| 1618 | "column" : 12, |
| 1619 | "source_fragment" : "clone(CloneType.I2E, REPORT_MIRROR_SESSION_ID)" |
| 1620 | } |
| 1621 | } |
| 1622 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1623 | }, |
| 1624 | { |
| 1625 | "name" : "NoAction", |
| 1626 | "id" : 11, |
| 1627 | "runtime_data" : [], |
| 1628 | "primitives" : [] |
| 1629 | }, |
| 1630 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1631 | "name" : "NoAction", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1632 | "id" : 12, |
| 1633 | "runtime_data" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1634 | "primitives" : [] |
| 1635 | }, |
| 1636 | { |
| 1637 | "name" : "NoAction", |
| 1638 | "id" : 13, |
| 1639 | "runtime_data" : [], |
| 1640 | "primitives" : [] |
| 1641 | }, |
| 1642 | { |
| 1643 | "name" : "NoAction", |
| 1644 | "id" : 14, |
| 1645 | "runtime_data" : [], |
| 1646 | "primitives" : [] |
| 1647 | }, |
| 1648 | { |
| 1649 | "name" : "NoAction", |
| 1650 | "id" : 15, |
| 1651 | "runtime_data" : [], |
| 1652 | "primitives" : [] |
| 1653 | }, |
| 1654 | { |
| 1655 | "name" : "NoAction", |
| 1656 | "id" : 16, |
| 1657 | "runtime_data" : [], |
| 1658 | "primitives" : [] |
| 1659 | }, |
| 1660 | { |
| 1661 | "name" : "NoAction", |
| 1662 | "id" : 17, |
| 1663 | "runtime_data" : [], |
| 1664 | "primitives" : [] |
| 1665 | }, |
| 1666 | { |
| 1667 | "name" : "egress.process_set_source_sink.int_set_source", |
| 1668 | "id" : 18, |
| 1669 | "runtime_data" : [], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1670 | "primitives" : [ |
| 1671 | { |
| 1672 | "op" : "assign", |
| 1673 | "parameters" : [ |
| 1674 | { |
| 1675 | "type" : "field", |
| 1676 | "value" : ["userMetadata.int_meta", "source"] |
| 1677 | }, |
| 1678 | { |
| 1679 | "type" : "hexstr", |
| 1680 | "value" : "0x01" |
| 1681 | } |
| 1682 | ], |
| 1683 | "source_info" : { |
| 1684 | "filename" : "include/int_source.p4", |
| 1685 | "line" : 94, |
| 1686 | "column" : 8, |
| 1687 | "source_fragment" : "local_metadata.int_meta.source = 1" |
| 1688 | } |
| 1689 | } |
| 1690 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1691 | }, |
| 1692 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1693 | "name" : "egress.process_set_source_sink.int_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1694 | "id" : 19, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1695 | "runtime_data" : [], |
| 1696 | "primitives" : [ |
| 1697 | { |
| 1698 | "op" : "assign", |
| 1699 | "parameters" : [ |
| 1700 | { |
| 1701 | "type" : "field", |
| 1702 | "value" : ["userMetadata.int_meta", "sink"] |
| 1703 | }, |
| 1704 | { |
| 1705 | "type" : "hexstr", |
| 1706 | "value" : "0x01" |
| 1707 | } |
| 1708 | ], |
| 1709 | "source_info" : { |
| 1710 | "filename" : "include/int_source.p4", |
| 1711 | "line" : 98, |
| 1712 | "column" : 8, |
| 1713 | "source_fragment" : "local_metadata.int_meta.sink = 1" |
| 1714 | } |
| 1715 | } |
| 1716 | ] |
| 1717 | }, |
| 1718 | { |
| 1719 | "name" : "egress.process_int_source.int_source_dscp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1720 | "id" : 20, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1721 | "runtime_data" : [ |
| 1722 | { |
| 1723 | "name" : "max_hop", |
| 1724 | "bitwidth" : 8 |
| 1725 | }, |
| 1726 | { |
| 1727 | "name" : "ins_cnt", |
| 1728 | "bitwidth" : 5 |
| 1729 | }, |
| 1730 | { |
| 1731 | "name" : "ins_mask0003", |
| 1732 | "bitwidth" : 4 |
| 1733 | }, |
| 1734 | { |
| 1735 | "name" : "ins_mask0407", |
| 1736 | "bitwidth" : 4 |
| 1737 | } |
| 1738 | ], |
| 1739 | "primitives" : [ |
| 1740 | { |
| 1741 | "op" : "add_header", |
| 1742 | "parameters" : [ |
| 1743 | { |
| 1744 | "type" : "header", |
| 1745 | "value" : "intl4_shim" |
| 1746 | } |
| 1747 | ], |
| 1748 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1749 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1750 | "line" : 31, |
| 1751 | "column" : 8, |
| 1752 | "source_fragment" : "hdr.intl4_shim.setValid()" |
| 1753 | } |
| 1754 | }, |
| 1755 | { |
| 1756 | "op" : "assign", |
| 1757 | "parameters" : [ |
| 1758 | { |
| 1759 | "type" : "field", |
| 1760 | "value" : ["intl4_shim", "int_type"] |
| 1761 | }, |
| 1762 | { |
| 1763 | "type" : "hexstr", |
| 1764 | "value" : "0x01" |
| 1765 | } |
| 1766 | ], |
| 1767 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1768 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1769 | "line" : 33, |
| 1770 | "column" : 8, |
| 1771 | "source_fragment" : "hdr.intl4_shim.int_type = 1" |
| 1772 | } |
| 1773 | }, |
| 1774 | { |
| 1775 | "op" : "assign", |
| 1776 | "parameters" : [ |
| 1777 | { |
| 1778 | "type" : "field", |
| 1779 | "value" : ["intl4_shim", "len"] |
| 1780 | }, |
| 1781 | { |
| 1782 | "type" : "hexstr", |
| 1783 | "value" : "0x04" |
| 1784 | } |
| 1785 | ], |
| 1786 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1787 | "filename" : "include/int_definitions.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1788 | "line" : 29, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1789 | "column" : 35, |
| 1790 | "source_fragment" : "4; ..." |
| 1791 | } |
| 1792 | }, |
| 1793 | { |
| 1794 | "op" : "add_header", |
| 1795 | "parameters" : [ |
| 1796 | { |
| 1797 | "type" : "header", |
| 1798 | "value" : "int_header" |
| 1799 | } |
| 1800 | ], |
| 1801 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1802 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1803 | "line" : 37, |
| 1804 | "column" : 8, |
| 1805 | "source_fragment" : "hdr.int_header.setValid()" |
| 1806 | } |
| 1807 | }, |
| 1808 | { |
| 1809 | "op" : "assign", |
| 1810 | "parameters" : [ |
| 1811 | { |
| 1812 | "type" : "field", |
| 1813 | "value" : ["int_header", "ver"] |
| 1814 | }, |
| 1815 | { |
| 1816 | "type" : "hexstr", |
| 1817 | "value" : "0x00" |
| 1818 | } |
| 1819 | ], |
| 1820 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1821 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1822 | "line" : 38, |
| 1823 | "column" : 8, |
| 1824 | "source_fragment" : "hdr.int_header.ver = 0" |
| 1825 | } |
| 1826 | }, |
| 1827 | { |
| 1828 | "op" : "assign", |
| 1829 | "parameters" : [ |
| 1830 | { |
| 1831 | "type" : "field", |
| 1832 | "value" : ["int_header", "rep"] |
| 1833 | }, |
| 1834 | { |
| 1835 | "type" : "hexstr", |
| 1836 | "value" : "0x00" |
| 1837 | } |
| 1838 | ], |
| 1839 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1840 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1841 | "line" : 39, |
| 1842 | "column" : 8, |
| 1843 | "source_fragment" : "hdr.int_header.rep = 0" |
| 1844 | } |
| 1845 | }, |
| 1846 | { |
| 1847 | "op" : "assign", |
| 1848 | "parameters" : [ |
| 1849 | { |
| 1850 | "type" : "field", |
| 1851 | "value" : ["int_header", "c"] |
| 1852 | }, |
| 1853 | { |
| 1854 | "type" : "hexstr", |
| 1855 | "value" : "0x00" |
| 1856 | } |
| 1857 | ], |
| 1858 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1859 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1860 | "line" : 40, |
| 1861 | "column" : 8, |
| 1862 | "source_fragment" : "hdr.int_header.c = 0" |
| 1863 | } |
| 1864 | }, |
| 1865 | { |
| 1866 | "op" : "assign", |
| 1867 | "parameters" : [ |
| 1868 | { |
| 1869 | "type" : "field", |
| 1870 | "value" : ["int_header", "e"] |
| 1871 | }, |
| 1872 | { |
| 1873 | "type" : "hexstr", |
| 1874 | "value" : "0x00" |
| 1875 | } |
| 1876 | ], |
| 1877 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1878 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1879 | "line" : 41, |
| 1880 | "column" : 8, |
| 1881 | "source_fragment" : "hdr.int_header.e = 0" |
| 1882 | } |
| 1883 | }, |
| 1884 | { |
| 1885 | "op" : "assign", |
| 1886 | "parameters" : [ |
| 1887 | { |
| 1888 | "type" : "field", |
| 1889 | "value" : ["int_header", "rsvd1"] |
| 1890 | }, |
| 1891 | { |
| 1892 | "type" : "hexstr", |
| 1893 | "value" : "0x00" |
| 1894 | } |
| 1895 | ], |
| 1896 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1897 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1898 | "line" : 42, |
| 1899 | "column" : 8, |
| 1900 | "source_fragment" : "hdr.int_header.rsvd1 = 0" |
| 1901 | } |
| 1902 | }, |
| 1903 | { |
| 1904 | "op" : "assign", |
| 1905 | "parameters" : [ |
| 1906 | { |
| 1907 | "type" : "field", |
| 1908 | "value" : ["int_header", "ins_cnt"] |
| 1909 | }, |
| 1910 | { |
| 1911 | "type" : "runtime_data", |
| 1912 | "value" : 1 |
| 1913 | } |
| 1914 | ], |
| 1915 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1916 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1917 | "line" : 43, |
| 1918 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1919 | "source_fragment" : "hdr.int_header.ins_cnt = ins_cnt; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1920 | } |
| 1921 | }, |
| 1922 | { |
| 1923 | "op" : "assign", |
| 1924 | "parameters" : [ |
| 1925 | { |
| 1926 | "type" : "field", |
| 1927 | "value" : ["int_header", "max_hop_cnt"] |
| 1928 | }, |
| 1929 | { |
| 1930 | "type" : "runtime_data", |
| 1931 | "value" : 0 |
| 1932 | } |
| 1933 | ], |
| 1934 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1935 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1936 | "line" : 44, |
| 1937 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1938 | "source_fragment" : "hdr.int_header.max_hop_cnt = max_hop; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1939 | } |
| 1940 | }, |
| 1941 | { |
| 1942 | "op" : "assign", |
| 1943 | "parameters" : [ |
| 1944 | { |
| 1945 | "type" : "field", |
| 1946 | "value" : ["int_header", "total_hop_cnt"] |
| 1947 | }, |
| 1948 | { |
| 1949 | "type" : "hexstr", |
| 1950 | "value" : "0x00" |
| 1951 | } |
| 1952 | ], |
| 1953 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1954 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1955 | "line" : 45, |
| 1956 | "column" : 8, |
| 1957 | "source_fragment" : "hdr.int_header.total_hop_cnt = 0" |
| 1958 | } |
| 1959 | }, |
| 1960 | { |
| 1961 | "op" : "assign", |
| 1962 | "parameters" : [ |
| 1963 | { |
| 1964 | "type" : "field", |
| 1965 | "value" : ["int_header", "instruction_mask_0003"] |
| 1966 | }, |
| 1967 | { |
| 1968 | "type" : "runtime_data", |
| 1969 | "value" : 2 |
| 1970 | } |
| 1971 | ], |
| 1972 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1973 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1974 | "line" : 46, |
| 1975 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1976 | "source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1977 | } |
| 1978 | }, |
| 1979 | { |
| 1980 | "op" : "assign", |
| 1981 | "parameters" : [ |
| 1982 | { |
| 1983 | "type" : "field", |
| 1984 | "value" : ["int_header", "instruction_mask_0407"] |
| 1985 | }, |
| 1986 | { |
| 1987 | "type" : "runtime_data", |
| 1988 | "value" : 3 |
| 1989 | } |
| 1990 | ], |
| 1991 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1992 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1993 | "line" : 47, |
| 1994 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1995 | "source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1996 | } |
| 1997 | }, |
| 1998 | { |
| 1999 | "op" : "assign", |
| 2000 | "parameters" : [ |
| 2001 | { |
| 2002 | "type" : "field", |
| 2003 | "value" : ["int_header", "instruction_mask_0811"] |
| 2004 | }, |
| 2005 | { |
| 2006 | "type" : "hexstr", |
| 2007 | "value" : "0x00" |
| 2008 | } |
| 2009 | ], |
| 2010 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2011 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2012 | "line" : 48, |
| 2013 | "column" : 8, |
| 2014 | "source_fragment" : "hdr.int_header.instruction_mask_0811 = 0" |
| 2015 | } |
| 2016 | }, |
| 2017 | { |
| 2018 | "op" : "assign", |
| 2019 | "parameters" : [ |
| 2020 | { |
| 2021 | "type" : "field", |
| 2022 | "value" : ["int_header", "instruction_mask_1215"] |
| 2023 | }, |
| 2024 | { |
| 2025 | "type" : "hexstr", |
| 2026 | "value" : "0x00" |
| 2027 | } |
| 2028 | ], |
| 2029 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2030 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2031 | "line" : 49, |
| 2032 | "column" : 8, |
| 2033 | "source_fragment" : "hdr.int_header.instruction_mask_1215 = 0" |
| 2034 | } |
| 2035 | }, |
| 2036 | { |
| 2037 | "op" : "add_header", |
| 2038 | "parameters" : [ |
| 2039 | { |
| 2040 | "type" : "header", |
| 2041 | "value" : "intl4_tail" |
| 2042 | } |
| 2043 | ], |
| 2044 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2045 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2046 | "line" : 52, |
| 2047 | "column" : 8, |
| 2048 | "source_fragment" : "hdr.intl4_tail.setValid()" |
| 2049 | } |
| 2050 | }, |
| 2051 | { |
| 2052 | "op" : "assign", |
| 2053 | "parameters" : [ |
| 2054 | { |
| 2055 | "type" : "field", |
| 2056 | "value" : ["intl4_tail", "next_proto"] |
| 2057 | }, |
| 2058 | { |
| 2059 | "type" : "field", |
| 2060 | "value" : ["ipv4", "protocol"] |
| 2061 | } |
| 2062 | ], |
| 2063 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2064 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2065 | "line" : 53, |
| 2066 | "column" : 8, |
| 2067 | "source_fragment" : "hdr.intl4_tail.next_proto = hdr.ipv4.protocol" |
| 2068 | } |
| 2069 | }, |
| 2070 | { |
| 2071 | "op" : "assign", |
| 2072 | "parameters" : [ |
| 2073 | { |
| 2074 | "type" : "field", |
| 2075 | "value" : ["intl4_tail", "dest_port"] |
| 2076 | }, |
| 2077 | { |
| 2078 | "type" : "field", |
| 2079 | "value" : ["scalars", "local_metadata_t.l4_dst_port"] |
| 2080 | } |
| 2081 | ], |
| 2082 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2083 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2084 | "line" : 54, |
| 2085 | "column" : 8, |
| 2086 | "source_fragment" : "hdr.intl4_tail.dest_port = local_metadata.l4_dst_port" |
| 2087 | } |
| 2088 | }, |
| 2089 | { |
| 2090 | "op" : "assign", |
| 2091 | "parameters" : [ |
| 2092 | { |
| 2093 | "type" : "field", |
| 2094 | "value" : ["intl4_tail", "dscp"] |
| 2095 | }, |
| 2096 | { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 2097 | "type" : "expression", |
| 2098 | "value" : { |
| 2099 | "type" : "expression", |
| 2100 | "value" : { |
| 2101 | "op" : "&", |
| 2102 | "left" : { |
| 2103 | "type" : "field", |
| 2104 | "value" : ["ipv4", "dscp"] |
| 2105 | }, |
| 2106 | "right" : { |
| 2107 | "type" : "hexstr", |
| 2108 | "value" : "0xff" |
| 2109 | } |
| 2110 | } |
| 2111 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2112 | } |
| 2113 | ], |
| 2114 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2115 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2116 | "line" : 55, |
| 2117 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 2118 | "source_fragment" : "hdr.intl4_tail.dscp = (bit<8>) hdr.ipv4.dscp" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2119 | } |
| 2120 | }, |
| 2121 | { |
| 2122 | "op" : "assign", |
| 2123 | "parameters" : [ |
| 2124 | { |
| 2125 | "type" : "field", |
| 2126 | "value" : ["ipv4", "len"] |
| 2127 | }, |
| 2128 | { |
| 2129 | "type" : "expression", |
| 2130 | "value" : { |
| 2131 | "type" : "expression", |
| 2132 | "value" : { |
| 2133 | "op" : "&", |
| 2134 | "left" : { |
| 2135 | "type" : "expression", |
| 2136 | "value" : { |
| 2137 | "op" : "+", |
| 2138 | "left" : { |
| 2139 | "type" : "field", |
| 2140 | "value" : ["ipv4", "len"] |
| 2141 | }, |
| 2142 | "right" : { |
| 2143 | "type" : "hexstr", |
| 2144 | "value" : "0x0010" |
| 2145 | } |
| 2146 | } |
| 2147 | }, |
| 2148 | "right" : { |
| 2149 | "type" : "hexstr", |
| 2150 | "value" : "0xffff" |
| 2151 | } |
| 2152 | } |
| 2153 | } |
| 2154 | } |
| 2155 | ], |
| 2156 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2157 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 2158 | "line" : 58, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2159 | "column" : 8, |
| 2160 | "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + 16" |
| 2161 | } |
| 2162 | }, |
| 2163 | { |
| 2164 | "op" : "assign", |
| 2165 | "parameters" : [ |
| 2166 | { |
| 2167 | "type" : "field", |
| 2168 | "value" : ["udp", "length_"] |
| 2169 | }, |
| 2170 | { |
| 2171 | "type" : "expression", |
| 2172 | "value" : { |
| 2173 | "type" : "expression", |
| 2174 | "value" : { |
| 2175 | "op" : "&", |
| 2176 | "left" : { |
| 2177 | "type" : "expression", |
| 2178 | "value" : { |
| 2179 | "op" : "+", |
| 2180 | "left" : { |
| 2181 | "type" : "field", |
| 2182 | "value" : ["udp", "length_"] |
| 2183 | }, |
| 2184 | "right" : { |
| 2185 | "type" : "hexstr", |
| 2186 | "value" : "0x0010" |
| 2187 | } |
| 2188 | } |
| 2189 | }, |
| 2190 | "right" : { |
| 2191 | "type" : "hexstr", |
| 2192 | "value" : "0xffff" |
| 2193 | } |
| 2194 | } |
| 2195 | } |
| 2196 | } |
| 2197 | ], |
| 2198 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2199 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 2200 | "line" : 59, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2201 | "column" : 8, |
| 2202 | "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + 16" |
| 2203 | } |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 2204 | }, |
| 2205 | { |
| 2206 | "op" : "assign", |
| 2207 | "parameters" : [ |
| 2208 | { |
| 2209 | "type" : "field", |
| 2210 | "value" : ["ipv4", "dscp"] |
| 2211 | }, |
| 2212 | { |
| 2213 | "type" : "hexstr", |
| 2214 | "value" : "0x01" |
| 2215 | } |
| 2216 | ], |
| 2217 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2218 | "filename" : "include/int_definitions.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 2219 | "line" : 24, |
| 2220 | "column" : 24, |
| 2221 | "source_fragment" : "0x1; ..." |
| 2222 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2223 | } |
| 2224 | ] |
| 2225 | }, |
| 2226 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2227 | "name" : "egress.process_int_transit.int_update_total_hop_cnt", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2228 | "id" : 21, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2229 | "runtime_data" : [], |
| 2230 | "primitives" : [ |
| 2231 | { |
| 2232 | "op" : "assign", |
| 2233 | "parameters" : [ |
| 2234 | { |
| 2235 | "type" : "field", |
| 2236 | "value" : ["int_header", "total_hop_cnt"] |
| 2237 | }, |
| 2238 | { |
| 2239 | "type" : "expression", |
| 2240 | "value" : { |
| 2241 | "type" : "expression", |
| 2242 | "value" : { |
| 2243 | "op" : "&", |
| 2244 | "left" : { |
| 2245 | "type" : "expression", |
| 2246 | "value" : { |
| 2247 | "op" : "+", |
| 2248 | "left" : { |
| 2249 | "type" : "field", |
| 2250 | "value" : ["int_header", "total_hop_cnt"] |
| 2251 | }, |
| 2252 | "right" : { |
| 2253 | "type" : "hexstr", |
| 2254 | "value" : "0x01" |
| 2255 | } |
| 2256 | } |
| 2257 | }, |
| 2258 | "right" : { |
| 2259 | "type" : "hexstr", |
| 2260 | "value" : "0xff" |
| 2261 | } |
| 2262 | } |
| 2263 | } |
| 2264 | } |
| 2265 | ], |
| 2266 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2267 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2268 | "line" : 30, |
| 2269 | "column" : 8, |
| 2270 | "source_fragment" : "hdr.int_header.total_hop_cnt = hdr.int_header.total_hop_cnt + 1" |
| 2271 | } |
| 2272 | } |
| 2273 | ] |
| 2274 | }, |
| 2275 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2276 | "name" : "egress.process_int_transit.int_transit", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2277 | "id" : 22, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2278 | "runtime_data" : [ |
| 2279 | { |
| 2280 | "name" : "switch_id", |
| 2281 | "bitwidth" : 32 |
| 2282 | } |
| 2283 | ], |
| 2284 | "primitives" : [ |
| 2285 | { |
| 2286 | "op" : "assign", |
| 2287 | "parameters" : [ |
| 2288 | { |
| 2289 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2290 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2291 | }, |
| 2292 | { |
| 2293 | "type" : "runtime_data", |
| 2294 | "value" : 0 |
| 2295 | } |
| 2296 | ], |
| 2297 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2298 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2299 | "line" : 34, |
| 2300 | "column" : 8, |
| 2301 | "source_fragment" : "local_metadata.int_meta.switch_id = switch_id" |
| 2302 | } |
| 2303 | }, |
| 2304 | { |
| 2305 | "op" : "assign", |
| 2306 | "parameters" : [ |
| 2307 | { |
| 2308 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2309 | "value" : ["userMetadata.int_meta", "insert_byte_cnt"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2310 | }, |
| 2311 | { |
| 2312 | "type" : "expression", |
| 2313 | "value" : { |
| 2314 | "type" : "expression", |
| 2315 | "value" : { |
| 2316 | "op" : "&", |
| 2317 | "left" : { |
| 2318 | "type" : "expression", |
| 2319 | "value" : { |
| 2320 | "op" : "<<", |
| 2321 | "left" : { |
| 2322 | "type" : "expression", |
| 2323 | "value" : { |
| 2324 | "op" : "&", |
| 2325 | "left" : { |
| 2326 | "type" : "field", |
| 2327 | "value" : ["int_header", "ins_cnt"] |
| 2328 | }, |
| 2329 | "right" : { |
| 2330 | "type" : "hexstr", |
| 2331 | "value" : "0xffff" |
| 2332 | } |
| 2333 | } |
| 2334 | }, |
| 2335 | "right" : { |
| 2336 | "type" : "hexstr", |
| 2337 | "value" : "0x2" |
| 2338 | } |
| 2339 | } |
| 2340 | }, |
| 2341 | "right" : { |
| 2342 | "type" : "hexstr", |
| 2343 | "value" : "0xffff" |
| 2344 | } |
| 2345 | } |
| 2346 | } |
| 2347 | } |
| 2348 | ], |
| 2349 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2350 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2351 | "line" : 35, |
| 2352 | "column" : 8, |
| 2353 | "source_fragment" : "local_metadata.int_meta.insert_byte_cnt = (bit<16>) hdr.int_header.ins_cnt << 2" |
| 2354 | } |
| 2355 | } |
| 2356 | ] |
| 2357 | }, |
| 2358 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2359 | "name" : "egress.process_int_transit.int_set_header_0003_i0", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2360 | "id" : 23, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2361 | "runtime_data" : [], |
| 2362 | "primitives" : [] |
| 2363 | }, |
| 2364 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2365 | "name" : "egress.process_int_transit.int_set_header_0003_i1", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2366 | "id" : 24, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2367 | "runtime_data" : [], |
| 2368 | "primitives" : [ |
| 2369 | { |
| 2370 | "op" : "add_header", |
| 2371 | "parameters" : [ |
| 2372 | { |
| 2373 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2374 | "value" : "int_q_occupancy" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2375 | } |
| 2376 | ], |
| 2377 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2378 | "filename" : "include/int_transit.p4", |
| 2379 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2380 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2381 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2382 | } |
| 2383 | }, |
| 2384 | { |
| 2385 | "op" : "assign", |
| 2386 | "parameters" : [ |
| 2387 | { |
| 2388 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2389 | "value" : ["int_q_occupancy", "q_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2390 | }, |
| 2391 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2392 | "type" : "hexstr", |
| 2393 | "value" : "0x00" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2394 | } |
| 2395 | ], |
| 2396 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2397 | "filename" : "include/int_transit.p4", |
| 2398 | "line" : 58, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2399 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2400 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2401 | } |
| 2402 | }, |
| 2403 | { |
| 2404 | "op" : "assign", |
| 2405 | "parameters" : [ |
| 2406 | { |
| 2407 | "type" : "field", |
| 2408 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 2409 | }, |
| 2410 | { |
| 2411 | "type" : "expression", |
| 2412 | "value" : { |
| 2413 | "type" : "expression", |
| 2414 | "value" : { |
| 2415 | "op" : "&", |
| 2416 | "left" : { |
| 2417 | "type" : "field", |
| 2418 | "value" : ["standard_metadata", "deq_qdepth"] |
| 2419 | }, |
| 2420 | "right" : { |
| 2421 | "type" : "hexstr", |
| 2422 | "value" : "0xffffff" |
| 2423 | } |
| 2424 | } |
| 2425 | } |
| 2426 | } |
| 2427 | ], |
| 2428 | "source_info" : { |
| 2429 | "filename" : "include/int_transit.p4", |
| 2430 | "line" : 61, |
| 2431 | "column" : 8, |
| 2432 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2433 | } |
| 2434 | } |
| 2435 | ] |
| 2436 | }, |
| 2437 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2438 | "name" : "egress.process_int_transit.int_set_header_0003_i2", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2439 | "id" : 25, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2440 | "runtime_data" : [], |
| 2441 | "primitives" : [ |
| 2442 | { |
| 2443 | "op" : "add_header", |
| 2444 | "parameters" : [ |
| 2445 | { |
| 2446 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2447 | "value" : "int_hop_latency" |
| 2448 | } |
| 2449 | ], |
| 2450 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2451 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2452 | "line" : 51, |
| 2453 | "column" : 8, |
| 2454 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 2455 | } |
| 2456 | }, |
| 2457 | { |
| 2458 | "op" : "assign", |
| 2459 | "parameters" : [ |
| 2460 | { |
| 2461 | "type" : "field", |
| 2462 | "value" : ["int_hop_latency", "hop_latency"] |
| 2463 | }, |
| 2464 | { |
| 2465 | "type" : "field", |
| 2466 | "value" : ["standard_metadata", "deq_timedelta"] |
| 2467 | } |
| 2468 | ], |
| 2469 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2470 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2471 | "line" : 52, |
| 2472 | "column" : 8, |
| 2473 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
| 2474 | } |
| 2475 | } |
| 2476 | ] |
| 2477 | }, |
| 2478 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2479 | "name" : "egress.process_int_transit.int_set_header_0003_i3", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2480 | "id" : 26, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2481 | "runtime_data" : [], |
| 2482 | "primitives" : [ |
| 2483 | { |
| 2484 | "op" : "add_header", |
| 2485 | "parameters" : [ |
| 2486 | { |
| 2487 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2488 | "value" : "int_q_occupancy" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2489 | } |
| 2490 | ], |
| 2491 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2492 | "filename" : "include/int_transit.p4", |
| 2493 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2494 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2495 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2496 | } |
| 2497 | }, |
| 2498 | { |
| 2499 | "op" : "assign", |
| 2500 | "parameters" : [ |
| 2501 | { |
| 2502 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2503 | "value" : ["int_q_occupancy", "q_id"] |
| 2504 | }, |
| 2505 | { |
| 2506 | "type" : "hexstr", |
| 2507 | "value" : "0x00" |
| 2508 | } |
| 2509 | ], |
| 2510 | "source_info" : { |
| 2511 | "filename" : "include/int_transit.p4", |
| 2512 | "line" : 58, |
| 2513 | "column" : 8, |
| 2514 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2515 | } |
| 2516 | }, |
| 2517 | { |
| 2518 | "op" : "assign", |
| 2519 | "parameters" : [ |
| 2520 | { |
| 2521 | "type" : "field", |
| 2522 | "value" : ["int_q_occupancy", "q_occupancy"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2523 | }, |
| 2524 | { |
| 2525 | "type" : "expression", |
| 2526 | "value" : { |
| 2527 | "type" : "expression", |
| 2528 | "value" : { |
| 2529 | "op" : "&", |
| 2530 | "left" : { |
| 2531 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2532 | "value" : ["standard_metadata", "deq_qdepth"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2533 | }, |
| 2534 | "right" : { |
| 2535 | "type" : "hexstr", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2536 | "value" : "0xffffff" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2537 | } |
| 2538 | } |
| 2539 | } |
| 2540 | } |
| 2541 | ], |
| 2542 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2543 | "filename" : "include/int_transit.p4", |
| 2544 | "line" : 61, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2545 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2546 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 2547 | } |
| 2548 | }, |
| 2549 | { |
| 2550 | "op" : "add_header", |
| 2551 | "parameters" : [ |
| 2552 | { |
| 2553 | "type" : "header", |
| 2554 | "value" : "int_hop_latency" |
| 2555 | } |
| 2556 | ], |
| 2557 | "source_info" : { |
| 2558 | "filename" : "include/int_transit.p4", |
| 2559 | "line" : 51, |
| 2560 | "column" : 8, |
| 2561 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2562 | } |
| 2563 | }, |
| 2564 | { |
| 2565 | "op" : "assign", |
| 2566 | "parameters" : [ |
| 2567 | { |
| 2568 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2569 | "value" : ["int_hop_latency", "hop_latency"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2570 | }, |
| 2571 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2572 | "type" : "field", |
| 2573 | "value" : ["standard_metadata", "deq_timedelta"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2574 | } |
| 2575 | ], |
| 2576 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2577 | "filename" : "include/int_transit.p4", |
| 2578 | "line" : 52, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2579 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2580 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2581 | } |
| 2582 | } |
| 2583 | ] |
| 2584 | }, |
| 2585 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2586 | "name" : "egress.process_int_transit.int_set_header_0003_i4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2587 | "id" : 27, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2588 | "runtime_data" : [], |
| 2589 | "primitives" : [ |
| 2590 | { |
| 2591 | "op" : "add_header", |
| 2592 | "parameters" : [ |
| 2593 | { |
| 2594 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2595 | "value" : "int_port_ids" |
| 2596 | } |
| 2597 | ], |
| 2598 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2599 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2600 | "line" : 44, |
| 2601 | "column" : 8, |
| 2602 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 2603 | } |
| 2604 | }, |
| 2605 | { |
| 2606 | "op" : "assign", |
| 2607 | "parameters" : [ |
| 2608 | { |
| 2609 | "type" : "field", |
| 2610 | "value" : ["int_port_ids", "ingress_port_id"] |
| 2611 | }, |
| 2612 | { |
| 2613 | "type" : "expression", |
| 2614 | "value" : { |
| 2615 | "type" : "expression", |
| 2616 | "value" : { |
| 2617 | "op" : "&", |
| 2618 | "left" : { |
| 2619 | "type" : "field", |
| 2620 | "value" : ["standard_metadata", "ingress_port"] |
| 2621 | }, |
| 2622 | "right" : { |
| 2623 | "type" : "hexstr", |
| 2624 | "value" : "0xffff" |
| 2625 | } |
| 2626 | } |
| 2627 | } |
| 2628 | } |
| 2629 | ], |
| 2630 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2631 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2632 | "line" : 45, |
| 2633 | "column" : 8, |
| 2634 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 2635 | } |
| 2636 | }, |
| 2637 | { |
| 2638 | "op" : "assign", |
| 2639 | "parameters" : [ |
| 2640 | { |
| 2641 | "type" : "field", |
| 2642 | "value" : ["int_port_ids", "egress_port_id"] |
| 2643 | }, |
| 2644 | { |
| 2645 | "type" : "expression", |
| 2646 | "value" : { |
| 2647 | "type" : "expression", |
| 2648 | "value" : { |
| 2649 | "op" : "&", |
| 2650 | "left" : { |
| 2651 | "type" : "field", |
| 2652 | "value" : ["standard_metadata", "egress_port"] |
| 2653 | }, |
| 2654 | "right" : { |
| 2655 | "type" : "hexstr", |
| 2656 | "value" : "0xffff" |
| 2657 | } |
| 2658 | } |
| 2659 | } |
| 2660 | } |
| 2661 | ], |
| 2662 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2663 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2664 | "line" : 47, |
| 2665 | "column" : 8, |
| 2666 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 2667 | } |
| 2668 | } |
| 2669 | ] |
| 2670 | }, |
| 2671 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2672 | "name" : "egress.process_int_transit.int_set_header_0003_i5", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2673 | "id" : 28, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2674 | "runtime_data" : [], |
| 2675 | "primitives" : [ |
| 2676 | { |
| 2677 | "op" : "add_header", |
| 2678 | "parameters" : [ |
| 2679 | { |
| 2680 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2681 | "value" : "int_q_occupancy" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2682 | } |
| 2683 | ], |
| 2684 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2685 | "filename" : "include/int_transit.p4", |
| 2686 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2687 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2688 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2689 | } |
| 2690 | }, |
| 2691 | { |
| 2692 | "op" : "assign", |
| 2693 | "parameters" : [ |
| 2694 | { |
| 2695 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2696 | "value" : ["int_q_occupancy", "q_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2697 | }, |
| 2698 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2699 | "type" : "hexstr", |
| 2700 | "value" : "0x00" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2701 | } |
| 2702 | ], |
| 2703 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2704 | "filename" : "include/int_transit.p4", |
| 2705 | "line" : 58, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2706 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2707 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2708 | } |
| 2709 | }, |
| 2710 | { |
| 2711 | "op" : "assign", |
| 2712 | "parameters" : [ |
| 2713 | { |
| 2714 | "type" : "field", |
| 2715 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 2716 | }, |
| 2717 | { |
| 2718 | "type" : "expression", |
| 2719 | "value" : { |
| 2720 | "type" : "expression", |
| 2721 | "value" : { |
| 2722 | "op" : "&", |
| 2723 | "left" : { |
| 2724 | "type" : "field", |
| 2725 | "value" : ["standard_metadata", "deq_qdepth"] |
| 2726 | }, |
| 2727 | "right" : { |
| 2728 | "type" : "hexstr", |
| 2729 | "value" : "0xffffff" |
| 2730 | } |
| 2731 | } |
| 2732 | } |
| 2733 | } |
| 2734 | ], |
| 2735 | "source_info" : { |
| 2736 | "filename" : "include/int_transit.p4", |
| 2737 | "line" : 61, |
| 2738 | "column" : 8, |
| 2739 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2740 | } |
| 2741 | }, |
| 2742 | { |
| 2743 | "op" : "add_header", |
| 2744 | "parameters" : [ |
| 2745 | { |
| 2746 | "type" : "header", |
| 2747 | "value" : "int_port_ids" |
| 2748 | } |
| 2749 | ], |
| 2750 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2751 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2752 | "line" : 44, |
| 2753 | "column" : 8, |
| 2754 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 2755 | } |
| 2756 | }, |
| 2757 | { |
| 2758 | "op" : "assign", |
| 2759 | "parameters" : [ |
| 2760 | { |
| 2761 | "type" : "field", |
| 2762 | "value" : ["int_port_ids", "ingress_port_id"] |
| 2763 | }, |
| 2764 | { |
| 2765 | "type" : "expression", |
| 2766 | "value" : { |
| 2767 | "type" : "expression", |
| 2768 | "value" : { |
| 2769 | "op" : "&", |
| 2770 | "left" : { |
| 2771 | "type" : "field", |
| 2772 | "value" : ["standard_metadata", "ingress_port"] |
| 2773 | }, |
| 2774 | "right" : { |
| 2775 | "type" : "hexstr", |
| 2776 | "value" : "0xffff" |
| 2777 | } |
| 2778 | } |
| 2779 | } |
| 2780 | } |
| 2781 | ], |
| 2782 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2783 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2784 | "line" : 45, |
| 2785 | "column" : 8, |
| 2786 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 2787 | } |
| 2788 | }, |
| 2789 | { |
| 2790 | "op" : "assign", |
| 2791 | "parameters" : [ |
| 2792 | { |
| 2793 | "type" : "field", |
| 2794 | "value" : ["int_port_ids", "egress_port_id"] |
| 2795 | }, |
| 2796 | { |
| 2797 | "type" : "expression", |
| 2798 | "value" : { |
| 2799 | "type" : "expression", |
| 2800 | "value" : { |
| 2801 | "op" : "&", |
| 2802 | "left" : { |
| 2803 | "type" : "field", |
| 2804 | "value" : ["standard_metadata", "egress_port"] |
| 2805 | }, |
| 2806 | "right" : { |
| 2807 | "type" : "hexstr", |
| 2808 | "value" : "0xffff" |
| 2809 | } |
| 2810 | } |
| 2811 | } |
| 2812 | } |
| 2813 | ], |
| 2814 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2815 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2816 | "line" : 47, |
| 2817 | "column" : 8, |
| 2818 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 2819 | } |
| 2820 | } |
| 2821 | ] |
| 2822 | }, |
| 2823 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2824 | "name" : "egress.process_int_transit.int_set_header_0003_i6", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2825 | "id" : 29, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2826 | "runtime_data" : [], |
| 2827 | "primitives" : [ |
| 2828 | { |
| 2829 | "op" : "add_header", |
| 2830 | "parameters" : [ |
| 2831 | { |
| 2832 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2833 | "value" : "int_hop_latency" |
| 2834 | } |
| 2835 | ], |
| 2836 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2837 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2838 | "line" : 51, |
| 2839 | "column" : 8, |
| 2840 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 2841 | } |
| 2842 | }, |
| 2843 | { |
| 2844 | "op" : "assign", |
| 2845 | "parameters" : [ |
| 2846 | { |
| 2847 | "type" : "field", |
| 2848 | "value" : ["int_hop_latency", "hop_latency"] |
| 2849 | }, |
| 2850 | { |
| 2851 | "type" : "field", |
| 2852 | "value" : ["standard_metadata", "deq_timedelta"] |
| 2853 | } |
| 2854 | ], |
| 2855 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2856 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2857 | "line" : 52, |
| 2858 | "column" : 8, |
| 2859 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
| 2860 | } |
| 2861 | }, |
| 2862 | { |
| 2863 | "op" : "add_header", |
| 2864 | "parameters" : [ |
| 2865 | { |
| 2866 | "type" : "header", |
| 2867 | "value" : "int_port_ids" |
| 2868 | } |
| 2869 | ], |
| 2870 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2871 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2872 | "line" : 44, |
| 2873 | "column" : 8, |
| 2874 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 2875 | } |
| 2876 | }, |
| 2877 | { |
| 2878 | "op" : "assign", |
| 2879 | "parameters" : [ |
| 2880 | { |
| 2881 | "type" : "field", |
| 2882 | "value" : ["int_port_ids", "ingress_port_id"] |
| 2883 | }, |
| 2884 | { |
| 2885 | "type" : "expression", |
| 2886 | "value" : { |
| 2887 | "type" : "expression", |
| 2888 | "value" : { |
| 2889 | "op" : "&", |
| 2890 | "left" : { |
| 2891 | "type" : "field", |
| 2892 | "value" : ["standard_metadata", "ingress_port"] |
| 2893 | }, |
| 2894 | "right" : { |
| 2895 | "type" : "hexstr", |
| 2896 | "value" : "0xffff" |
| 2897 | } |
| 2898 | } |
| 2899 | } |
| 2900 | } |
| 2901 | ], |
| 2902 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2903 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2904 | "line" : 45, |
| 2905 | "column" : 8, |
| 2906 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 2907 | } |
| 2908 | }, |
| 2909 | { |
| 2910 | "op" : "assign", |
| 2911 | "parameters" : [ |
| 2912 | { |
| 2913 | "type" : "field", |
| 2914 | "value" : ["int_port_ids", "egress_port_id"] |
| 2915 | }, |
| 2916 | { |
| 2917 | "type" : "expression", |
| 2918 | "value" : { |
| 2919 | "type" : "expression", |
| 2920 | "value" : { |
| 2921 | "op" : "&", |
| 2922 | "left" : { |
| 2923 | "type" : "field", |
| 2924 | "value" : ["standard_metadata", "egress_port"] |
| 2925 | }, |
| 2926 | "right" : { |
| 2927 | "type" : "hexstr", |
| 2928 | "value" : "0xffff" |
| 2929 | } |
| 2930 | } |
| 2931 | } |
| 2932 | } |
| 2933 | ], |
| 2934 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2935 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2936 | "line" : 47, |
| 2937 | "column" : 8, |
| 2938 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 2939 | } |
| 2940 | } |
| 2941 | ] |
| 2942 | }, |
| 2943 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2944 | "name" : "egress.process_int_transit.int_set_header_0003_i7", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 2945 | "id" : 30, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2946 | "runtime_data" : [], |
| 2947 | "primitives" : [ |
| 2948 | { |
| 2949 | "op" : "add_header", |
| 2950 | "parameters" : [ |
| 2951 | { |
| 2952 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2953 | "value" : "int_q_occupancy" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2954 | } |
| 2955 | ], |
| 2956 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2957 | "filename" : "include/int_transit.p4", |
| 2958 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2959 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2960 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2961 | } |
| 2962 | }, |
| 2963 | { |
| 2964 | "op" : "assign", |
| 2965 | "parameters" : [ |
| 2966 | { |
| 2967 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2968 | "value" : ["int_q_occupancy", "q_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2969 | }, |
| 2970 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2971 | "type" : "hexstr", |
| 2972 | "value" : "0x00" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2973 | } |
| 2974 | ], |
| 2975 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2976 | "filename" : "include/int_transit.p4", |
| 2977 | "line" : 58, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2978 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2979 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2980 | } |
| 2981 | }, |
| 2982 | { |
| 2983 | "op" : "assign", |
| 2984 | "parameters" : [ |
| 2985 | { |
| 2986 | "type" : "field", |
| 2987 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 2988 | }, |
| 2989 | { |
| 2990 | "type" : "expression", |
| 2991 | "value" : { |
| 2992 | "type" : "expression", |
| 2993 | "value" : { |
| 2994 | "op" : "&", |
| 2995 | "left" : { |
| 2996 | "type" : "field", |
| 2997 | "value" : ["standard_metadata", "deq_qdepth"] |
| 2998 | }, |
| 2999 | "right" : { |
| 3000 | "type" : "hexstr", |
| 3001 | "value" : "0xffffff" |
| 3002 | } |
| 3003 | } |
| 3004 | } |
| 3005 | } |
| 3006 | ], |
| 3007 | "source_info" : { |
| 3008 | "filename" : "include/int_transit.p4", |
| 3009 | "line" : 61, |
| 3010 | "column" : 8, |
| 3011 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 3012 | } |
| 3013 | }, |
| 3014 | { |
| 3015 | "op" : "add_header", |
| 3016 | "parameters" : [ |
| 3017 | { |
| 3018 | "type" : "header", |
| 3019 | "value" : "int_hop_latency" |
| 3020 | } |
| 3021 | ], |
| 3022 | "source_info" : { |
| 3023 | "filename" : "include/int_transit.p4", |
| 3024 | "line" : 51, |
| 3025 | "column" : 8, |
| 3026 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 3027 | } |
| 3028 | }, |
| 3029 | { |
| 3030 | "op" : "assign", |
| 3031 | "parameters" : [ |
| 3032 | { |
| 3033 | "type" : "field", |
| 3034 | "value" : ["int_hop_latency", "hop_latency"] |
| 3035 | }, |
| 3036 | { |
| 3037 | "type" : "field", |
| 3038 | "value" : ["standard_metadata", "deq_timedelta"] |
| 3039 | } |
| 3040 | ], |
| 3041 | "source_info" : { |
| 3042 | "filename" : "include/int_transit.p4", |
| 3043 | "line" : 52, |
| 3044 | "column" : 8, |
| 3045 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
| 3046 | } |
| 3047 | }, |
| 3048 | { |
| 3049 | "op" : "add_header", |
| 3050 | "parameters" : [ |
| 3051 | { |
| 3052 | "type" : "header", |
| 3053 | "value" : "int_port_ids" |
| 3054 | } |
| 3055 | ], |
| 3056 | "source_info" : { |
| 3057 | "filename" : "include/int_transit.p4", |
| 3058 | "line" : 44, |
| 3059 | "column" : 8, |
| 3060 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 3061 | } |
| 3062 | }, |
| 3063 | { |
| 3064 | "op" : "assign", |
| 3065 | "parameters" : [ |
| 3066 | { |
| 3067 | "type" : "field", |
| 3068 | "value" : ["int_port_ids", "ingress_port_id"] |
| 3069 | }, |
| 3070 | { |
| 3071 | "type" : "expression", |
| 3072 | "value" : { |
| 3073 | "type" : "expression", |
| 3074 | "value" : { |
| 3075 | "op" : "&", |
| 3076 | "left" : { |
| 3077 | "type" : "field", |
| 3078 | "value" : ["standard_metadata", "ingress_port"] |
| 3079 | }, |
| 3080 | "right" : { |
| 3081 | "type" : "hexstr", |
| 3082 | "value" : "0xffff" |
| 3083 | } |
| 3084 | } |
| 3085 | } |
| 3086 | } |
| 3087 | ], |
| 3088 | "source_info" : { |
| 3089 | "filename" : "include/int_transit.p4", |
| 3090 | "line" : 45, |
| 3091 | "column" : 8, |
| 3092 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 3093 | } |
| 3094 | }, |
| 3095 | { |
| 3096 | "op" : "assign", |
| 3097 | "parameters" : [ |
| 3098 | { |
| 3099 | "type" : "field", |
| 3100 | "value" : ["int_port_ids", "egress_port_id"] |
| 3101 | }, |
| 3102 | { |
| 3103 | "type" : "expression", |
| 3104 | "value" : { |
| 3105 | "type" : "expression", |
| 3106 | "value" : { |
| 3107 | "op" : "&", |
| 3108 | "left" : { |
| 3109 | "type" : "field", |
| 3110 | "value" : ["standard_metadata", "egress_port"] |
| 3111 | }, |
| 3112 | "right" : { |
| 3113 | "type" : "hexstr", |
| 3114 | "value" : "0xffff" |
| 3115 | } |
| 3116 | } |
| 3117 | } |
| 3118 | } |
| 3119 | ], |
| 3120 | "source_info" : { |
| 3121 | "filename" : "include/int_transit.p4", |
| 3122 | "line" : 47, |
| 3123 | "column" : 8, |
| 3124 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3125 | } |
| 3126 | } |
| 3127 | ] |
| 3128 | }, |
| 3129 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3130 | "name" : "egress.process_int_transit.int_set_header_0003_i8", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3131 | "id" : 31, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3132 | "runtime_data" : [], |
| 3133 | "primitives" : [ |
| 3134 | { |
| 3135 | "op" : "add_header", |
| 3136 | "parameters" : [ |
| 3137 | { |
| 3138 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3139 | "value" : "int_switch_id" |
| 3140 | } |
| 3141 | ], |
| 3142 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3143 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3144 | "line" : 40, |
| 3145 | "column" : 8, |
| 3146 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3147 | } |
| 3148 | }, |
| 3149 | { |
| 3150 | "op" : "assign", |
| 3151 | "parameters" : [ |
| 3152 | { |
| 3153 | "type" : "field", |
| 3154 | "value" : ["int_switch_id", "switch_id"] |
| 3155 | }, |
| 3156 | { |
| 3157 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3158 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3159 | } |
| 3160 | ], |
| 3161 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3162 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3163 | "line" : 41, |
| 3164 | "column" : 8, |
| 3165 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 3166 | } |
| 3167 | } |
| 3168 | ] |
| 3169 | }, |
| 3170 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3171 | "name" : "egress.process_int_transit.int_set_header_0003_i9", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3172 | "id" : 32, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3173 | "runtime_data" : [], |
| 3174 | "primitives" : [ |
| 3175 | { |
| 3176 | "op" : "add_header", |
| 3177 | "parameters" : [ |
| 3178 | { |
| 3179 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3180 | "value" : "int_q_occupancy" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3181 | } |
| 3182 | ], |
| 3183 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3184 | "filename" : "include/int_transit.p4", |
| 3185 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3186 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3187 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3188 | } |
| 3189 | }, |
| 3190 | { |
| 3191 | "op" : "assign", |
| 3192 | "parameters" : [ |
| 3193 | { |
| 3194 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3195 | "value" : ["int_q_occupancy", "q_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3196 | }, |
| 3197 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3198 | "type" : "hexstr", |
| 3199 | "value" : "0x00" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3200 | } |
| 3201 | ], |
| 3202 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3203 | "filename" : "include/int_transit.p4", |
| 3204 | "line" : 58, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3205 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3206 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 3207 | } |
| 3208 | }, |
| 3209 | { |
| 3210 | "op" : "assign", |
| 3211 | "parameters" : [ |
| 3212 | { |
| 3213 | "type" : "field", |
| 3214 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 3215 | }, |
| 3216 | { |
| 3217 | "type" : "expression", |
| 3218 | "value" : { |
| 3219 | "type" : "expression", |
| 3220 | "value" : { |
| 3221 | "op" : "&", |
| 3222 | "left" : { |
| 3223 | "type" : "field", |
| 3224 | "value" : ["standard_metadata", "deq_qdepth"] |
| 3225 | }, |
| 3226 | "right" : { |
| 3227 | "type" : "hexstr", |
| 3228 | "value" : "0xffffff" |
| 3229 | } |
| 3230 | } |
| 3231 | } |
| 3232 | } |
| 3233 | ], |
| 3234 | "source_info" : { |
| 3235 | "filename" : "include/int_transit.p4", |
| 3236 | "line" : 61, |
| 3237 | "column" : 8, |
| 3238 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3239 | } |
| 3240 | }, |
| 3241 | { |
| 3242 | "op" : "add_header", |
| 3243 | "parameters" : [ |
| 3244 | { |
| 3245 | "type" : "header", |
| 3246 | "value" : "int_switch_id" |
| 3247 | } |
| 3248 | ], |
| 3249 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3250 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3251 | "line" : 40, |
| 3252 | "column" : 8, |
| 3253 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3254 | } |
| 3255 | }, |
| 3256 | { |
| 3257 | "op" : "assign", |
| 3258 | "parameters" : [ |
| 3259 | { |
| 3260 | "type" : "field", |
| 3261 | "value" : ["int_switch_id", "switch_id"] |
| 3262 | }, |
| 3263 | { |
| 3264 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3265 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3266 | } |
| 3267 | ], |
| 3268 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3269 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3270 | "line" : 41, |
| 3271 | "column" : 8, |
| 3272 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 3273 | } |
| 3274 | } |
| 3275 | ] |
| 3276 | }, |
| 3277 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3278 | "name" : "egress.process_int_transit.int_set_header_0003_i10", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3279 | "id" : 33, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3280 | "runtime_data" : [], |
| 3281 | "primitives" : [ |
| 3282 | { |
| 3283 | "op" : "add_header", |
| 3284 | "parameters" : [ |
| 3285 | { |
| 3286 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3287 | "value" : "int_hop_latency" |
| 3288 | } |
| 3289 | ], |
| 3290 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3291 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3292 | "line" : 51, |
| 3293 | "column" : 8, |
| 3294 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 3295 | } |
| 3296 | }, |
| 3297 | { |
| 3298 | "op" : "assign", |
| 3299 | "parameters" : [ |
| 3300 | { |
| 3301 | "type" : "field", |
| 3302 | "value" : ["int_hop_latency", "hop_latency"] |
| 3303 | }, |
| 3304 | { |
| 3305 | "type" : "field", |
| 3306 | "value" : ["standard_metadata", "deq_timedelta"] |
| 3307 | } |
| 3308 | ], |
| 3309 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3310 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3311 | "line" : 52, |
| 3312 | "column" : 8, |
| 3313 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
| 3314 | } |
| 3315 | }, |
| 3316 | { |
| 3317 | "op" : "add_header", |
| 3318 | "parameters" : [ |
| 3319 | { |
| 3320 | "type" : "header", |
| 3321 | "value" : "int_switch_id" |
| 3322 | } |
| 3323 | ], |
| 3324 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3325 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3326 | "line" : 40, |
| 3327 | "column" : 8, |
| 3328 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3329 | } |
| 3330 | }, |
| 3331 | { |
| 3332 | "op" : "assign", |
| 3333 | "parameters" : [ |
| 3334 | { |
| 3335 | "type" : "field", |
| 3336 | "value" : ["int_switch_id", "switch_id"] |
| 3337 | }, |
| 3338 | { |
| 3339 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3340 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3341 | } |
| 3342 | ], |
| 3343 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3344 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3345 | "line" : 41, |
| 3346 | "column" : 8, |
| 3347 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 3348 | } |
| 3349 | } |
| 3350 | ] |
| 3351 | }, |
| 3352 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3353 | "name" : "egress.process_int_transit.int_set_header_0003_i11", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3354 | "id" : 34, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3355 | "runtime_data" : [], |
| 3356 | "primitives" : [ |
| 3357 | { |
| 3358 | "op" : "add_header", |
| 3359 | "parameters" : [ |
| 3360 | { |
| 3361 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3362 | "value" : "int_q_occupancy" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3363 | } |
| 3364 | ], |
| 3365 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3366 | "filename" : "include/int_transit.p4", |
| 3367 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3368 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3369 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3370 | } |
| 3371 | }, |
| 3372 | { |
| 3373 | "op" : "assign", |
| 3374 | "parameters" : [ |
| 3375 | { |
| 3376 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3377 | "value" : ["int_q_occupancy", "q_id"] |
| 3378 | }, |
| 3379 | { |
| 3380 | "type" : "hexstr", |
| 3381 | "value" : "0x00" |
| 3382 | } |
| 3383 | ], |
| 3384 | "source_info" : { |
| 3385 | "filename" : "include/int_transit.p4", |
| 3386 | "line" : 58, |
| 3387 | "column" : 8, |
| 3388 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 3389 | } |
| 3390 | }, |
| 3391 | { |
| 3392 | "op" : "assign", |
| 3393 | "parameters" : [ |
| 3394 | { |
| 3395 | "type" : "field", |
| 3396 | "value" : ["int_q_occupancy", "q_occupancy"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3397 | }, |
| 3398 | { |
| 3399 | "type" : "expression", |
| 3400 | "value" : { |
| 3401 | "type" : "expression", |
| 3402 | "value" : { |
| 3403 | "op" : "&", |
| 3404 | "left" : { |
| 3405 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3406 | "value" : ["standard_metadata", "deq_qdepth"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3407 | }, |
| 3408 | "right" : { |
| 3409 | "type" : "hexstr", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3410 | "value" : "0xffffff" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3411 | } |
| 3412 | } |
| 3413 | } |
| 3414 | } |
| 3415 | ], |
| 3416 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3417 | "filename" : "include/int_transit.p4", |
| 3418 | "line" : 61, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3419 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3420 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 3421 | } |
| 3422 | }, |
| 3423 | { |
| 3424 | "op" : "add_header", |
| 3425 | "parameters" : [ |
| 3426 | { |
| 3427 | "type" : "header", |
| 3428 | "value" : "int_hop_latency" |
| 3429 | } |
| 3430 | ], |
| 3431 | "source_info" : { |
| 3432 | "filename" : "include/int_transit.p4", |
| 3433 | "line" : 51, |
| 3434 | "column" : 8, |
| 3435 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3436 | } |
| 3437 | }, |
| 3438 | { |
| 3439 | "op" : "assign", |
| 3440 | "parameters" : [ |
| 3441 | { |
| 3442 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3443 | "value" : ["int_hop_latency", "hop_latency"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3444 | }, |
| 3445 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3446 | "type" : "field", |
| 3447 | "value" : ["standard_metadata", "deq_timedelta"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3448 | } |
| 3449 | ], |
| 3450 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3451 | "filename" : "include/int_transit.p4", |
| 3452 | "line" : 52, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3453 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3454 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3455 | } |
| 3456 | }, |
| 3457 | { |
| 3458 | "op" : "add_header", |
| 3459 | "parameters" : [ |
| 3460 | { |
| 3461 | "type" : "header", |
| 3462 | "value" : "int_switch_id" |
| 3463 | } |
| 3464 | ], |
| 3465 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3466 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3467 | "line" : 40, |
| 3468 | "column" : 8, |
| 3469 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3470 | } |
| 3471 | }, |
| 3472 | { |
| 3473 | "op" : "assign", |
| 3474 | "parameters" : [ |
| 3475 | { |
| 3476 | "type" : "field", |
| 3477 | "value" : ["int_switch_id", "switch_id"] |
| 3478 | }, |
| 3479 | { |
| 3480 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3481 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3482 | } |
| 3483 | ], |
| 3484 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3485 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3486 | "line" : 41, |
| 3487 | "column" : 8, |
| 3488 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 3489 | } |
| 3490 | } |
| 3491 | ] |
| 3492 | }, |
| 3493 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3494 | "name" : "egress.process_int_transit.int_set_header_0003_i12", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3495 | "id" : 35, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3496 | "runtime_data" : [], |
| 3497 | "primitives" : [ |
| 3498 | { |
| 3499 | "op" : "add_header", |
| 3500 | "parameters" : [ |
| 3501 | { |
| 3502 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3503 | "value" : "int_port_ids" |
| 3504 | } |
| 3505 | ], |
| 3506 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3507 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3508 | "line" : 44, |
| 3509 | "column" : 8, |
| 3510 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 3511 | } |
| 3512 | }, |
| 3513 | { |
| 3514 | "op" : "assign", |
| 3515 | "parameters" : [ |
| 3516 | { |
| 3517 | "type" : "field", |
| 3518 | "value" : ["int_port_ids", "ingress_port_id"] |
| 3519 | }, |
| 3520 | { |
| 3521 | "type" : "expression", |
| 3522 | "value" : { |
| 3523 | "type" : "expression", |
| 3524 | "value" : { |
| 3525 | "op" : "&", |
| 3526 | "left" : { |
| 3527 | "type" : "field", |
| 3528 | "value" : ["standard_metadata", "ingress_port"] |
| 3529 | }, |
| 3530 | "right" : { |
| 3531 | "type" : "hexstr", |
| 3532 | "value" : "0xffff" |
| 3533 | } |
| 3534 | } |
| 3535 | } |
| 3536 | } |
| 3537 | ], |
| 3538 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3539 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3540 | "line" : 45, |
| 3541 | "column" : 8, |
| 3542 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 3543 | } |
| 3544 | }, |
| 3545 | { |
| 3546 | "op" : "assign", |
| 3547 | "parameters" : [ |
| 3548 | { |
| 3549 | "type" : "field", |
| 3550 | "value" : ["int_port_ids", "egress_port_id"] |
| 3551 | }, |
| 3552 | { |
| 3553 | "type" : "expression", |
| 3554 | "value" : { |
| 3555 | "type" : "expression", |
| 3556 | "value" : { |
| 3557 | "op" : "&", |
| 3558 | "left" : { |
| 3559 | "type" : "field", |
| 3560 | "value" : ["standard_metadata", "egress_port"] |
| 3561 | }, |
| 3562 | "right" : { |
| 3563 | "type" : "hexstr", |
| 3564 | "value" : "0xffff" |
| 3565 | } |
| 3566 | } |
| 3567 | } |
| 3568 | } |
| 3569 | ], |
| 3570 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3571 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3572 | "line" : 47, |
| 3573 | "column" : 8, |
| 3574 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 3575 | } |
| 3576 | }, |
| 3577 | { |
| 3578 | "op" : "add_header", |
| 3579 | "parameters" : [ |
| 3580 | { |
| 3581 | "type" : "header", |
| 3582 | "value" : "int_switch_id" |
| 3583 | } |
| 3584 | ], |
| 3585 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3586 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3587 | "line" : 40, |
| 3588 | "column" : 8, |
| 3589 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3590 | } |
| 3591 | }, |
| 3592 | { |
| 3593 | "op" : "assign", |
| 3594 | "parameters" : [ |
| 3595 | { |
| 3596 | "type" : "field", |
| 3597 | "value" : ["int_switch_id", "switch_id"] |
| 3598 | }, |
| 3599 | { |
| 3600 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3601 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3602 | } |
| 3603 | ], |
| 3604 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3605 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3606 | "line" : 41, |
| 3607 | "column" : 8, |
| 3608 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 3609 | } |
| 3610 | } |
| 3611 | ] |
| 3612 | }, |
| 3613 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3614 | "name" : "egress.process_int_transit.int_set_header_0003_i13", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3615 | "id" : 36, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3616 | "runtime_data" : [], |
| 3617 | "primitives" : [ |
| 3618 | { |
| 3619 | "op" : "add_header", |
| 3620 | "parameters" : [ |
| 3621 | { |
| 3622 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3623 | "value" : "int_q_occupancy" |
| 3624 | } |
| 3625 | ], |
| 3626 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3627 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3628 | "line" : 57, |
| 3629 | "column" : 8, |
| 3630 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 3631 | } |
| 3632 | }, |
| 3633 | { |
| 3634 | "op" : "assign", |
| 3635 | "parameters" : [ |
| 3636 | { |
| 3637 | "type" : "field", |
| 3638 | "value" : ["int_q_occupancy", "q_id"] |
| 3639 | }, |
| 3640 | { |
| 3641 | "type" : "hexstr", |
| 3642 | "value" : "0x00" |
| 3643 | } |
| 3644 | ], |
| 3645 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3646 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3647 | "line" : 58, |
| 3648 | "column" : 8, |
| 3649 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 3650 | } |
| 3651 | }, |
| 3652 | { |
| 3653 | "op" : "assign", |
| 3654 | "parameters" : [ |
| 3655 | { |
| 3656 | "type" : "field", |
| 3657 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 3658 | }, |
| 3659 | { |
| 3660 | "type" : "expression", |
| 3661 | "value" : { |
| 3662 | "type" : "expression", |
| 3663 | "value" : { |
| 3664 | "op" : "&", |
| 3665 | "left" : { |
| 3666 | "type" : "field", |
| 3667 | "value" : ["standard_metadata", "deq_qdepth"] |
| 3668 | }, |
| 3669 | "right" : { |
| 3670 | "type" : "hexstr", |
| 3671 | "value" : "0xffffff" |
| 3672 | } |
| 3673 | } |
| 3674 | } |
| 3675 | } |
| 3676 | ], |
| 3677 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3678 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3679 | "line" : 61, |
| 3680 | "column" : 8, |
| 3681 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 3682 | } |
| 3683 | }, |
| 3684 | { |
| 3685 | "op" : "add_header", |
| 3686 | "parameters" : [ |
| 3687 | { |
| 3688 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3689 | "value" : "int_port_ids" |
| 3690 | } |
| 3691 | ], |
| 3692 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3693 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3694 | "line" : 44, |
| 3695 | "column" : 8, |
| 3696 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 3697 | } |
| 3698 | }, |
| 3699 | { |
| 3700 | "op" : "assign", |
| 3701 | "parameters" : [ |
| 3702 | { |
| 3703 | "type" : "field", |
| 3704 | "value" : ["int_port_ids", "ingress_port_id"] |
| 3705 | }, |
| 3706 | { |
| 3707 | "type" : "expression", |
| 3708 | "value" : { |
| 3709 | "type" : "expression", |
| 3710 | "value" : { |
| 3711 | "op" : "&", |
| 3712 | "left" : { |
| 3713 | "type" : "field", |
| 3714 | "value" : ["standard_metadata", "ingress_port"] |
| 3715 | }, |
| 3716 | "right" : { |
| 3717 | "type" : "hexstr", |
| 3718 | "value" : "0xffff" |
| 3719 | } |
| 3720 | } |
| 3721 | } |
| 3722 | } |
| 3723 | ], |
| 3724 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3725 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3726 | "line" : 45, |
| 3727 | "column" : 8, |
| 3728 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 3729 | } |
| 3730 | }, |
| 3731 | { |
| 3732 | "op" : "assign", |
| 3733 | "parameters" : [ |
| 3734 | { |
| 3735 | "type" : "field", |
| 3736 | "value" : ["int_port_ids", "egress_port_id"] |
| 3737 | }, |
| 3738 | { |
| 3739 | "type" : "expression", |
| 3740 | "value" : { |
| 3741 | "type" : "expression", |
| 3742 | "value" : { |
| 3743 | "op" : "&", |
| 3744 | "left" : { |
| 3745 | "type" : "field", |
| 3746 | "value" : ["standard_metadata", "egress_port"] |
| 3747 | }, |
| 3748 | "right" : { |
| 3749 | "type" : "hexstr", |
| 3750 | "value" : "0xffff" |
| 3751 | } |
| 3752 | } |
| 3753 | } |
| 3754 | } |
| 3755 | ], |
| 3756 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3757 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3758 | "line" : 47, |
| 3759 | "column" : 8, |
| 3760 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 3761 | } |
| 3762 | }, |
| 3763 | { |
| 3764 | "op" : "add_header", |
| 3765 | "parameters" : [ |
| 3766 | { |
| 3767 | "type" : "header", |
| 3768 | "value" : "int_switch_id" |
| 3769 | } |
| 3770 | ], |
| 3771 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3772 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3773 | "line" : 40, |
| 3774 | "column" : 8, |
| 3775 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3776 | } |
| 3777 | }, |
| 3778 | { |
| 3779 | "op" : "assign", |
| 3780 | "parameters" : [ |
| 3781 | { |
| 3782 | "type" : "field", |
| 3783 | "value" : ["int_switch_id", "switch_id"] |
| 3784 | }, |
| 3785 | { |
| 3786 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3787 | "value" : ["userMetadata.int_meta", "switch_id"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3788 | } |
| 3789 | ], |
| 3790 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3791 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3792 | "line" : 41, |
| 3793 | "column" : 8, |
| 3794 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 3795 | } |
| 3796 | } |
| 3797 | ] |
| 3798 | }, |
| 3799 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3800 | "name" : "egress.process_int_transit.int_set_header_0003_i14", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3801 | "id" : 37, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3802 | "runtime_data" : [], |
| 3803 | "primitives" : [ |
| 3804 | { |
| 3805 | "op" : "add_header", |
| 3806 | "parameters" : [ |
| 3807 | { |
| 3808 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3809 | "value" : "int_hop_latency" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3810 | } |
| 3811 | ], |
| 3812 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3813 | "filename" : "include/int_transit.p4", |
| 3814 | "line" : 51, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3815 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3816 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3817 | } |
| 3818 | }, |
| 3819 | { |
| 3820 | "op" : "assign", |
| 3821 | "parameters" : [ |
| 3822 | { |
| 3823 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3824 | "value" : ["int_hop_latency", "hop_latency"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3825 | }, |
| 3826 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3827 | "type" : "field", |
| 3828 | "value" : ["standard_metadata", "deq_timedelta"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3829 | } |
| 3830 | ], |
| 3831 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3832 | "filename" : "include/int_transit.p4", |
| 3833 | "line" : 52, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3834 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3835 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
| 3836 | } |
| 3837 | }, |
| 3838 | { |
| 3839 | "op" : "add_header", |
| 3840 | "parameters" : [ |
| 3841 | { |
| 3842 | "type" : "header", |
| 3843 | "value" : "int_port_ids" |
| 3844 | } |
| 3845 | ], |
| 3846 | "source_info" : { |
| 3847 | "filename" : "include/int_transit.p4", |
| 3848 | "line" : 44, |
| 3849 | "column" : 8, |
| 3850 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 3851 | } |
| 3852 | }, |
| 3853 | { |
| 3854 | "op" : "assign", |
| 3855 | "parameters" : [ |
| 3856 | { |
| 3857 | "type" : "field", |
| 3858 | "value" : ["int_port_ids", "ingress_port_id"] |
| 3859 | }, |
| 3860 | { |
| 3861 | "type" : "expression", |
| 3862 | "value" : { |
| 3863 | "type" : "expression", |
| 3864 | "value" : { |
| 3865 | "op" : "&", |
| 3866 | "left" : { |
| 3867 | "type" : "field", |
| 3868 | "value" : ["standard_metadata", "ingress_port"] |
| 3869 | }, |
| 3870 | "right" : { |
| 3871 | "type" : "hexstr", |
| 3872 | "value" : "0xffff" |
| 3873 | } |
| 3874 | } |
| 3875 | } |
| 3876 | } |
| 3877 | ], |
| 3878 | "source_info" : { |
| 3879 | "filename" : "include/int_transit.p4", |
| 3880 | "line" : 45, |
| 3881 | "column" : 8, |
| 3882 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 3883 | } |
| 3884 | }, |
| 3885 | { |
| 3886 | "op" : "assign", |
| 3887 | "parameters" : [ |
| 3888 | { |
| 3889 | "type" : "field", |
| 3890 | "value" : ["int_port_ids", "egress_port_id"] |
| 3891 | }, |
| 3892 | { |
| 3893 | "type" : "expression", |
| 3894 | "value" : { |
| 3895 | "type" : "expression", |
| 3896 | "value" : { |
| 3897 | "op" : "&", |
| 3898 | "left" : { |
| 3899 | "type" : "field", |
| 3900 | "value" : ["standard_metadata", "egress_port"] |
| 3901 | }, |
| 3902 | "right" : { |
| 3903 | "type" : "hexstr", |
| 3904 | "value" : "0xffff" |
| 3905 | } |
| 3906 | } |
| 3907 | } |
| 3908 | } |
| 3909 | ], |
| 3910 | "source_info" : { |
| 3911 | "filename" : "include/int_transit.p4", |
| 3912 | "line" : 47, |
| 3913 | "column" : 8, |
| 3914 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 3915 | } |
| 3916 | }, |
| 3917 | { |
| 3918 | "op" : "add_header", |
| 3919 | "parameters" : [ |
| 3920 | { |
| 3921 | "type" : "header", |
| 3922 | "value" : "int_switch_id" |
| 3923 | } |
| 3924 | ], |
| 3925 | "source_info" : { |
| 3926 | "filename" : "include/int_transit.p4", |
| 3927 | "line" : 40, |
| 3928 | "column" : 8, |
| 3929 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3930 | } |
| 3931 | }, |
| 3932 | { |
| 3933 | "op" : "assign", |
| 3934 | "parameters" : [ |
| 3935 | { |
| 3936 | "type" : "field", |
| 3937 | "value" : ["int_switch_id", "switch_id"] |
| 3938 | }, |
| 3939 | { |
| 3940 | "type" : "field", |
| 3941 | "value" : ["userMetadata.int_meta", "switch_id"] |
| 3942 | } |
| 3943 | ], |
| 3944 | "source_info" : { |
| 3945 | "filename" : "include/int_transit.p4", |
| 3946 | "line" : 41, |
| 3947 | "column" : 8, |
| 3948 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 3949 | } |
| 3950 | } |
| 3951 | ] |
| 3952 | }, |
| 3953 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3954 | "name" : "egress.process_int_transit.int_set_header_0003_i15", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 3955 | "id" : 38, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 3956 | "runtime_data" : [], |
| 3957 | "primitives" : [ |
| 3958 | { |
| 3959 | "op" : "add_header", |
| 3960 | "parameters" : [ |
| 3961 | { |
| 3962 | "type" : "header", |
| 3963 | "value" : "int_q_occupancy" |
| 3964 | } |
| 3965 | ], |
| 3966 | "source_info" : { |
| 3967 | "filename" : "include/int_transit.p4", |
| 3968 | "line" : 57, |
| 3969 | "column" : 8, |
| 3970 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 3971 | } |
| 3972 | }, |
| 3973 | { |
| 3974 | "op" : "assign", |
| 3975 | "parameters" : [ |
| 3976 | { |
| 3977 | "type" : "field", |
| 3978 | "value" : ["int_q_occupancy", "q_id"] |
| 3979 | }, |
| 3980 | { |
| 3981 | "type" : "hexstr", |
| 3982 | "value" : "0x00" |
| 3983 | } |
| 3984 | ], |
| 3985 | "source_info" : { |
| 3986 | "filename" : "include/int_transit.p4", |
| 3987 | "line" : 58, |
| 3988 | "column" : 8, |
| 3989 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 3990 | } |
| 3991 | }, |
| 3992 | { |
| 3993 | "op" : "assign", |
| 3994 | "parameters" : [ |
| 3995 | { |
| 3996 | "type" : "field", |
| 3997 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 3998 | }, |
| 3999 | { |
| 4000 | "type" : "expression", |
| 4001 | "value" : { |
| 4002 | "type" : "expression", |
| 4003 | "value" : { |
| 4004 | "op" : "&", |
| 4005 | "left" : { |
| 4006 | "type" : "field", |
| 4007 | "value" : ["standard_metadata", "deq_qdepth"] |
| 4008 | }, |
| 4009 | "right" : { |
| 4010 | "type" : "hexstr", |
| 4011 | "value" : "0xffffff" |
| 4012 | } |
| 4013 | } |
| 4014 | } |
| 4015 | } |
| 4016 | ], |
| 4017 | "source_info" : { |
| 4018 | "filename" : "include/int_transit.p4", |
| 4019 | "line" : 61, |
| 4020 | "column" : 8, |
| 4021 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 4022 | } |
| 4023 | }, |
| 4024 | { |
| 4025 | "op" : "add_header", |
| 4026 | "parameters" : [ |
| 4027 | { |
| 4028 | "type" : "header", |
| 4029 | "value" : "int_hop_latency" |
| 4030 | } |
| 4031 | ], |
| 4032 | "source_info" : { |
| 4033 | "filename" : "include/int_transit.p4", |
| 4034 | "line" : 51, |
| 4035 | "column" : 8, |
| 4036 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 4037 | } |
| 4038 | }, |
| 4039 | { |
| 4040 | "op" : "assign", |
| 4041 | "parameters" : [ |
| 4042 | { |
| 4043 | "type" : "field", |
| 4044 | "value" : ["int_hop_latency", "hop_latency"] |
| 4045 | }, |
| 4046 | { |
| 4047 | "type" : "field", |
| 4048 | "value" : ["standard_metadata", "deq_timedelta"] |
| 4049 | } |
| 4050 | ], |
| 4051 | "source_info" : { |
| 4052 | "filename" : "include/int_transit.p4", |
| 4053 | "line" : 52, |
| 4054 | "column" : 8, |
| 4055 | "source_fragment" : "hdr.int_hop_latency.hop_latency = ..." |
| 4056 | } |
| 4057 | }, |
| 4058 | { |
| 4059 | "op" : "add_header", |
| 4060 | "parameters" : [ |
| 4061 | { |
| 4062 | "type" : "header", |
| 4063 | "value" : "int_port_ids" |
| 4064 | } |
| 4065 | ], |
| 4066 | "source_info" : { |
| 4067 | "filename" : "include/int_transit.p4", |
| 4068 | "line" : 44, |
| 4069 | "column" : 8, |
| 4070 | "source_fragment" : "hdr.int_port_ids.setValid()" |
| 4071 | } |
| 4072 | }, |
| 4073 | { |
| 4074 | "op" : "assign", |
| 4075 | "parameters" : [ |
| 4076 | { |
| 4077 | "type" : "field", |
| 4078 | "value" : ["int_port_ids", "ingress_port_id"] |
| 4079 | }, |
| 4080 | { |
| 4081 | "type" : "expression", |
| 4082 | "value" : { |
| 4083 | "type" : "expression", |
| 4084 | "value" : { |
| 4085 | "op" : "&", |
| 4086 | "left" : { |
| 4087 | "type" : "field", |
| 4088 | "value" : ["standard_metadata", "ingress_port"] |
| 4089 | }, |
| 4090 | "right" : { |
| 4091 | "type" : "hexstr", |
| 4092 | "value" : "0xffff" |
| 4093 | } |
| 4094 | } |
| 4095 | } |
| 4096 | } |
| 4097 | ], |
| 4098 | "source_info" : { |
| 4099 | "filename" : "include/int_transit.p4", |
| 4100 | "line" : 45, |
| 4101 | "column" : 8, |
| 4102 | "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..." |
| 4103 | } |
| 4104 | }, |
| 4105 | { |
| 4106 | "op" : "assign", |
| 4107 | "parameters" : [ |
| 4108 | { |
| 4109 | "type" : "field", |
| 4110 | "value" : ["int_port_ids", "egress_port_id"] |
| 4111 | }, |
| 4112 | { |
| 4113 | "type" : "expression", |
| 4114 | "value" : { |
| 4115 | "type" : "expression", |
| 4116 | "value" : { |
| 4117 | "op" : "&", |
| 4118 | "left" : { |
| 4119 | "type" : "field", |
| 4120 | "value" : ["standard_metadata", "egress_port"] |
| 4121 | }, |
| 4122 | "right" : { |
| 4123 | "type" : "hexstr", |
| 4124 | "value" : "0xffff" |
| 4125 | } |
| 4126 | } |
| 4127 | } |
| 4128 | } |
| 4129 | ], |
| 4130 | "source_info" : { |
| 4131 | "filename" : "include/int_transit.p4", |
| 4132 | "line" : 47, |
| 4133 | "column" : 8, |
| 4134 | "source_fragment" : "hdr.int_port_ids.egress_port_id = ..." |
| 4135 | } |
| 4136 | }, |
| 4137 | { |
| 4138 | "op" : "add_header", |
| 4139 | "parameters" : [ |
| 4140 | { |
| 4141 | "type" : "header", |
| 4142 | "value" : "int_switch_id" |
| 4143 | } |
| 4144 | ], |
| 4145 | "source_info" : { |
| 4146 | "filename" : "include/int_transit.p4", |
| 4147 | "line" : 40, |
| 4148 | "column" : 8, |
| 4149 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 4150 | } |
| 4151 | }, |
| 4152 | { |
| 4153 | "op" : "assign", |
| 4154 | "parameters" : [ |
| 4155 | { |
| 4156 | "type" : "field", |
| 4157 | "value" : ["int_switch_id", "switch_id"] |
| 4158 | }, |
| 4159 | { |
| 4160 | "type" : "field", |
| 4161 | "value" : ["userMetadata.int_meta", "switch_id"] |
| 4162 | } |
| 4163 | ], |
| 4164 | "source_info" : { |
| 4165 | "filename" : "include/int_transit.p4", |
| 4166 | "line" : 41, |
| 4167 | "column" : 8, |
| 4168 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id" |
| 4169 | } |
| 4170 | } |
| 4171 | ] |
| 4172 | }, |
| 4173 | { |
| 4174 | "name" : "egress.process_int_transit.int_set_header_0407_i0", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4175 | "id" : 39, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4176 | "runtime_data" : [], |
| 4177 | "primitives" : [] |
| 4178 | }, |
| 4179 | { |
| 4180 | "name" : "egress.process_int_transit.int_set_header_0407_i1", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4181 | "id" : 40, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4182 | "runtime_data" : [], |
| 4183 | "primitives" : [ |
| 4184 | { |
| 4185 | "op" : "add_header", |
| 4186 | "parameters" : [ |
| 4187 | { |
| 4188 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4189 | "value" : "int_egress_tx_util" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4190 | } |
| 4191 | ], |
| 4192 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4193 | "filename" : "include/int_transit.p4", |
| 4194 | "line" : 88, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4195 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4196 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4197 | } |
| 4198 | }, |
| 4199 | { |
| 4200 | "op" : "assign", |
| 4201 | "parameters" : [ |
| 4202 | { |
| 4203 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4204 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4205 | }, |
| 4206 | { |
| 4207 | "type" : "hexstr", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4208 | "value" : "0x00000000" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4209 | } |
| 4210 | ], |
| 4211 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4212 | "filename" : "include/int_transit.p4", |
| 4213 | "line" : 89, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4214 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4215 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4216 | } |
| 4217 | } |
| 4218 | ] |
| 4219 | }, |
| 4220 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4221 | "name" : "egress.process_int_transit.int_set_header_0407_i2", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4222 | "id" : 41, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4223 | "runtime_data" : [], |
| 4224 | "primitives" : [ |
| 4225 | { |
| 4226 | "op" : "add_header", |
| 4227 | "parameters" : [ |
| 4228 | { |
| 4229 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4230 | "value" : "int_q_congestion" |
| 4231 | } |
| 4232 | ], |
| 4233 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4234 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4235 | "line" : 78, |
| 4236 | "column" : 8, |
| 4237 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 4238 | } |
| 4239 | }, |
| 4240 | { |
| 4241 | "op" : "assign", |
| 4242 | "parameters" : [ |
| 4243 | { |
| 4244 | "type" : "field", |
| 4245 | "value" : ["int_q_congestion", "q_id"] |
| 4246 | }, |
| 4247 | { |
| 4248 | "type" : "hexstr", |
| 4249 | "value" : "0x00" |
| 4250 | } |
| 4251 | ], |
| 4252 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4253 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4254 | "line" : 79, |
| 4255 | "column" : 8, |
| 4256 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 4257 | } |
| 4258 | }, |
| 4259 | { |
| 4260 | "op" : "assign", |
| 4261 | "parameters" : [ |
| 4262 | { |
| 4263 | "type" : "field", |
| 4264 | "value" : ["int_q_congestion", "q_congestion"] |
| 4265 | }, |
| 4266 | { |
| 4267 | "type" : "hexstr", |
| 4268 | "value" : "0x000000" |
| 4269 | } |
| 4270 | ], |
| 4271 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4272 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4273 | "line" : 82, |
| 4274 | "column" : 8, |
| 4275 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
| 4276 | } |
| 4277 | } |
| 4278 | ] |
| 4279 | }, |
| 4280 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4281 | "name" : "egress.process_int_transit.int_set_header_0407_i3", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4282 | "id" : 42, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4283 | "runtime_data" : [], |
| 4284 | "primitives" : [ |
| 4285 | { |
| 4286 | "op" : "add_header", |
| 4287 | "parameters" : [ |
| 4288 | { |
| 4289 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4290 | "value" : "int_egress_tx_util" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4291 | } |
| 4292 | ], |
| 4293 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4294 | "filename" : "include/int_transit.p4", |
| 4295 | "line" : 88, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4296 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4297 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4298 | } |
| 4299 | }, |
| 4300 | { |
| 4301 | "op" : "assign", |
| 4302 | "parameters" : [ |
| 4303 | { |
| 4304 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4305 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4306 | }, |
| 4307 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4308 | "type" : "hexstr", |
| 4309 | "value" : "0x00000000" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4310 | } |
| 4311 | ], |
| 4312 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4313 | "filename" : "include/int_transit.p4", |
| 4314 | "line" : 89, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4315 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4316 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 4317 | } |
| 4318 | }, |
| 4319 | { |
| 4320 | "op" : "add_header", |
| 4321 | "parameters" : [ |
| 4322 | { |
| 4323 | "type" : "header", |
| 4324 | "value" : "int_q_congestion" |
| 4325 | } |
| 4326 | ], |
| 4327 | "source_info" : { |
| 4328 | "filename" : "include/int_transit.p4", |
| 4329 | "line" : 78, |
| 4330 | "column" : 8, |
| 4331 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 4332 | } |
| 4333 | }, |
| 4334 | { |
| 4335 | "op" : "assign", |
| 4336 | "parameters" : [ |
| 4337 | { |
| 4338 | "type" : "field", |
| 4339 | "value" : ["int_q_congestion", "q_id"] |
| 4340 | }, |
| 4341 | { |
| 4342 | "type" : "hexstr", |
| 4343 | "value" : "0x00" |
| 4344 | } |
| 4345 | ], |
| 4346 | "source_info" : { |
| 4347 | "filename" : "include/int_transit.p4", |
| 4348 | "line" : 79, |
| 4349 | "column" : 8, |
| 4350 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 4351 | } |
| 4352 | }, |
| 4353 | { |
| 4354 | "op" : "assign", |
| 4355 | "parameters" : [ |
| 4356 | { |
| 4357 | "type" : "field", |
| 4358 | "value" : ["int_q_congestion", "q_congestion"] |
| 4359 | }, |
| 4360 | { |
| 4361 | "type" : "hexstr", |
| 4362 | "value" : "0x000000" |
| 4363 | } |
| 4364 | ], |
| 4365 | "source_info" : { |
| 4366 | "filename" : "include/int_transit.p4", |
| 4367 | "line" : 82, |
| 4368 | "column" : 8, |
| 4369 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4370 | } |
| 4371 | } |
| 4372 | ] |
| 4373 | }, |
| 4374 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4375 | "name" : "egress.process_int_transit.int_set_header_0407_i4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4376 | "id" : 43, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4377 | "runtime_data" : [], |
| 4378 | "primitives" : [ |
| 4379 | { |
| 4380 | "op" : "add_header", |
| 4381 | "parameters" : [ |
| 4382 | { |
| 4383 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4384 | "value" : "int_egress_tstamp" |
| 4385 | } |
| 4386 | ], |
| 4387 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4388 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4389 | "line" : 70, |
| 4390 | "column" : 8, |
| 4391 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 4392 | } |
| 4393 | }, |
| 4394 | { |
| 4395 | "op" : "assign", |
| 4396 | "parameters" : [ |
| 4397 | { |
| 4398 | "type" : "field", |
| 4399 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 4400 | }, |
| 4401 | { |
| 4402 | "type" : "expression", |
| 4403 | "value" : { |
| 4404 | "type" : "expression", |
| 4405 | "value" : { |
| 4406 | "op" : "&", |
| 4407 | "left" : { |
| 4408 | "type" : "expression", |
| 4409 | "value" : { |
| 4410 | "op" : "+", |
| 4411 | "left" : { |
| 4412 | "type" : "field", |
| 4413 | "value" : ["standard_metadata", "enq_timestamp"] |
| 4414 | }, |
| 4415 | "right" : { |
| 4416 | "type" : "field", |
| 4417 | "value" : ["standard_metadata", "deq_timedelta"] |
| 4418 | } |
| 4419 | } |
| 4420 | }, |
| 4421 | "right" : { |
| 4422 | "type" : "hexstr", |
| 4423 | "value" : "0xffffffff" |
| 4424 | } |
| 4425 | } |
| 4426 | } |
| 4427 | } |
| 4428 | ], |
| 4429 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4430 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4431 | "line" : 71, |
| 4432 | "column" : 8, |
| 4433 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 4434 | } |
| 4435 | } |
| 4436 | ] |
| 4437 | }, |
| 4438 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4439 | "name" : "egress.process_int_transit.int_set_header_0407_i5", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4440 | "id" : 44, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4441 | "runtime_data" : [], |
| 4442 | "primitives" : [ |
| 4443 | { |
| 4444 | "op" : "add_header", |
| 4445 | "parameters" : [ |
| 4446 | { |
| 4447 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4448 | "value" : "int_egress_tx_util" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4449 | } |
| 4450 | ], |
| 4451 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4452 | "filename" : "include/int_transit.p4", |
| 4453 | "line" : 88, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4454 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4455 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4456 | } |
| 4457 | }, |
| 4458 | { |
| 4459 | "op" : "assign", |
| 4460 | "parameters" : [ |
| 4461 | { |
| 4462 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4463 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4464 | }, |
| 4465 | { |
| 4466 | "type" : "hexstr", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4467 | "value" : "0x00000000" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4468 | } |
| 4469 | ], |
| 4470 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4471 | "filename" : "include/int_transit.p4", |
| 4472 | "line" : 89, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4473 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4474 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4475 | } |
| 4476 | }, |
| 4477 | { |
| 4478 | "op" : "add_header", |
| 4479 | "parameters" : [ |
| 4480 | { |
| 4481 | "type" : "header", |
| 4482 | "value" : "int_egress_tstamp" |
| 4483 | } |
| 4484 | ], |
| 4485 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4486 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4487 | "line" : 70, |
| 4488 | "column" : 8, |
| 4489 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 4490 | } |
| 4491 | }, |
| 4492 | { |
| 4493 | "op" : "assign", |
| 4494 | "parameters" : [ |
| 4495 | { |
| 4496 | "type" : "field", |
| 4497 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 4498 | }, |
| 4499 | { |
| 4500 | "type" : "expression", |
| 4501 | "value" : { |
| 4502 | "type" : "expression", |
| 4503 | "value" : { |
| 4504 | "op" : "&", |
| 4505 | "left" : { |
| 4506 | "type" : "expression", |
| 4507 | "value" : { |
| 4508 | "op" : "+", |
| 4509 | "left" : { |
| 4510 | "type" : "field", |
| 4511 | "value" : ["standard_metadata", "enq_timestamp"] |
| 4512 | }, |
| 4513 | "right" : { |
| 4514 | "type" : "field", |
| 4515 | "value" : ["standard_metadata", "deq_timedelta"] |
| 4516 | } |
| 4517 | } |
| 4518 | }, |
| 4519 | "right" : { |
| 4520 | "type" : "hexstr", |
| 4521 | "value" : "0xffffffff" |
| 4522 | } |
| 4523 | } |
| 4524 | } |
| 4525 | } |
| 4526 | ], |
| 4527 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4528 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4529 | "line" : 71, |
| 4530 | "column" : 8, |
| 4531 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 4532 | } |
| 4533 | } |
| 4534 | ] |
| 4535 | }, |
| 4536 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4537 | "name" : "egress.process_int_transit.int_set_header_0407_i6", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4538 | "id" : 45, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4539 | "runtime_data" : [], |
| 4540 | "primitives" : [ |
| 4541 | { |
| 4542 | "op" : "add_header", |
| 4543 | "parameters" : [ |
| 4544 | { |
| 4545 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4546 | "value" : "int_q_congestion" |
| 4547 | } |
| 4548 | ], |
| 4549 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4550 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4551 | "line" : 78, |
| 4552 | "column" : 8, |
| 4553 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 4554 | } |
| 4555 | }, |
| 4556 | { |
| 4557 | "op" : "assign", |
| 4558 | "parameters" : [ |
| 4559 | { |
| 4560 | "type" : "field", |
| 4561 | "value" : ["int_q_congestion", "q_id"] |
| 4562 | }, |
| 4563 | { |
| 4564 | "type" : "hexstr", |
| 4565 | "value" : "0x00" |
| 4566 | } |
| 4567 | ], |
| 4568 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4569 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4570 | "line" : 79, |
| 4571 | "column" : 8, |
| 4572 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 4573 | } |
| 4574 | }, |
| 4575 | { |
| 4576 | "op" : "assign", |
| 4577 | "parameters" : [ |
| 4578 | { |
| 4579 | "type" : "field", |
| 4580 | "value" : ["int_q_congestion", "q_congestion"] |
| 4581 | }, |
| 4582 | { |
| 4583 | "type" : "hexstr", |
| 4584 | "value" : "0x000000" |
| 4585 | } |
| 4586 | ], |
| 4587 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4588 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4589 | "line" : 82, |
| 4590 | "column" : 8, |
| 4591 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
| 4592 | } |
| 4593 | }, |
| 4594 | { |
| 4595 | "op" : "add_header", |
| 4596 | "parameters" : [ |
| 4597 | { |
| 4598 | "type" : "header", |
| 4599 | "value" : "int_egress_tstamp" |
| 4600 | } |
| 4601 | ], |
| 4602 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4603 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4604 | "line" : 70, |
| 4605 | "column" : 8, |
| 4606 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 4607 | } |
| 4608 | }, |
| 4609 | { |
| 4610 | "op" : "assign", |
| 4611 | "parameters" : [ |
| 4612 | { |
| 4613 | "type" : "field", |
| 4614 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 4615 | }, |
| 4616 | { |
| 4617 | "type" : "expression", |
| 4618 | "value" : { |
| 4619 | "type" : "expression", |
| 4620 | "value" : { |
| 4621 | "op" : "&", |
| 4622 | "left" : { |
| 4623 | "type" : "expression", |
| 4624 | "value" : { |
| 4625 | "op" : "+", |
| 4626 | "left" : { |
| 4627 | "type" : "field", |
| 4628 | "value" : ["standard_metadata", "enq_timestamp"] |
| 4629 | }, |
| 4630 | "right" : { |
| 4631 | "type" : "field", |
| 4632 | "value" : ["standard_metadata", "deq_timedelta"] |
| 4633 | } |
| 4634 | } |
| 4635 | }, |
| 4636 | "right" : { |
| 4637 | "type" : "hexstr", |
| 4638 | "value" : "0xffffffff" |
| 4639 | } |
| 4640 | } |
| 4641 | } |
| 4642 | } |
| 4643 | ], |
| 4644 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4645 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4646 | "line" : 71, |
| 4647 | "column" : 8, |
| 4648 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 4649 | } |
| 4650 | } |
| 4651 | ] |
| 4652 | }, |
| 4653 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4654 | "name" : "egress.process_int_transit.int_set_header_0407_i7", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4655 | "id" : 46, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4656 | "runtime_data" : [], |
| 4657 | "primitives" : [ |
| 4658 | { |
| 4659 | "op" : "add_header", |
| 4660 | "parameters" : [ |
| 4661 | { |
| 4662 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4663 | "value" : "int_egress_tx_util" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4664 | } |
| 4665 | ], |
| 4666 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4667 | "filename" : "include/int_transit.p4", |
| 4668 | "line" : 88, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4669 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4670 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4671 | } |
| 4672 | }, |
| 4673 | { |
| 4674 | "op" : "assign", |
| 4675 | "parameters" : [ |
| 4676 | { |
| 4677 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4678 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4679 | }, |
| 4680 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4681 | "type" : "hexstr", |
| 4682 | "value" : "0x00000000" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4683 | } |
| 4684 | ], |
| 4685 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4686 | "filename" : "include/int_transit.p4", |
| 4687 | "line" : 89, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4688 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4689 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 4690 | } |
| 4691 | }, |
| 4692 | { |
| 4693 | "op" : "add_header", |
| 4694 | "parameters" : [ |
| 4695 | { |
| 4696 | "type" : "header", |
| 4697 | "value" : "int_q_congestion" |
| 4698 | } |
| 4699 | ], |
| 4700 | "source_info" : { |
| 4701 | "filename" : "include/int_transit.p4", |
| 4702 | "line" : 78, |
| 4703 | "column" : 8, |
| 4704 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 4705 | } |
| 4706 | }, |
| 4707 | { |
| 4708 | "op" : "assign", |
| 4709 | "parameters" : [ |
| 4710 | { |
| 4711 | "type" : "field", |
| 4712 | "value" : ["int_q_congestion", "q_id"] |
| 4713 | }, |
| 4714 | { |
| 4715 | "type" : "hexstr", |
| 4716 | "value" : "0x00" |
| 4717 | } |
| 4718 | ], |
| 4719 | "source_info" : { |
| 4720 | "filename" : "include/int_transit.p4", |
| 4721 | "line" : 79, |
| 4722 | "column" : 8, |
| 4723 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 4724 | } |
| 4725 | }, |
| 4726 | { |
| 4727 | "op" : "assign", |
| 4728 | "parameters" : [ |
| 4729 | { |
| 4730 | "type" : "field", |
| 4731 | "value" : ["int_q_congestion", "q_congestion"] |
| 4732 | }, |
| 4733 | { |
| 4734 | "type" : "hexstr", |
| 4735 | "value" : "0x000000" |
| 4736 | } |
| 4737 | ], |
| 4738 | "source_info" : { |
| 4739 | "filename" : "include/int_transit.p4", |
| 4740 | "line" : 82, |
| 4741 | "column" : 8, |
| 4742 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
| 4743 | } |
| 4744 | }, |
| 4745 | { |
| 4746 | "op" : "add_header", |
| 4747 | "parameters" : [ |
| 4748 | { |
| 4749 | "type" : "header", |
| 4750 | "value" : "int_egress_tstamp" |
| 4751 | } |
| 4752 | ], |
| 4753 | "source_info" : { |
| 4754 | "filename" : "include/int_transit.p4", |
| 4755 | "line" : 70, |
| 4756 | "column" : 8, |
| 4757 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 4758 | } |
| 4759 | }, |
| 4760 | { |
| 4761 | "op" : "assign", |
| 4762 | "parameters" : [ |
| 4763 | { |
| 4764 | "type" : "field", |
| 4765 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 4766 | }, |
| 4767 | { |
| 4768 | "type" : "expression", |
| 4769 | "value" : { |
| 4770 | "type" : "expression", |
| 4771 | "value" : { |
| 4772 | "op" : "&", |
| 4773 | "left" : { |
| 4774 | "type" : "expression", |
| 4775 | "value" : { |
| 4776 | "op" : "+", |
| 4777 | "left" : { |
| 4778 | "type" : "field", |
| 4779 | "value" : ["standard_metadata", "enq_timestamp"] |
| 4780 | }, |
| 4781 | "right" : { |
| 4782 | "type" : "field", |
| 4783 | "value" : ["standard_metadata", "deq_timedelta"] |
| 4784 | } |
| 4785 | } |
| 4786 | }, |
| 4787 | "right" : { |
| 4788 | "type" : "hexstr", |
| 4789 | "value" : "0xffffffff" |
| 4790 | } |
| 4791 | } |
| 4792 | } |
| 4793 | } |
| 4794 | ], |
| 4795 | "source_info" : { |
| 4796 | "filename" : "include/int_transit.p4", |
| 4797 | "line" : 71, |
| 4798 | "column" : 8, |
| 4799 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4800 | } |
| 4801 | } |
| 4802 | ] |
| 4803 | }, |
| 4804 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4805 | "name" : "egress.process_int_transit.int_set_header_0407_i8", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4806 | "id" : 47, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4807 | "runtime_data" : [], |
| 4808 | "primitives" : [ |
| 4809 | { |
| 4810 | "op" : "add_header", |
| 4811 | "parameters" : [ |
| 4812 | { |
| 4813 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4814 | "value" : "int_ingress_tstamp" |
| 4815 | } |
| 4816 | ], |
| 4817 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4818 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4819 | "line" : 65, |
| 4820 | "column" : 8, |
| 4821 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 4822 | } |
| 4823 | }, |
| 4824 | { |
| 4825 | "op" : "assign", |
| 4826 | "parameters" : [ |
| 4827 | { |
| 4828 | "type" : "field", |
| 4829 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 4830 | }, |
| 4831 | { |
| 4832 | "type" : "field", |
| 4833 | "value" : ["standard_metadata", "enq_timestamp"] |
| 4834 | } |
| 4835 | ], |
| 4836 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4837 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4838 | "line" : 66, |
| 4839 | "column" : 8, |
| 4840 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 4841 | } |
| 4842 | } |
| 4843 | ] |
| 4844 | }, |
| 4845 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4846 | "name" : "egress.process_int_transit.int_set_header_0407_i9", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4847 | "id" : 48, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4848 | "runtime_data" : [], |
| 4849 | "primitives" : [ |
| 4850 | { |
| 4851 | "op" : "add_header", |
| 4852 | "parameters" : [ |
| 4853 | { |
| 4854 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4855 | "value" : "int_egress_tx_util" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4856 | } |
| 4857 | ], |
| 4858 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4859 | "filename" : "include/int_transit.p4", |
| 4860 | "line" : 88, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4861 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4862 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4863 | } |
| 4864 | }, |
| 4865 | { |
| 4866 | "op" : "assign", |
| 4867 | "parameters" : [ |
| 4868 | { |
| 4869 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4870 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4871 | }, |
| 4872 | { |
| 4873 | "type" : "hexstr", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4874 | "value" : "0x00000000" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4875 | } |
| 4876 | ], |
| 4877 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4878 | "filename" : "include/int_transit.p4", |
| 4879 | "line" : 89, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4880 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4881 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4882 | } |
| 4883 | }, |
| 4884 | { |
| 4885 | "op" : "add_header", |
| 4886 | "parameters" : [ |
| 4887 | { |
| 4888 | "type" : "header", |
| 4889 | "value" : "int_ingress_tstamp" |
| 4890 | } |
| 4891 | ], |
| 4892 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4893 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4894 | "line" : 65, |
| 4895 | "column" : 8, |
| 4896 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 4897 | } |
| 4898 | }, |
| 4899 | { |
| 4900 | "op" : "assign", |
| 4901 | "parameters" : [ |
| 4902 | { |
| 4903 | "type" : "field", |
| 4904 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 4905 | }, |
| 4906 | { |
| 4907 | "type" : "field", |
| 4908 | "value" : ["standard_metadata", "enq_timestamp"] |
| 4909 | } |
| 4910 | ], |
| 4911 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4912 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4913 | "line" : 66, |
| 4914 | "column" : 8, |
| 4915 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 4916 | } |
| 4917 | } |
| 4918 | ] |
| 4919 | }, |
| 4920 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4921 | "name" : "egress.process_int_transit.int_set_header_0407_i10", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 4922 | "id" : 49, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4923 | "runtime_data" : [], |
| 4924 | "primitives" : [ |
| 4925 | { |
| 4926 | "op" : "add_header", |
| 4927 | "parameters" : [ |
| 4928 | { |
| 4929 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4930 | "value" : "int_q_congestion" |
| 4931 | } |
| 4932 | ], |
| 4933 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4934 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4935 | "line" : 78, |
| 4936 | "column" : 8, |
| 4937 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 4938 | } |
| 4939 | }, |
| 4940 | { |
| 4941 | "op" : "assign", |
| 4942 | "parameters" : [ |
| 4943 | { |
| 4944 | "type" : "field", |
| 4945 | "value" : ["int_q_congestion", "q_id"] |
| 4946 | }, |
| 4947 | { |
| 4948 | "type" : "hexstr", |
| 4949 | "value" : "0x00" |
| 4950 | } |
| 4951 | ], |
| 4952 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4953 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4954 | "line" : 79, |
| 4955 | "column" : 8, |
| 4956 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 4957 | } |
| 4958 | }, |
| 4959 | { |
| 4960 | "op" : "assign", |
| 4961 | "parameters" : [ |
| 4962 | { |
| 4963 | "type" : "field", |
| 4964 | "value" : ["int_q_congestion", "q_congestion"] |
| 4965 | }, |
| 4966 | { |
| 4967 | "type" : "hexstr", |
| 4968 | "value" : "0x000000" |
| 4969 | } |
| 4970 | ], |
| 4971 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4972 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4973 | "line" : 82, |
| 4974 | "column" : 8, |
| 4975 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
| 4976 | } |
| 4977 | }, |
| 4978 | { |
| 4979 | "op" : "add_header", |
| 4980 | "parameters" : [ |
| 4981 | { |
| 4982 | "type" : "header", |
| 4983 | "value" : "int_ingress_tstamp" |
| 4984 | } |
| 4985 | ], |
| 4986 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 4987 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 4988 | "line" : 65, |
| 4989 | "column" : 8, |
| 4990 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 4991 | } |
| 4992 | }, |
| 4993 | { |
| 4994 | "op" : "assign", |
| 4995 | "parameters" : [ |
| 4996 | { |
| 4997 | "type" : "field", |
| 4998 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 4999 | }, |
| 5000 | { |
| 5001 | "type" : "field", |
| 5002 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5003 | } |
| 5004 | ], |
| 5005 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5006 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5007 | "line" : 66, |
| 5008 | "column" : 8, |
| 5009 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 5010 | } |
| 5011 | } |
| 5012 | ] |
| 5013 | }, |
| 5014 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5015 | "name" : "egress.process_int_transit.int_set_header_0407_i11", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5016 | "id" : 50, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5017 | "runtime_data" : [], |
| 5018 | "primitives" : [ |
| 5019 | { |
| 5020 | "op" : "add_header", |
| 5021 | "parameters" : [ |
| 5022 | { |
| 5023 | "type" : "header", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5024 | "value" : "int_egress_tx_util" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5025 | } |
| 5026 | ], |
| 5027 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5028 | "filename" : "include/int_transit.p4", |
| 5029 | "line" : 88, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5030 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5031 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5032 | } |
| 5033 | }, |
| 5034 | { |
| 5035 | "op" : "assign", |
| 5036 | "parameters" : [ |
| 5037 | { |
| 5038 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5039 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5040 | }, |
| 5041 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5042 | "type" : "hexstr", |
| 5043 | "value" : "0x00000000" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5044 | } |
| 5045 | ], |
| 5046 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5047 | "filename" : "include/int_transit.p4", |
| 5048 | "line" : 89, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5049 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5050 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 5051 | } |
| 5052 | }, |
| 5053 | { |
| 5054 | "op" : "add_header", |
| 5055 | "parameters" : [ |
| 5056 | { |
| 5057 | "type" : "header", |
| 5058 | "value" : "int_q_congestion" |
| 5059 | } |
| 5060 | ], |
| 5061 | "source_info" : { |
| 5062 | "filename" : "include/int_transit.p4", |
| 5063 | "line" : 78, |
| 5064 | "column" : 8, |
| 5065 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 5066 | } |
| 5067 | }, |
| 5068 | { |
| 5069 | "op" : "assign", |
| 5070 | "parameters" : [ |
| 5071 | { |
| 5072 | "type" : "field", |
| 5073 | "value" : ["int_q_congestion", "q_id"] |
| 5074 | }, |
| 5075 | { |
| 5076 | "type" : "hexstr", |
| 5077 | "value" : "0x00" |
| 5078 | } |
| 5079 | ], |
| 5080 | "source_info" : { |
| 5081 | "filename" : "include/int_transit.p4", |
| 5082 | "line" : 79, |
| 5083 | "column" : 8, |
| 5084 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 5085 | } |
| 5086 | }, |
| 5087 | { |
| 5088 | "op" : "assign", |
| 5089 | "parameters" : [ |
| 5090 | { |
| 5091 | "type" : "field", |
| 5092 | "value" : ["int_q_congestion", "q_congestion"] |
| 5093 | }, |
| 5094 | { |
| 5095 | "type" : "hexstr", |
| 5096 | "value" : "0x000000" |
| 5097 | } |
| 5098 | ], |
| 5099 | "source_info" : { |
| 5100 | "filename" : "include/int_transit.p4", |
| 5101 | "line" : 82, |
| 5102 | "column" : 8, |
| 5103 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5104 | } |
| 5105 | }, |
| 5106 | { |
| 5107 | "op" : "add_header", |
| 5108 | "parameters" : [ |
| 5109 | { |
| 5110 | "type" : "header", |
| 5111 | "value" : "int_ingress_tstamp" |
| 5112 | } |
| 5113 | ], |
| 5114 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5115 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5116 | "line" : 65, |
| 5117 | "column" : 8, |
| 5118 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 5119 | } |
| 5120 | }, |
| 5121 | { |
| 5122 | "op" : "assign", |
| 5123 | "parameters" : [ |
| 5124 | { |
| 5125 | "type" : "field", |
| 5126 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 5127 | }, |
| 5128 | { |
| 5129 | "type" : "field", |
| 5130 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5131 | } |
| 5132 | ], |
| 5133 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5134 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5135 | "line" : 66, |
| 5136 | "column" : 8, |
| 5137 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 5138 | } |
| 5139 | } |
| 5140 | ] |
| 5141 | }, |
| 5142 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5143 | "name" : "egress.process_int_transit.int_set_header_0407_i12", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5144 | "id" : 51, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5145 | "runtime_data" : [], |
| 5146 | "primitives" : [ |
| 5147 | { |
| 5148 | "op" : "add_header", |
| 5149 | "parameters" : [ |
| 5150 | { |
| 5151 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5152 | "value" : "int_egress_tstamp" |
| 5153 | } |
| 5154 | ], |
| 5155 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5156 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5157 | "line" : 70, |
| 5158 | "column" : 8, |
| 5159 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 5160 | } |
| 5161 | }, |
| 5162 | { |
| 5163 | "op" : "assign", |
| 5164 | "parameters" : [ |
| 5165 | { |
| 5166 | "type" : "field", |
| 5167 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 5168 | }, |
| 5169 | { |
| 5170 | "type" : "expression", |
| 5171 | "value" : { |
| 5172 | "type" : "expression", |
| 5173 | "value" : { |
| 5174 | "op" : "&", |
| 5175 | "left" : { |
| 5176 | "type" : "expression", |
| 5177 | "value" : { |
| 5178 | "op" : "+", |
| 5179 | "left" : { |
| 5180 | "type" : "field", |
| 5181 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5182 | }, |
| 5183 | "right" : { |
| 5184 | "type" : "field", |
| 5185 | "value" : ["standard_metadata", "deq_timedelta"] |
| 5186 | } |
| 5187 | } |
| 5188 | }, |
| 5189 | "right" : { |
| 5190 | "type" : "hexstr", |
| 5191 | "value" : "0xffffffff" |
| 5192 | } |
| 5193 | } |
| 5194 | } |
| 5195 | } |
| 5196 | ], |
| 5197 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5198 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5199 | "line" : 71, |
| 5200 | "column" : 8, |
| 5201 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 5202 | } |
| 5203 | }, |
| 5204 | { |
| 5205 | "op" : "add_header", |
| 5206 | "parameters" : [ |
| 5207 | { |
| 5208 | "type" : "header", |
| 5209 | "value" : "int_ingress_tstamp" |
| 5210 | } |
| 5211 | ], |
| 5212 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5213 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5214 | "line" : 65, |
| 5215 | "column" : 8, |
| 5216 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 5217 | } |
| 5218 | }, |
| 5219 | { |
| 5220 | "op" : "assign", |
| 5221 | "parameters" : [ |
| 5222 | { |
| 5223 | "type" : "field", |
| 5224 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 5225 | }, |
| 5226 | { |
| 5227 | "type" : "field", |
| 5228 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5229 | } |
| 5230 | ], |
| 5231 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5232 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5233 | "line" : 66, |
| 5234 | "column" : 8, |
| 5235 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 5236 | } |
| 5237 | } |
| 5238 | ] |
| 5239 | }, |
| 5240 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5241 | "name" : "egress.process_int_transit.int_set_header_0407_i13", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5242 | "id" : 52, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5243 | "runtime_data" : [], |
| 5244 | "primitives" : [ |
| 5245 | { |
| 5246 | "op" : "add_header", |
| 5247 | "parameters" : [ |
| 5248 | { |
| 5249 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5250 | "value" : "int_egress_tx_util" |
| 5251 | } |
| 5252 | ], |
| 5253 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5254 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5255 | "line" : 88, |
| 5256 | "column" : 8, |
| 5257 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 5258 | } |
| 5259 | }, |
| 5260 | { |
| 5261 | "op" : "assign", |
| 5262 | "parameters" : [ |
| 5263 | { |
| 5264 | "type" : "field", |
| 5265 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 5266 | }, |
| 5267 | { |
| 5268 | "type" : "hexstr", |
| 5269 | "value" : "0x00000000" |
| 5270 | } |
| 5271 | ], |
| 5272 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5273 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5274 | "line" : 89, |
| 5275 | "column" : 8, |
| 5276 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 5277 | } |
| 5278 | }, |
| 5279 | { |
| 5280 | "op" : "add_header", |
| 5281 | "parameters" : [ |
| 5282 | { |
| 5283 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5284 | "value" : "int_egress_tstamp" |
| 5285 | } |
| 5286 | ], |
| 5287 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5288 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5289 | "line" : 70, |
| 5290 | "column" : 8, |
| 5291 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 5292 | } |
| 5293 | }, |
| 5294 | { |
| 5295 | "op" : "assign", |
| 5296 | "parameters" : [ |
| 5297 | { |
| 5298 | "type" : "field", |
| 5299 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 5300 | }, |
| 5301 | { |
| 5302 | "type" : "expression", |
| 5303 | "value" : { |
| 5304 | "type" : "expression", |
| 5305 | "value" : { |
| 5306 | "op" : "&", |
| 5307 | "left" : { |
| 5308 | "type" : "expression", |
| 5309 | "value" : { |
| 5310 | "op" : "+", |
| 5311 | "left" : { |
| 5312 | "type" : "field", |
| 5313 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5314 | }, |
| 5315 | "right" : { |
| 5316 | "type" : "field", |
| 5317 | "value" : ["standard_metadata", "deq_timedelta"] |
| 5318 | } |
| 5319 | } |
| 5320 | }, |
| 5321 | "right" : { |
| 5322 | "type" : "hexstr", |
| 5323 | "value" : "0xffffffff" |
| 5324 | } |
| 5325 | } |
| 5326 | } |
| 5327 | } |
| 5328 | ], |
| 5329 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5330 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5331 | "line" : 71, |
| 5332 | "column" : 8, |
| 5333 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 5334 | } |
| 5335 | }, |
| 5336 | { |
| 5337 | "op" : "add_header", |
| 5338 | "parameters" : [ |
| 5339 | { |
| 5340 | "type" : "header", |
| 5341 | "value" : "int_ingress_tstamp" |
| 5342 | } |
| 5343 | ], |
| 5344 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5345 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5346 | "line" : 65, |
| 5347 | "column" : 8, |
| 5348 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 5349 | } |
| 5350 | }, |
| 5351 | { |
| 5352 | "op" : "assign", |
| 5353 | "parameters" : [ |
| 5354 | { |
| 5355 | "type" : "field", |
| 5356 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 5357 | }, |
| 5358 | { |
| 5359 | "type" : "field", |
| 5360 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5361 | } |
| 5362 | ], |
| 5363 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5364 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5365 | "line" : 66, |
| 5366 | "column" : 8, |
| 5367 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 5368 | } |
| 5369 | } |
| 5370 | ] |
| 5371 | }, |
| 5372 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5373 | "name" : "egress.process_int_transit.int_set_header_0407_i14", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5374 | "id" : 53, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5375 | "runtime_data" : [], |
| 5376 | "primitives" : [ |
| 5377 | { |
| 5378 | "op" : "add_header", |
| 5379 | "parameters" : [ |
| 5380 | { |
| 5381 | "type" : "header", |
| 5382 | "value" : "int_q_congestion" |
| 5383 | } |
| 5384 | ], |
| 5385 | "source_info" : { |
| 5386 | "filename" : "include/int_transit.p4", |
| 5387 | "line" : 78, |
| 5388 | "column" : 8, |
| 5389 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 5390 | } |
| 5391 | }, |
| 5392 | { |
| 5393 | "op" : "assign", |
| 5394 | "parameters" : [ |
| 5395 | { |
| 5396 | "type" : "field", |
| 5397 | "value" : ["int_q_congestion", "q_id"] |
| 5398 | }, |
| 5399 | { |
| 5400 | "type" : "hexstr", |
| 5401 | "value" : "0x00" |
| 5402 | } |
| 5403 | ], |
| 5404 | "source_info" : { |
| 5405 | "filename" : "include/int_transit.p4", |
| 5406 | "line" : 79, |
| 5407 | "column" : 8, |
| 5408 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 5409 | } |
| 5410 | }, |
| 5411 | { |
| 5412 | "op" : "assign", |
| 5413 | "parameters" : [ |
| 5414 | { |
| 5415 | "type" : "field", |
| 5416 | "value" : ["int_q_congestion", "q_congestion"] |
| 5417 | }, |
| 5418 | { |
| 5419 | "type" : "hexstr", |
| 5420 | "value" : "0x000000" |
| 5421 | } |
| 5422 | ], |
| 5423 | "source_info" : { |
| 5424 | "filename" : "include/int_transit.p4", |
| 5425 | "line" : 82, |
| 5426 | "column" : 8, |
| 5427 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
| 5428 | } |
| 5429 | }, |
| 5430 | { |
| 5431 | "op" : "add_header", |
| 5432 | "parameters" : [ |
| 5433 | { |
| 5434 | "type" : "header", |
| 5435 | "value" : "int_egress_tstamp" |
| 5436 | } |
| 5437 | ], |
| 5438 | "source_info" : { |
| 5439 | "filename" : "include/int_transit.p4", |
| 5440 | "line" : 70, |
| 5441 | "column" : 8, |
| 5442 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 5443 | } |
| 5444 | }, |
| 5445 | { |
| 5446 | "op" : "assign", |
| 5447 | "parameters" : [ |
| 5448 | { |
| 5449 | "type" : "field", |
| 5450 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 5451 | }, |
| 5452 | { |
| 5453 | "type" : "expression", |
| 5454 | "value" : { |
| 5455 | "type" : "expression", |
| 5456 | "value" : { |
| 5457 | "op" : "&", |
| 5458 | "left" : { |
| 5459 | "type" : "expression", |
| 5460 | "value" : { |
| 5461 | "op" : "+", |
| 5462 | "left" : { |
| 5463 | "type" : "field", |
| 5464 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5465 | }, |
| 5466 | "right" : { |
| 5467 | "type" : "field", |
| 5468 | "value" : ["standard_metadata", "deq_timedelta"] |
| 5469 | } |
| 5470 | } |
| 5471 | }, |
| 5472 | "right" : { |
| 5473 | "type" : "hexstr", |
| 5474 | "value" : "0xffffffff" |
| 5475 | } |
| 5476 | } |
| 5477 | } |
| 5478 | } |
| 5479 | ], |
| 5480 | "source_info" : { |
| 5481 | "filename" : "include/int_transit.p4", |
| 5482 | "line" : 71, |
| 5483 | "column" : 8, |
| 5484 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 5485 | } |
| 5486 | }, |
| 5487 | { |
| 5488 | "op" : "add_header", |
| 5489 | "parameters" : [ |
| 5490 | { |
| 5491 | "type" : "header", |
| 5492 | "value" : "int_ingress_tstamp" |
| 5493 | } |
| 5494 | ], |
| 5495 | "source_info" : { |
| 5496 | "filename" : "include/int_transit.p4", |
| 5497 | "line" : 65, |
| 5498 | "column" : 8, |
| 5499 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 5500 | } |
| 5501 | }, |
| 5502 | { |
| 5503 | "op" : "assign", |
| 5504 | "parameters" : [ |
| 5505 | { |
| 5506 | "type" : "field", |
| 5507 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 5508 | }, |
| 5509 | { |
| 5510 | "type" : "field", |
| 5511 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5512 | } |
| 5513 | ], |
| 5514 | "source_info" : { |
| 5515 | "filename" : "include/int_transit.p4", |
| 5516 | "line" : 66, |
| 5517 | "column" : 8, |
| 5518 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 5519 | } |
| 5520 | } |
| 5521 | ] |
| 5522 | }, |
| 5523 | { |
| 5524 | "name" : "egress.process_int_transit.int_set_header_0407_i15", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5525 | "id" : 54, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5526 | "runtime_data" : [], |
| 5527 | "primitives" : [ |
| 5528 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5529 | "op" : "add_header", |
| 5530 | "parameters" : [ |
| 5531 | { |
| 5532 | "type" : "header", |
| 5533 | "value" : "int_egress_tx_util" |
| 5534 | } |
| 5535 | ], |
| 5536 | "source_info" : { |
| 5537 | "filename" : "include/int_transit.p4", |
| 5538 | "line" : 88, |
| 5539 | "column" : 8, |
| 5540 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 5541 | } |
| 5542 | }, |
| 5543 | { |
| 5544 | "op" : "assign", |
| 5545 | "parameters" : [ |
| 5546 | { |
| 5547 | "type" : "field", |
| 5548 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 5549 | }, |
| 5550 | { |
| 5551 | "type" : "hexstr", |
| 5552 | "value" : "0x00000000" |
| 5553 | } |
| 5554 | ], |
| 5555 | "source_info" : { |
| 5556 | "filename" : "include/int_transit.p4", |
| 5557 | "line" : 89, |
| 5558 | "column" : 8, |
| 5559 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 5560 | } |
| 5561 | }, |
| 5562 | { |
| 5563 | "op" : "add_header", |
| 5564 | "parameters" : [ |
| 5565 | { |
| 5566 | "type" : "header", |
| 5567 | "value" : "int_q_congestion" |
| 5568 | } |
| 5569 | ], |
| 5570 | "source_info" : { |
| 5571 | "filename" : "include/int_transit.p4", |
| 5572 | "line" : 78, |
| 5573 | "column" : 8, |
| 5574 | "source_fragment" : "hdr.int_q_congestion.setValid()" |
| 5575 | } |
| 5576 | }, |
| 5577 | { |
| 5578 | "op" : "assign", |
| 5579 | "parameters" : [ |
| 5580 | { |
| 5581 | "type" : "field", |
| 5582 | "value" : ["int_q_congestion", "q_id"] |
| 5583 | }, |
| 5584 | { |
| 5585 | "type" : "hexstr", |
| 5586 | "value" : "0x00" |
| 5587 | } |
| 5588 | ], |
| 5589 | "source_info" : { |
| 5590 | "filename" : "include/int_transit.p4", |
| 5591 | "line" : 79, |
| 5592 | "column" : 8, |
| 5593 | "source_fragment" : "hdr.int_q_congestion.q_id = ..." |
| 5594 | } |
| 5595 | }, |
| 5596 | { |
| 5597 | "op" : "assign", |
| 5598 | "parameters" : [ |
| 5599 | { |
| 5600 | "type" : "field", |
| 5601 | "value" : ["int_q_congestion", "q_congestion"] |
| 5602 | }, |
| 5603 | { |
| 5604 | "type" : "hexstr", |
| 5605 | "value" : "0x000000" |
| 5606 | } |
| 5607 | ], |
| 5608 | "source_info" : { |
| 5609 | "filename" : "include/int_transit.p4", |
| 5610 | "line" : 82, |
| 5611 | "column" : 8, |
| 5612 | "source_fragment" : "hdr.int_q_congestion.q_congestion = ..." |
| 5613 | } |
| 5614 | }, |
| 5615 | { |
| 5616 | "op" : "add_header", |
| 5617 | "parameters" : [ |
| 5618 | { |
| 5619 | "type" : "header", |
| 5620 | "value" : "int_egress_tstamp" |
| 5621 | } |
| 5622 | ], |
| 5623 | "source_info" : { |
| 5624 | "filename" : "include/int_transit.p4", |
| 5625 | "line" : 70, |
| 5626 | "column" : 8, |
| 5627 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 5628 | } |
| 5629 | }, |
| 5630 | { |
| 5631 | "op" : "assign", |
| 5632 | "parameters" : [ |
| 5633 | { |
| 5634 | "type" : "field", |
| 5635 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 5636 | }, |
| 5637 | { |
| 5638 | "type" : "expression", |
| 5639 | "value" : { |
| 5640 | "type" : "expression", |
| 5641 | "value" : { |
| 5642 | "op" : "&", |
| 5643 | "left" : { |
| 5644 | "type" : "expression", |
| 5645 | "value" : { |
| 5646 | "op" : "+", |
| 5647 | "left" : { |
| 5648 | "type" : "field", |
| 5649 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5650 | }, |
| 5651 | "right" : { |
| 5652 | "type" : "field", |
| 5653 | "value" : ["standard_metadata", "deq_timedelta"] |
| 5654 | } |
| 5655 | } |
| 5656 | }, |
| 5657 | "right" : { |
| 5658 | "type" : "hexstr", |
| 5659 | "value" : "0xffffffff" |
| 5660 | } |
| 5661 | } |
| 5662 | } |
| 5663 | } |
| 5664 | ], |
| 5665 | "source_info" : { |
| 5666 | "filename" : "include/int_transit.p4", |
| 5667 | "line" : 71, |
| 5668 | "column" : 8, |
| 5669 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 5670 | } |
| 5671 | }, |
| 5672 | { |
| 5673 | "op" : "add_header", |
| 5674 | "parameters" : [ |
| 5675 | { |
| 5676 | "type" : "header", |
| 5677 | "value" : "int_ingress_tstamp" |
| 5678 | } |
| 5679 | ], |
| 5680 | "source_info" : { |
| 5681 | "filename" : "include/int_transit.p4", |
| 5682 | "line" : 65, |
| 5683 | "column" : 8, |
| 5684 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 5685 | } |
| 5686 | }, |
| 5687 | { |
| 5688 | "op" : "assign", |
| 5689 | "parameters" : [ |
| 5690 | { |
| 5691 | "type" : "field", |
| 5692 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 5693 | }, |
| 5694 | { |
| 5695 | "type" : "field", |
| 5696 | "value" : ["standard_metadata", "enq_timestamp"] |
| 5697 | } |
| 5698 | ], |
| 5699 | "source_info" : { |
| 5700 | "filename" : "include/int_transit.p4", |
| 5701 | "line" : 66, |
| 5702 | "column" : 8, |
| 5703 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 5704 | } |
| 5705 | } |
| 5706 | ] |
| 5707 | }, |
| 5708 | { |
| 5709 | "name" : "egress.process_int_outer_encap.int_update_ipv4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5710 | "id" : 55, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5711 | "runtime_data" : [], |
| 5712 | "primitives" : [ |
| 5713 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5714 | "op" : "assign", |
| 5715 | "parameters" : [ |
| 5716 | { |
| 5717 | "type" : "field", |
| 5718 | "value" : ["ipv4", "len"] |
| 5719 | }, |
| 5720 | { |
| 5721 | "type" : "expression", |
| 5722 | "value" : { |
| 5723 | "type" : "expression", |
| 5724 | "value" : { |
| 5725 | "op" : "&", |
| 5726 | "left" : { |
| 5727 | "type" : "expression", |
| 5728 | "value" : { |
| 5729 | "op" : "+", |
| 5730 | "left" : { |
| 5731 | "type" : "field", |
| 5732 | "value" : ["ipv4", "len"] |
| 5733 | }, |
| 5734 | "right" : { |
| 5735 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5736 | "value" : ["userMetadata.int_meta", "insert_byte_cnt"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5737 | } |
| 5738 | } |
| 5739 | }, |
| 5740 | "right" : { |
| 5741 | "type" : "hexstr", |
| 5742 | "value" : "0xffff" |
| 5743 | } |
| 5744 | } |
| 5745 | } |
| 5746 | } |
| 5747 | ], |
| 5748 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5749 | "filename" : "include/int_transit.p4", |
| 5750 | "line" : 304, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5751 | "column" : 8, |
| 5752 | "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + local_metadata.int_meta.insert_byte_cnt" |
| 5753 | } |
| 5754 | } |
| 5755 | ] |
| 5756 | }, |
| 5757 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5758 | "name" : "egress.process_int_outer_encap.int_update_udp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5759 | "id" : 56, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5760 | "runtime_data" : [], |
| 5761 | "primitives" : [ |
| 5762 | { |
| 5763 | "op" : "assign", |
| 5764 | "parameters" : [ |
| 5765 | { |
| 5766 | "type" : "field", |
| 5767 | "value" : ["udp", "length_"] |
| 5768 | }, |
| 5769 | { |
| 5770 | "type" : "expression", |
| 5771 | "value" : { |
| 5772 | "type" : "expression", |
| 5773 | "value" : { |
| 5774 | "op" : "&", |
| 5775 | "left" : { |
| 5776 | "type" : "expression", |
| 5777 | "value" : { |
| 5778 | "op" : "+", |
| 5779 | "left" : { |
| 5780 | "type" : "field", |
| 5781 | "value" : ["udp", "length_"] |
| 5782 | }, |
| 5783 | "right" : { |
| 5784 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5785 | "value" : ["userMetadata.int_meta", "insert_byte_cnt"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5786 | } |
| 5787 | } |
| 5788 | }, |
| 5789 | "right" : { |
| 5790 | "type" : "hexstr", |
| 5791 | "value" : "0xffff" |
| 5792 | } |
| 5793 | } |
| 5794 | } |
| 5795 | } |
| 5796 | ], |
| 5797 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5798 | "filename" : "include/int_transit.p4", |
| 5799 | "line" : 307, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5800 | "column" : 8, |
| 5801 | "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + local_metadata.int_meta.insert_byte_cnt" |
| 5802 | } |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 5803 | } |
| 5804 | ] |
| 5805 | }, |
| 5806 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5807 | "name" : "egress.process_int_outer_encap.int_update_shim", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5808 | "id" : 57, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 5809 | "runtime_data" : [], |
| 5810 | "primitives" : [ |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5811 | { |
| 5812 | "op" : "assign", |
| 5813 | "parameters" : [ |
| 5814 | { |
| 5815 | "type" : "field", |
| 5816 | "value" : ["intl4_shim", "len"] |
| 5817 | }, |
| 5818 | { |
| 5819 | "type" : "expression", |
| 5820 | "value" : { |
| 5821 | "type" : "expression", |
| 5822 | "value" : { |
| 5823 | "op" : "&", |
| 5824 | "left" : { |
| 5825 | "type" : "expression", |
| 5826 | "value" : { |
| 5827 | "op" : "+", |
| 5828 | "left" : { |
| 5829 | "type" : "field", |
| 5830 | "value" : ["intl4_shim", "len"] |
| 5831 | }, |
| 5832 | "right" : { |
| 5833 | "type" : "expression", |
| 5834 | "value" : { |
| 5835 | "op" : "&", |
| 5836 | "left" : { |
| 5837 | "type" : "field", |
| 5838 | "value" : ["int_header", "ins_cnt"] |
| 5839 | }, |
| 5840 | "right" : { |
| 5841 | "type" : "hexstr", |
| 5842 | "value" : "0xff" |
| 5843 | } |
| 5844 | } |
| 5845 | } |
| 5846 | } |
| 5847 | }, |
| 5848 | "right" : { |
| 5849 | "type" : "hexstr", |
| 5850 | "value" : "0xff" |
| 5851 | } |
| 5852 | } |
| 5853 | } |
| 5854 | } |
| 5855 | ], |
| 5856 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 5857 | "filename" : "include/int_transit.p4", |
| 5858 | "line" : 310, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 5859 | "column" : 8, |
| 5860 | "source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + (bit<8>)hdr.int_header.ins_cnt" |
| 5861 | } |
| 5862 | } |
| 5863 | ] |
| 5864 | }, |
| 5865 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 5866 | "name" : "egress.process_int_report.do_report_encapsulation", |
| 5867 | "id" : 58, |
| 5868 | "runtime_data" : [ |
| 5869 | { |
| 5870 | "name" : "src_mac", |
| 5871 | "bitwidth" : 48 |
| 5872 | }, |
| 5873 | { |
| 5874 | "name" : "mon_mac", |
| 5875 | "bitwidth" : 48 |
| 5876 | }, |
| 5877 | { |
| 5878 | "name" : "src_ip", |
| 5879 | "bitwidth" : 32 |
| 5880 | }, |
| 5881 | { |
| 5882 | "name" : "mon_ip", |
| 5883 | "bitwidth" : 32 |
| 5884 | }, |
| 5885 | { |
| 5886 | "name" : "mon_port", |
| 5887 | "bitwidth" : 16 |
| 5888 | } |
| 5889 | ], |
| 5890 | "primitives" : [ |
| 5891 | { |
| 5892 | "op" : "add_header", |
| 5893 | "parameters" : [ |
| 5894 | { |
| 5895 | "type" : "header", |
| 5896 | "value" : "report_ethernet" |
| 5897 | } |
| 5898 | ], |
| 5899 | "source_info" : { |
| 5900 | "filename" : "include/int_report.p4", |
| 5901 | "line" : 52, |
| 5902 | "column" : 8, |
| 5903 | "source_fragment" : "hdr.report_ethernet.setValid()" |
| 5904 | } |
| 5905 | }, |
| 5906 | { |
| 5907 | "op" : "assign", |
| 5908 | "parameters" : [ |
| 5909 | { |
| 5910 | "type" : "field", |
| 5911 | "value" : ["report_ethernet", "dst_addr"] |
| 5912 | }, |
| 5913 | { |
| 5914 | "type" : "runtime_data", |
| 5915 | "value" : 1 |
| 5916 | } |
| 5917 | ], |
| 5918 | "source_info" : { |
| 5919 | "filename" : "include/int_report.p4", |
| 5920 | "line" : 53, |
| 5921 | "column" : 8, |
| 5922 | "source_fragment" : "hdr.report_ethernet.dst_addr = mon_mac" |
| 5923 | } |
| 5924 | }, |
| 5925 | { |
| 5926 | "op" : "assign", |
| 5927 | "parameters" : [ |
| 5928 | { |
| 5929 | "type" : "field", |
| 5930 | "value" : ["report_ethernet", "src_addr"] |
| 5931 | }, |
| 5932 | { |
| 5933 | "type" : "runtime_data", |
| 5934 | "value" : 0 |
| 5935 | } |
| 5936 | ], |
| 5937 | "source_info" : { |
| 5938 | "filename" : "include/int_report.p4", |
| 5939 | "line" : 54, |
| 5940 | "column" : 8, |
| 5941 | "source_fragment" : "hdr.report_ethernet.src_addr = src_mac" |
| 5942 | } |
| 5943 | }, |
| 5944 | { |
| 5945 | "op" : "assign", |
| 5946 | "parameters" : [ |
| 5947 | { |
| 5948 | "type" : "field", |
| 5949 | "value" : ["report_ethernet", "ether_type"] |
| 5950 | }, |
| 5951 | { |
| 5952 | "type" : "hexstr", |
| 5953 | "value" : "0x0800" |
| 5954 | } |
| 5955 | ], |
| 5956 | "source_info" : { |
| 5957 | "filename" : "include/int_report.p4", |
| 5958 | "line" : 55, |
| 5959 | "column" : 8, |
| 5960 | "source_fragment" : "hdr.report_ethernet.ether_type = 0x0800" |
| 5961 | } |
| 5962 | }, |
| 5963 | { |
| 5964 | "op" : "add_header", |
| 5965 | "parameters" : [ |
| 5966 | { |
| 5967 | "type" : "header", |
| 5968 | "value" : "report_ipv4" |
| 5969 | } |
| 5970 | ], |
| 5971 | "source_info" : { |
| 5972 | "filename" : "include/int_report.p4", |
| 5973 | "line" : 58, |
| 5974 | "column" : 8, |
| 5975 | "source_fragment" : "hdr.report_ipv4.setValid()" |
| 5976 | } |
| 5977 | }, |
| 5978 | { |
| 5979 | "op" : "assign", |
| 5980 | "parameters" : [ |
| 5981 | { |
| 5982 | "type" : "field", |
| 5983 | "value" : ["report_ipv4", "version"] |
| 5984 | }, |
| 5985 | { |
| 5986 | "type" : "hexstr", |
| 5987 | "value" : "0x04" |
| 5988 | } |
| 5989 | ], |
| 5990 | "source_info" : { |
| 5991 | "filename" : "include/int_report.p4", |
| 5992 | "line" : 59, |
| 5993 | "column" : 8, |
| 5994 | "source_fragment" : "hdr.report_ipv4.version = 4w4" |
| 5995 | } |
| 5996 | }, |
| 5997 | { |
| 5998 | "op" : "assign", |
| 5999 | "parameters" : [ |
| 6000 | { |
| 6001 | "type" : "field", |
| 6002 | "value" : ["report_ipv4", "ihl"] |
| 6003 | }, |
| 6004 | { |
| 6005 | "type" : "hexstr", |
| 6006 | "value" : "0x05" |
| 6007 | } |
| 6008 | ], |
| 6009 | "source_info" : { |
| 6010 | "filename" : "include/int_report.p4", |
| 6011 | "line" : 60, |
| 6012 | "column" : 8, |
| 6013 | "source_fragment" : "hdr.report_ipv4.ihl = 4w5" |
| 6014 | } |
| 6015 | }, |
| 6016 | { |
| 6017 | "op" : "assign", |
| 6018 | "parameters" : [ |
| 6019 | { |
| 6020 | "type" : "field", |
| 6021 | "value" : ["report_ipv4", "dscp"] |
| 6022 | }, |
| 6023 | { |
| 6024 | "type" : "hexstr", |
| 6025 | "value" : "0x00" |
| 6026 | } |
| 6027 | ], |
| 6028 | "source_info" : { |
| 6029 | "filename" : "include/int_report.p4", |
| 6030 | "line" : 61, |
| 6031 | "column" : 8, |
| 6032 | "source_fragment" : "hdr.report_ipv4.dscp = 6w0" |
| 6033 | } |
| 6034 | }, |
| 6035 | { |
| 6036 | "op" : "assign", |
| 6037 | "parameters" : [ |
| 6038 | { |
| 6039 | "type" : "field", |
| 6040 | "value" : ["report_ipv4", "ecn"] |
| 6041 | }, |
| 6042 | { |
| 6043 | "type" : "hexstr", |
| 6044 | "value" : "0x00" |
| 6045 | } |
| 6046 | ], |
| 6047 | "source_info" : { |
| 6048 | "filename" : "include/int_report.p4", |
| 6049 | "line" : 62, |
| 6050 | "column" : 8, |
| 6051 | "source_fragment" : "hdr.report_ipv4.ecn = 2w0" |
| 6052 | } |
| 6053 | }, |
| 6054 | { |
| 6055 | "op" : "assign", |
| 6056 | "parameters" : [ |
| 6057 | { |
| 6058 | "type" : "field", |
| 6059 | "value" : ["report_ipv4", "len"] |
| 6060 | }, |
| 6061 | { |
| 6062 | "type" : "expression", |
| 6063 | "value" : { |
| 6064 | "type" : "expression", |
| 6065 | "value" : { |
| 6066 | "op" : "&", |
| 6067 | "left" : { |
| 6068 | "type" : "expression", |
| 6069 | "value" : { |
| 6070 | "op" : "+", |
| 6071 | "left" : { |
| 6072 | "type" : "hexstr", |
| 6073 | "value" : "0x0036" |
| 6074 | }, |
| 6075 | "right" : { |
| 6076 | "type" : "field", |
| 6077 | "value" : ["ipv4", "len"] |
| 6078 | } |
| 6079 | } |
| 6080 | }, |
| 6081 | "right" : { |
| 6082 | "type" : "hexstr", |
| 6083 | "value" : "0xffff" |
| 6084 | } |
| 6085 | } |
| 6086 | } |
| 6087 | } |
| 6088 | ], |
| 6089 | "source_info" : { |
| 6090 | "filename" : "include/int_report.p4", |
| 6091 | "line" : 64, |
| 6092 | "column" : 8, |
| 6093 | "source_fragment" : "hdr.report_ipv4.len = (bit<16>) IPV4_MIN_HEAD_LEN + (bit<16>) UDP_HEADER_LEN + ..." |
| 6094 | } |
| 6095 | }, |
| 6096 | { |
| 6097 | "op" : "assign", |
| 6098 | "parameters" : [ |
| 6099 | { |
| 6100 | "type" : "field", |
| 6101 | "value" : ["report_ipv4", "identification"] |
| 6102 | }, |
| 6103 | { |
| 6104 | "type" : "hexstr", |
| 6105 | "value" : "0x0000" |
| 6106 | } |
| 6107 | ], |
| 6108 | "source_info" : { |
| 6109 | "filename" : "include/int_report.p4", |
| 6110 | "line" : 67, |
| 6111 | "column" : 8, |
| 6112 | "source_fragment" : "hdr.report_ipv4.identification = 0" |
| 6113 | } |
| 6114 | }, |
| 6115 | { |
| 6116 | "op" : "assign", |
| 6117 | "parameters" : [ |
| 6118 | { |
| 6119 | "type" : "field", |
| 6120 | "value" : ["report_ipv4", "flags"] |
| 6121 | }, |
| 6122 | { |
| 6123 | "type" : "hexstr", |
| 6124 | "value" : "0x00" |
| 6125 | } |
| 6126 | ], |
| 6127 | "source_info" : { |
| 6128 | "filename" : "include/int_report.p4", |
| 6129 | "line" : 68, |
| 6130 | "column" : 8, |
| 6131 | "source_fragment" : "hdr.report_ipv4.flags = 0" |
| 6132 | } |
| 6133 | }, |
| 6134 | { |
| 6135 | "op" : "assign", |
| 6136 | "parameters" : [ |
| 6137 | { |
| 6138 | "type" : "field", |
| 6139 | "value" : ["report_ipv4", "frag_offset"] |
| 6140 | }, |
| 6141 | { |
| 6142 | "type" : "hexstr", |
| 6143 | "value" : "0x0000" |
| 6144 | } |
| 6145 | ], |
| 6146 | "source_info" : { |
| 6147 | "filename" : "include/int_report.p4", |
| 6148 | "line" : 69, |
| 6149 | "column" : 8, |
| 6150 | "source_fragment" : "hdr.report_ipv4.frag_offset = 0" |
| 6151 | } |
| 6152 | }, |
| 6153 | { |
| 6154 | "op" : "assign", |
| 6155 | "parameters" : [ |
| 6156 | { |
| 6157 | "type" : "field", |
| 6158 | "value" : ["report_ipv4", "ttl"] |
| 6159 | }, |
| 6160 | { |
| 6161 | "type" : "hexstr", |
| 6162 | "value" : "0x40" |
| 6163 | } |
| 6164 | ], |
| 6165 | "source_info" : { |
| 6166 | "filename" : "int.p4", |
| 6167 | "line" : 23, |
| 6168 | "column" : 30, |
| 6169 | "source_fragment" : "64; ..." |
| 6170 | } |
| 6171 | }, |
| 6172 | { |
| 6173 | "op" : "assign", |
| 6174 | "parameters" : [ |
| 6175 | { |
| 6176 | "type" : "field", |
| 6177 | "value" : ["report_ipv4", "protocol"] |
| 6178 | }, |
| 6179 | { |
| 6180 | "type" : "hexstr", |
| 6181 | "value" : "0x11" |
| 6182 | } |
| 6183 | ], |
| 6184 | "source_info" : { |
| 6185 | "filename" : "include/int_report.p4", |
| 6186 | "line" : 71, |
| 6187 | "column" : 8, |
| 6188 | "source_fragment" : "hdr.report_ipv4.protocol = 8w17" |
| 6189 | } |
| 6190 | }, |
| 6191 | { |
| 6192 | "op" : "assign", |
| 6193 | "parameters" : [ |
| 6194 | { |
| 6195 | "type" : "field", |
| 6196 | "value" : ["report_ipv4", "src_addr"] |
| 6197 | }, |
| 6198 | { |
| 6199 | "type" : "runtime_data", |
| 6200 | "value" : 2 |
| 6201 | } |
| 6202 | ], |
| 6203 | "source_info" : { |
| 6204 | "filename" : "include/int_report.p4", |
| 6205 | "line" : 72, |
| 6206 | "column" : 8, |
| 6207 | "source_fragment" : "hdr.report_ipv4.src_addr = src_ip" |
| 6208 | } |
| 6209 | }, |
| 6210 | { |
| 6211 | "op" : "assign", |
| 6212 | "parameters" : [ |
| 6213 | { |
| 6214 | "type" : "field", |
| 6215 | "value" : ["report_ipv4", "dst_addr"] |
| 6216 | }, |
| 6217 | { |
| 6218 | "type" : "runtime_data", |
| 6219 | "value" : 3 |
| 6220 | } |
| 6221 | ], |
| 6222 | "source_info" : { |
| 6223 | "filename" : "include/int_report.p4", |
| 6224 | "line" : 73, |
| 6225 | "column" : 8, |
| 6226 | "source_fragment" : "hdr.report_ipv4.dst_addr = mon_ip" |
| 6227 | } |
| 6228 | }, |
| 6229 | { |
| 6230 | "op" : "add_header", |
| 6231 | "parameters" : [ |
| 6232 | { |
| 6233 | "type" : "header", |
| 6234 | "value" : "report_udp" |
| 6235 | } |
| 6236 | ], |
| 6237 | "source_info" : { |
| 6238 | "filename" : "include/int_report.p4", |
| 6239 | "line" : 76, |
| 6240 | "column" : 8, |
| 6241 | "source_fragment" : "hdr.report_udp.setValid()" |
| 6242 | } |
| 6243 | }, |
| 6244 | { |
| 6245 | "op" : "assign", |
| 6246 | "parameters" : [ |
| 6247 | { |
| 6248 | "type" : "field", |
| 6249 | "value" : ["report_udp", "src_port"] |
| 6250 | }, |
| 6251 | { |
| 6252 | "type" : "hexstr", |
| 6253 | "value" : "0x0000" |
| 6254 | } |
| 6255 | ], |
| 6256 | "source_info" : { |
| 6257 | "filename" : "include/int_report.p4", |
| 6258 | "line" : 77, |
| 6259 | "column" : 8, |
| 6260 | "source_fragment" : "hdr.report_udp.src_port = 0" |
| 6261 | } |
| 6262 | }, |
| 6263 | { |
| 6264 | "op" : "assign", |
| 6265 | "parameters" : [ |
| 6266 | { |
| 6267 | "type" : "field", |
| 6268 | "value" : ["report_udp", "dst_port"] |
| 6269 | }, |
| 6270 | { |
| 6271 | "type" : "runtime_data", |
| 6272 | "value" : 4 |
| 6273 | } |
| 6274 | ], |
| 6275 | "source_info" : { |
| 6276 | "filename" : "include/int_report.p4", |
| 6277 | "line" : 78, |
| 6278 | "column" : 8, |
| 6279 | "source_fragment" : "hdr.report_udp.dst_port = mon_port" |
| 6280 | } |
| 6281 | }, |
| 6282 | { |
| 6283 | "op" : "assign", |
| 6284 | "parameters" : [ |
| 6285 | { |
| 6286 | "type" : "field", |
| 6287 | "value" : ["report_udp", "length_"] |
| 6288 | }, |
| 6289 | { |
| 6290 | "type" : "expression", |
| 6291 | "value" : { |
| 6292 | "type" : "expression", |
| 6293 | "value" : { |
| 6294 | "op" : "&", |
| 6295 | "left" : { |
| 6296 | "type" : "expression", |
| 6297 | "value" : { |
| 6298 | "op" : "+", |
| 6299 | "left" : { |
| 6300 | "type" : "hexstr", |
| 6301 | "value" : "0x0022" |
| 6302 | }, |
| 6303 | "right" : { |
| 6304 | "type" : "field", |
| 6305 | "value" : ["ipv4", "len"] |
| 6306 | } |
| 6307 | } |
| 6308 | }, |
| 6309 | "right" : { |
| 6310 | "type" : "hexstr", |
| 6311 | "value" : "0xffff" |
| 6312 | } |
| 6313 | } |
| 6314 | } |
| 6315 | } |
| 6316 | ], |
| 6317 | "source_info" : { |
| 6318 | "filename" : "include/int_report.p4", |
| 6319 | "line" : 79, |
| 6320 | "column" : 8, |
| 6321 | "source_fragment" : "hdr.report_udp.length_ = (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..." |
| 6322 | } |
| 6323 | }, |
| 6324 | { |
| 6325 | "op" : "assign", |
| 6326 | "parameters" : [ |
| 6327 | { |
| 6328 | "type" : "field", |
| 6329 | "value" : ["scalars", "local_metadata_t.compute_checksum"] |
| 6330 | }, |
| 6331 | { |
| 6332 | "type" : "expression", |
| 6333 | "value" : { |
| 6334 | "type" : "expression", |
| 6335 | "value" : { |
| 6336 | "op" : "b2d", |
| 6337 | "left" : null, |
| 6338 | "right" : { |
| 6339 | "type" : "bool", |
| 6340 | "value" : true |
| 6341 | } |
| 6342 | } |
| 6343 | } |
| 6344 | } |
| 6345 | ], |
| 6346 | "source_info" : { |
| 6347 | "filename" : "include/int_report.p4", |
| 6348 | "line" : 82, |
| 6349 | "column" : 8, |
| 6350 | "source_fragment" : "local_metadata.compute_checksum = true" |
| 6351 | } |
| 6352 | }, |
| 6353 | { |
| 6354 | "op" : "add_header", |
| 6355 | "parameters" : [ |
| 6356 | { |
| 6357 | "type" : "header", |
| 6358 | "value" : "report_fixed_header" |
| 6359 | } |
| 6360 | ], |
| 6361 | "source_info" : { |
| 6362 | "filename" : "include/int_report.p4", |
| 6363 | "line" : 32, |
| 6364 | "column" : 8, |
| 6365 | "source_fragment" : "hdr.report_fixed_header.setValid()" |
| 6366 | } |
| 6367 | }, |
| 6368 | { |
| 6369 | "op" : "assign", |
| 6370 | "parameters" : [ |
| 6371 | { |
| 6372 | "type" : "field", |
| 6373 | "value" : ["report_fixed_header", "ver"] |
| 6374 | }, |
| 6375 | { |
| 6376 | "type" : "hexstr", |
| 6377 | "value" : "0x00" |
| 6378 | } |
| 6379 | ], |
| 6380 | "source_info" : { |
| 6381 | "filename" : "include/int_report.p4", |
| 6382 | "line" : 33, |
| 6383 | "column" : 8, |
| 6384 | "source_fragment" : "hdr.report_fixed_header.ver = 0" |
| 6385 | } |
| 6386 | }, |
| 6387 | { |
| 6388 | "op" : "assign", |
| 6389 | "parameters" : [ |
| 6390 | { |
| 6391 | "type" : "field", |
| 6392 | "value" : ["report_fixed_header", "nproto"] |
| 6393 | }, |
| 6394 | { |
| 6395 | "type" : "hexstr", |
| 6396 | "value" : "0x00" |
| 6397 | } |
| 6398 | ], |
| 6399 | "source_info" : { |
| 6400 | "filename" : "include/telemetry_report_headers.p4", |
| 6401 | "line" : 21, |
| 6402 | "column" : 31, |
| 6403 | "source_fragment" : "0; ..." |
| 6404 | } |
| 6405 | }, |
| 6406 | { |
| 6407 | "op" : "assign", |
| 6408 | "parameters" : [ |
| 6409 | { |
| 6410 | "type" : "field", |
| 6411 | "value" : ["report_fixed_header", "d"] |
| 6412 | }, |
| 6413 | { |
| 6414 | "type" : "hexstr", |
| 6415 | "value" : "0x00" |
| 6416 | } |
| 6417 | ], |
| 6418 | "source_info" : { |
| 6419 | "filename" : "include/int_report.p4", |
| 6420 | "line" : 36, |
| 6421 | "column" : 8, |
| 6422 | "source_fragment" : "hdr.report_fixed_header.d = 0" |
| 6423 | } |
| 6424 | }, |
| 6425 | { |
| 6426 | "op" : "assign", |
| 6427 | "parameters" : [ |
| 6428 | { |
| 6429 | "type" : "field", |
| 6430 | "value" : ["report_fixed_header", "q"] |
| 6431 | }, |
| 6432 | { |
| 6433 | "type" : "hexstr", |
| 6434 | "value" : "0x00" |
| 6435 | } |
| 6436 | ], |
| 6437 | "source_info" : { |
| 6438 | "filename" : "include/int_report.p4", |
| 6439 | "line" : 37, |
| 6440 | "column" : 8, |
| 6441 | "source_fragment" : "hdr.report_fixed_header.q = 0" |
| 6442 | } |
| 6443 | }, |
| 6444 | { |
| 6445 | "op" : "assign", |
| 6446 | "parameters" : [ |
| 6447 | { |
| 6448 | "type" : "field", |
| 6449 | "value" : ["report_fixed_header", "f"] |
| 6450 | }, |
| 6451 | { |
| 6452 | "type" : "hexstr", |
| 6453 | "value" : "0x01" |
| 6454 | } |
| 6455 | ], |
| 6456 | "source_info" : { |
| 6457 | "filename" : "include/int_report.p4", |
| 6458 | "line" : 38, |
| 6459 | "column" : 8, |
| 6460 | "source_fragment" : "hdr.report_fixed_header.f = 1" |
| 6461 | } |
| 6462 | }, |
| 6463 | { |
| 6464 | "op" : "assign", |
| 6465 | "parameters" : [ |
| 6466 | { |
| 6467 | "type" : "field", |
| 6468 | "value" : ["report_fixed_header", "rsvd"] |
| 6469 | }, |
| 6470 | { |
| 6471 | "type" : "hexstr", |
| 6472 | "value" : "0x0000" |
| 6473 | } |
| 6474 | ], |
| 6475 | "source_info" : { |
| 6476 | "filename" : "include/int_report.p4", |
| 6477 | "line" : 39, |
| 6478 | "column" : 8, |
| 6479 | "source_fragment" : "hdr.report_fixed_header.rsvd = 0" |
| 6480 | } |
| 6481 | }, |
| 6482 | { |
| 6483 | "op" : "assign", |
| 6484 | "parameters" : [ |
| 6485 | { |
| 6486 | "type" : "field", |
| 6487 | "value" : ["report_fixed_header", "hw_id"] |
| 6488 | }, |
| 6489 | { |
| 6490 | "type" : "hexstr", |
| 6491 | "value" : "0x01" |
| 6492 | } |
| 6493 | ], |
| 6494 | "source_info" : { |
| 6495 | "filename" : "include/int_definitions.p4", |
| 6496 | "line" : 33, |
| 6497 | "column" : 21, |
| 6498 | "source_fragment" : "1; ..." |
| 6499 | } |
| 6500 | }, |
| 6501 | { |
| 6502 | "op" : "assign", |
| 6503 | "parameters" : [ |
| 6504 | { |
| 6505 | "type" : "field", |
| 6506 | "value" : ["report_fixed_header", "seq_no"] |
| 6507 | }, |
| 6508 | { |
| 6509 | "type" : "hexstr", |
| 6510 | "value" : "0x00000000" |
| 6511 | } |
| 6512 | ], |
| 6513 | "source_info" : { |
| 6514 | "filename" : "include/int_report.p4", |
| 6515 | "line" : 43, |
| 6516 | "column" : 8, |
| 6517 | "source_fragment" : "hdr.report_fixed_header.seq_no = 0" |
| 6518 | } |
| 6519 | }, |
| 6520 | { |
| 6521 | "op" : "assign", |
| 6522 | "parameters" : [ |
| 6523 | { |
| 6524 | "type" : "field", |
| 6525 | "value" : ["report_fixed_header", "ingress_tstamp"] |
| 6526 | }, |
| 6527 | { |
| 6528 | "type" : "field", |
| 6529 | "value" : ["standard_metadata", "enq_timestamp"] |
| 6530 | } |
| 6531 | ], |
| 6532 | "source_info" : { |
| 6533 | "filename" : "include/int_report.p4", |
| 6534 | "line" : 45, |
| 6535 | "column" : 8, |
| 6536 | "source_fragment" : "hdr.report_fixed_header.ingress_tstamp = (bit<32>) standard_metadata.enq_timestamp" |
| 6537 | } |
| 6538 | } |
| 6539 | ] |
| 6540 | }, |
| 6541 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6542 | "name" : "egress.process_int_sink.restore_header", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6543 | "id" : 59, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6544 | "runtime_data" : [], |
| 6545 | "primitives" : [ |
| 6546 | { |
| 6547 | "op" : "assign", |
| 6548 | "parameters" : [ |
| 6549 | { |
| 6550 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6551 | "value" : ["udp", "dst_port"] |
| 6552 | }, |
| 6553 | { |
| 6554 | "type" : "field", |
| 6555 | "value" : ["intl4_tail", "dest_port"] |
| 6556 | } |
| 6557 | ], |
| 6558 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6559 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6560 | "line" : 26, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6561 | "column" : 8, |
| 6562 | "source_fragment" : "hdr.udp.dst_port = hdr.intl4_tail.dest_port" |
| 6563 | } |
| 6564 | }, |
| 6565 | { |
| 6566 | "op" : "assign", |
| 6567 | "parameters" : [ |
| 6568 | { |
| 6569 | "type" : "field", |
| 6570 | "value" : ["ipv4", "dscp"] |
| 6571 | }, |
| 6572 | { |
| 6573 | "type" : "expression", |
| 6574 | "value" : { |
| 6575 | "type" : "expression", |
| 6576 | "value" : { |
| 6577 | "op" : "&", |
| 6578 | "left" : { |
| 6579 | "type" : "field", |
| 6580 | "value" : ["intl4_tail", "dscp"] |
| 6581 | }, |
| 6582 | "right" : { |
| 6583 | "type" : "hexstr", |
| 6584 | "value" : "0x3f" |
| 6585 | } |
| 6586 | } |
| 6587 | } |
| 6588 | } |
| 6589 | ], |
| 6590 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6591 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6592 | "line" : 27, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6593 | "column" : 8, |
| 6594 | "source_fragment" : "hdr.ipv4.dscp = (bit<6>)hdr.intl4_tail.dscp" |
| 6595 | } |
| 6596 | } |
| 6597 | ] |
| 6598 | }, |
| 6599 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6600 | "name" : "egress.process_int_sink.int_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6601 | "id" : 60, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6602 | "runtime_data" : [], |
| 6603 | "primitives" : [ |
| 6604 | { |
| 6605 | "op" : "assign", |
| 6606 | "parameters" : [ |
| 6607 | { |
| 6608 | "type" : "field", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6609 | "value" : ["ipv4", "len"] |
| 6610 | }, |
| 6611 | { |
| 6612 | "type" : "expression", |
| 6613 | "value" : { |
| 6614 | "type" : "expression", |
| 6615 | "value" : { |
| 6616 | "op" : "&", |
| 6617 | "left" : { |
| 6618 | "type" : "expression", |
| 6619 | "value" : { |
| 6620 | "op" : "-", |
| 6621 | "left" : { |
| 6622 | "type" : "field", |
| 6623 | "value" : ["ipv4", "len"] |
| 6624 | }, |
| 6625 | "right" : { |
| 6626 | "type" : "expression", |
| 6627 | "value" : { |
| 6628 | "op" : "&", |
| 6629 | "left" : { |
| 6630 | "type" : "expression", |
| 6631 | "value" : { |
| 6632 | "op" : "&", |
| 6633 | "left" : { |
| 6634 | "type" : "expression", |
| 6635 | "value" : { |
| 6636 | "op" : "<<", |
| 6637 | "left" : { |
| 6638 | "type" : "expression", |
| 6639 | "value" : { |
| 6640 | "op" : "&", |
| 6641 | "left" : { |
| 6642 | "type" : "expression", |
| 6643 | "value" : { |
| 6644 | "op" : "-", |
| 6645 | "left" : { |
| 6646 | "type" : "field", |
| 6647 | "value" : ["intl4_shim", "len"] |
| 6648 | }, |
| 6649 | "right" : { |
| 6650 | "type" : "expression", |
| 6651 | "value" : { |
| 6652 | "op" : "&", |
| 6653 | "left" : { |
| 6654 | "type" : "field", |
| 6655 | "value" : ["int_header", "ins_cnt"] |
| 6656 | }, |
| 6657 | "right" : { |
| 6658 | "type" : "hexstr", |
| 6659 | "value" : "0xff" |
| 6660 | } |
| 6661 | } |
| 6662 | } |
| 6663 | } |
| 6664 | }, |
| 6665 | "right" : { |
| 6666 | "type" : "hexstr", |
| 6667 | "value" : "0xff" |
| 6668 | } |
| 6669 | } |
| 6670 | }, |
| 6671 | "right" : { |
| 6672 | "type" : "hexstr", |
| 6673 | "value" : "0x2" |
| 6674 | } |
| 6675 | } |
| 6676 | }, |
| 6677 | "right" : { |
| 6678 | "type" : "hexstr", |
| 6679 | "value" : "0xff" |
| 6680 | } |
| 6681 | } |
| 6682 | }, |
| 6683 | "right" : { |
| 6684 | "type" : "hexstr", |
| 6685 | "value" : "0xffff" |
| 6686 | } |
| 6687 | } |
| 6688 | } |
| 6689 | } |
| 6690 | }, |
| 6691 | "right" : { |
| 6692 | "type" : "hexstr", |
| 6693 | "value" : "0xffff" |
| 6694 | } |
| 6695 | } |
| 6696 | } |
| 6697 | } |
| 6698 | ], |
| 6699 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6700 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6701 | "line" : 32, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6702 | "column" : 8, |
| 6703 | "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len - (bit<16>)((hdr.intl4_shim.len - (bit<8>)hdr.int_header.ins_cnt) << 2)" |
| 6704 | } |
| 6705 | }, |
| 6706 | { |
| 6707 | "op" : "assign", |
| 6708 | "parameters" : [ |
| 6709 | { |
| 6710 | "type" : "field", |
| 6711 | "value" : ["udp", "length_"] |
| 6712 | }, |
| 6713 | { |
| 6714 | "type" : "expression", |
| 6715 | "value" : { |
| 6716 | "type" : "expression", |
| 6717 | "value" : { |
| 6718 | "op" : "&", |
| 6719 | "left" : { |
| 6720 | "type" : "expression", |
| 6721 | "value" : { |
| 6722 | "op" : "-", |
| 6723 | "left" : { |
| 6724 | "type" : "field", |
| 6725 | "value" : ["udp", "length_"] |
| 6726 | }, |
| 6727 | "right" : { |
| 6728 | "type" : "expression", |
| 6729 | "value" : { |
| 6730 | "op" : "&", |
| 6731 | "left" : { |
| 6732 | "type" : "expression", |
| 6733 | "value" : { |
| 6734 | "op" : "&", |
| 6735 | "left" : { |
| 6736 | "type" : "expression", |
| 6737 | "value" : { |
| 6738 | "op" : "<<", |
| 6739 | "left" : { |
| 6740 | "type" : "expression", |
| 6741 | "value" : { |
| 6742 | "op" : "&", |
| 6743 | "left" : { |
| 6744 | "type" : "expression", |
| 6745 | "value" : { |
| 6746 | "op" : "-", |
| 6747 | "left" : { |
| 6748 | "type" : "field", |
| 6749 | "value" : ["intl4_shim", "len"] |
| 6750 | }, |
| 6751 | "right" : { |
| 6752 | "type" : "expression", |
| 6753 | "value" : { |
| 6754 | "op" : "&", |
| 6755 | "left" : { |
| 6756 | "type" : "field", |
| 6757 | "value" : ["int_header", "ins_cnt"] |
| 6758 | }, |
| 6759 | "right" : { |
| 6760 | "type" : "hexstr", |
| 6761 | "value" : "0xff" |
| 6762 | } |
| 6763 | } |
| 6764 | } |
| 6765 | } |
| 6766 | }, |
| 6767 | "right" : { |
| 6768 | "type" : "hexstr", |
| 6769 | "value" : "0xff" |
| 6770 | } |
| 6771 | } |
| 6772 | }, |
| 6773 | "right" : { |
| 6774 | "type" : "hexstr", |
| 6775 | "value" : "0x2" |
| 6776 | } |
| 6777 | } |
| 6778 | }, |
| 6779 | "right" : { |
| 6780 | "type" : "hexstr", |
| 6781 | "value" : "0xff" |
| 6782 | } |
| 6783 | } |
| 6784 | }, |
| 6785 | "right" : { |
| 6786 | "type" : "hexstr", |
| 6787 | "value" : "0xffff" |
| 6788 | } |
| 6789 | } |
| 6790 | } |
| 6791 | } |
| 6792 | }, |
| 6793 | "right" : { |
| 6794 | "type" : "hexstr", |
| 6795 | "value" : "0xffff" |
| 6796 | } |
| 6797 | } |
| 6798 | } |
| 6799 | } |
| 6800 | ], |
| 6801 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6802 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6803 | "line" : 33, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6804 | "column" : 8, |
| 6805 | "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ - (bit<16>)((hdr.intl4_shim.len - (bit<8>)hdr.int_header.ins_cnt) << 2)" |
| 6806 | } |
| 6807 | }, |
| 6808 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6809 | "op" : "remove_header", |
| 6810 | "parameters" : [ |
| 6811 | { |
| 6812 | "type" : "header", |
| 6813 | "value" : "int_header" |
| 6814 | } |
| 6815 | ], |
| 6816 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6817 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6818 | "line" : 35, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6819 | "column" : 8, |
| 6820 | "source_fragment" : "hdr.int_header.setInvalid()" |
| 6821 | } |
| 6822 | }, |
| 6823 | { |
| 6824 | "op" : "remove_header", |
| 6825 | "parameters" : [ |
| 6826 | { |
| 6827 | "type" : "header", |
| 6828 | "value" : "int_data" |
| 6829 | } |
| 6830 | ], |
| 6831 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6832 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6833 | "line" : 36, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6834 | "column" : 8, |
| 6835 | "source_fragment" : "hdr.int_data.setInvalid()" |
| 6836 | } |
| 6837 | }, |
| 6838 | { |
| 6839 | "op" : "remove_header", |
| 6840 | "parameters" : [ |
| 6841 | { |
| 6842 | "type" : "header", |
| 6843 | "value" : "intl4_shim" |
| 6844 | } |
| 6845 | ], |
| 6846 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6847 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6848 | "line" : 37, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6849 | "column" : 8, |
| 6850 | "source_fragment" : "hdr.intl4_shim.setInvalid()" |
| 6851 | } |
| 6852 | }, |
| 6853 | { |
| 6854 | "op" : "remove_header", |
| 6855 | "parameters" : [ |
| 6856 | { |
| 6857 | "type" : "header", |
| 6858 | "value" : "intl4_tail" |
| 6859 | } |
| 6860 | ], |
| 6861 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6862 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6863 | "line" : 38, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6864 | "column" : 8, |
| 6865 | "source_fragment" : "hdr.intl4_tail.setInvalid()" |
| 6866 | } |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6867 | }, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6868 | { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6869 | "op" : "remove_header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6870 | "parameters" : [ |
| 6871 | { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6872 | "type" : "header", |
| 6873 | "value" : "int_switch_id" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6874 | } |
| 6875 | ], |
| 6876 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6877 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6878 | "line" : 39, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6879 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6880 | "source_fragment" : "hdr.int_switch_id.setInvalid()" |
| 6881 | } |
| 6882 | }, |
| 6883 | { |
| 6884 | "op" : "remove_header", |
| 6885 | "parameters" : [ |
| 6886 | { |
| 6887 | "type" : "header", |
| 6888 | "value" : "int_port_ids" |
| 6889 | } |
| 6890 | ], |
| 6891 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6892 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6893 | "line" : 40, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6894 | "column" : 8, |
| 6895 | "source_fragment" : "hdr.int_port_ids.setInvalid()" |
| 6896 | } |
| 6897 | }, |
| 6898 | { |
| 6899 | "op" : "remove_header", |
| 6900 | "parameters" : [ |
| 6901 | { |
| 6902 | "type" : "header", |
| 6903 | "value" : "int_hop_latency" |
| 6904 | } |
| 6905 | ], |
| 6906 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6907 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6908 | "line" : 41, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6909 | "column" : 8, |
| 6910 | "source_fragment" : "hdr.int_hop_latency.setInvalid()" |
| 6911 | } |
| 6912 | }, |
| 6913 | { |
| 6914 | "op" : "remove_header", |
| 6915 | "parameters" : [ |
| 6916 | { |
| 6917 | "type" : "header", |
| 6918 | "value" : "int_q_occupancy" |
| 6919 | } |
| 6920 | ], |
| 6921 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6922 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6923 | "line" : 42, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6924 | "column" : 8, |
| 6925 | "source_fragment" : "hdr.int_q_occupancy.setInvalid()" |
| 6926 | } |
| 6927 | }, |
| 6928 | { |
| 6929 | "op" : "remove_header", |
| 6930 | "parameters" : [ |
| 6931 | { |
| 6932 | "type" : "header", |
| 6933 | "value" : "int_ingress_tstamp" |
| 6934 | } |
| 6935 | ], |
| 6936 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6937 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6938 | "line" : 43, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6939 | "column" : 8, |
| 6940 | "source_fragment" : "hdr.int_ingress_tstamp.setInvalid()" |
| 6941 | } |
| 6942 | }, |
| 6943 | { |
| 6944 | "op" : "remove_header", |
| 6945 | "parameters" : [ |
| 6946 | { |
| 6947 | "type" : "header", |
| 6948 | "value" : "int_egress_tstamp" |
| 6949 | } |
| 6950 | ], |
| 6951 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6952 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6953 | "line" : 44, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6954 | "column" : 8, |
| 6955 | "source_fragment" : "hdr.int_egress_tstamp.setInvalid()" |
| 6956 | } |
| 6957 | }, |
| 6958 | { |
| 6959 | "op" : "remove_header", |
| 6960 | "parameters" : [ |
| 6961 | { |
| 6962 | "type" : "header", |
| 6963 | "value" : "int_q_congestion" |
| 6964 | } |
| 6965 | ], |
| 6966 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6967 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6968 | "line" : 45, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6969 | "column" : 8, |
| 6970 | "source_fragment" : "hdr.int_q_congestion.setInvalid()" |
| 6971 | } |
| 6972 | }, |
| 6973 | { |
| 6974 | "op" : "remove_header", |
| 6975 | "parameters" : [ |
| 6976 | { |
| 6977 | "type" : "header", |
| 6978 | "value" : "int_egress_tx_util" |
| 6979 | } |
| 6980 | ], |
| 6981 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 6982 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6983 | "line" : 46, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 6984 | "column" : 8, |
| 6985 | "source_fragment" : "hdr.int_egress_tx_util.setInvalid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6986 | } |
| 6987 | } |
| 6988 | ] |
| 6989 | }, |
| 6990 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 6991 | "name" : "act_2", |
| 6992 | "id" : 61, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 6993 | "runtime_data" : [], |
| 6994 | "primitives" : [ |
| 6995 | { |
| 6996 | "op" : "add_header", |
| 6997 | "parameters" : [ |
| 6998 | { |
| 6999 | "type" : "header", |
| 7000 | "value" : "packet_in" |
| 7001 | } |
| 7002 | ], |
| 7003 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7004 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7005 | "line" : 38, |
| 7006 | "column" : 12, |
| 7007 | "source_fragment" : "hdr.packet_in.setValid()" |
| 7008 | } |
| 7009 | }, |
| 7010 | { |
| 7011 | "op" : "assign", |
| 7012 | "parameters" : [ |
| 7013 | { |
| 7014 | "type" : "field", |
| 7015 | "value" : ["packet_in", "ingress_port"] |
| 7016 | }, |
| 7017 | { |
| 7018 | "type" : "field", |
| 7019 | "value" : ["standard_metadata", "ingress_port"] |
| 7020 | } |
| 7021 | ], |
| 7022 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7023 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7024 | "line" : 39, |
| 7025 | "column" : 12, |
| 7026 | "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port" |
| 7027 | } |
| 7028 | } |
| 7029 | ] |
| 7030 | }, |
| 7031 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7032 | "name" : "act_3", |
| 7033 | "id" : 62, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7034 | "runtime_data" : [], |
| 7035 | "primitives" : [ |
| 7036 | { |
| 7037 | "op" : "assign", |
| 7038 | "parameters" : [ |
| 7039 | { |
| 7040 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7041 | "value" : ["scalars", "tmp_3"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7042 | }, |
| 7043 | { |
| 7044 | "type" : "expression", |
| 7045 | "value" : { |
| 7046 | "type" : "expression", |
| 7047 | "value" : { |
| 7048 | "op" : "&", |
| 7049 | "left" : { |
| 7050 | "type" : "field", |
| 7051 | "value" : ["standard_metadata", "egress_port"] |
| 7052 | }, |
| 7053 | "right" : { |
| 7054 | "type" : "hexstr", |
| 7055 | "value" : "0xffffffff" |
| 7056 | } |
| 7057 | } |
| 7058 | } |
| 7059 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 7060 | ], |
| 7061 | "source_info" : { |
| 7062 | "filename" : "include/port_counters.p4", |
| 7063 | "line" : 39, |
| 7064 | "column" : 34, |
| 7065 | "source_fragment" : "(bit<32>) standard_metadata.egress_port" |
| 7066 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7067 | }, |
| 7068 | { |
| 7069 | "op" : "count", |
| 7070 | "parameters" : [ |
| 7071 | { |
| 7072 | "type" : "counter_array", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7073 | "value" : "egress.port_counters_egress.egress_port_counter" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7074 | }, |
| 7075 | { |
| 7076 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7077 | "value" : ["scalars", "tmp_3"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7078 | } |
| 7079 | ], |
| 7080 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7081 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7082 | "line" : 39, |
| 7083 | "column" : 8, |
| 7084 | "source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)" |
| 7085 | } |
| 7086 | } |
| 7087 | ] |
| 7088 | } |
| 7089 | ], |
| 7090 | "pipelines" : [ |
| 7091 | { |
| 7092 | "name" : "ingress", |
| 7093 | "id" : 0, |
| 7094 | "source_info" : { |
| 7095 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7096 | "line" : 37, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7097 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7098 | "source_fragment" : "ingress" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7099 | }, |
| 7100 | "init_table" : "tbl_act", |
| 7101 | "tables" : [ |
| 7102 | { |
| 7103 | "name" : "tbl_act", |
| 7104 | "id" : 0, |
| 7105 | "key" : [], |
| 7106 | "match_type" : "exact", |
| 7107 | "type" : "simple", |
| 7108 | "max_size" : 1024, |
| 7109 | "with_counters" : false, |
| 7110 | "support_timeout" : false, |
| 7111 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7112 | "action_ids" : [9], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7113 | "actions" : ["act_0"], |
| 7114 | "base_default_next" : "node_3", |
| 7115 | "next_tables" : { |
| 7116 | "act_0" : "node_3" |
| 7117 | }, |
| 7118 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7119 | "action_id" : 9, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7120 | "action_const" : true, |
| 7121 | "action_data" : [], |
| 7122 | "action_entry_const" : true |
| 7123 | } |
| 7124 | }, |
| 7125 | { |
| 7126 | "name" : "tbl_act_0", |
| 7127 | "id" : 1, |
| 7128 | "key" : [], |
| 7129 | "match_type" : "exact", |
| 7130 | "type" : "simple", |
| 7131 | "max_size" : 1024, |
| 7132 | "with_counters" : false, |
| 7133 | "support_timeout" : false, |
| 7134 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7135 | "action_ids" : [8], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7136 | "actions" : ["act"], |
| 7137 | "base_default_next" : null, |
| 7138 | "next_tables" : { |
| 7139 | "act" : null |
| 7140 | }, |
| 7141 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7142 | "action_id" : 8, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7143 | "action_const" : true, |
| 7144 | "action_data" : [], |
| 7145 | "action_entry_const" : true |
| 7146 | } |
| 7147 | }, |
| 7148 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7149 | "name" : "ingress.table0_control.table0", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7150 | "id" : 2, |
| 7151 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7152 | "filename" : "include/table0.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 7153 | "line" : 41, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7154 | "column" : 10, |
| 7155 | "source_fragment" : "table0" |
| 7156 | }, |
| 7157 | "key" : [ |
| 7158 | { |
| 7159 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7160 | "name" : "standard_metadata.ingress_port", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7161 | "target" : ["standard_metadata", "ingress_port"], |
| 7162 | "mask" : null |
| 7163 | }, |
| 7164 | { |
| 7165 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7166 | "name" : "hdr.ethernet.src_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7167 | "target" : ["ethernet", "src_addr"], |
| 7168 | "mask" : null |
| 7169 | }, |
| 7170 | { |
| 7171 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7172 | "name" : "hdr.ethernet.dst_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7173 | "target" : ["ethernet", "dst_addr"], |
| 7174 | "mask" : null |
| 7175 | }, |
| 7176 | { |
| 7177 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7178 | "name" : "hdr.ethernet.ether_type", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7179 | "target" : ["ethernet", "ether_type"], |
| 7180 | "mask" : null |
| 7181 | }, |
| 7182 | { |
| 7183 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7184 | "name" : "hdr.ipv4.src_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7185 | "target" : ["ipv4", "src_addr"], |
| 7186 | "mask" : null |
| 7187 | }, |
| 7188 | { |
| 7189 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7190 | "name" : "hdr.ipv4.dst_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7191 | "target" : ["ipv4", "dst_addr"], |
| 7192 | "mask" : null |
| 7193 | }, |
| 7194 | { |
| 7195 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7196 | "name" : "hdr.ipv4.protocol", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7197 | "target" : ["ipv4", "protocol"], |
| 7198 | "mask" : null |
| 7199 | }, |
| 7200 | { |
| 7201 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7202 | "name" : "local_metadata.l4_src_port", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7203 | "target" : ["scalars", "local_metadata_t.l4_src_port"], |
| 7204 | "mask" : null |
| 7205 | }, |
| 7206 | { |
| 7207 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7208 | "name" : "local_metadata.l4_dst_port", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7209 | "target" : ["scalars", "local_metadata_t.l4_dst_port"], |
| 7210 | "mask" : null |
| 7211 | } |
| 7212 | ], |
| 7213 | "match_type" : "ternary", |
| 7214 | "type" : "simple", |
| 7215 | "max_size" : 1024, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7216 | "with_counters" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7217 | "support_timeout" : false, |
| 7218 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7219 | "action_ids" : [5, 4, 3, 0], |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 7220 | "actions" : ["ingress.table0_control.set_egress_port", "ingress.table0_control.send_to_cpu", "ingress.table0_control.set_next_hop_id", "_drop"], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7221 | "base_default_next" : "ingress.process_set_source_sink.tb_set_source", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7222 | "next_tables" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7223 | "ingress.table0_control.set_egress_port" : "ingress.process_set_source_sink.tb_set_source", |
| 7224 | "ingress.table0_control.send_to_cpu" : "ingress.process_set_source_sink.tb_set_source", |
| 7225 | "ingress.table0_control.set_next_hop_id" : "ingress.process_set_source_sink.tb_set_source", |
| 7226 | "_drop" : "ingress.process_set_source_sink.tb_set_source" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7227 | }, |
| 7228 | "default_entry" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 7229 | "action_id" : 0, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7230 | "action_const" : true, |
| 7231 | "action_data" : [], |
| 7232 | "action_entry_const" : true |
| 7233 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7234 | }, |
| 7235 | { |
| 7236 | "name" : "ingress.process_set_source_sink.tb_set_source", |
| 7237 | "id" : 3, |
| 7238 | "source_info" : { |
| 7239 | "filename" : "include/int_source.p4", |
| 7240 | "line" : 101, |
| 7241 | "column" : 10, |
| 7242 | "source_fragment" : "tb_set_source" |
| 7243 | }, |
| 7244 | "key" : [ |
| 7245 | { |
| 7246 | "match_type" : "exact", |
| 7247 | "name" : "standard_metadata.ingress_port", |
| 7248 | "target" : ["standard_metadata", "ingress_port"], |
| 7249 | "mask" : null |
| 7250 | } |
| 7251 | ], |
| 7252 | "match_type" : "exact", |
| 7253 | "type" : "simple", |
| 7254 | "max_size" : 256, |
| 7255 | "with_counters" : true, |
| 7256 | "support_timeout" : false, |
| 7257 | "direct_meters" : null, |
| 7258 | "action_ids" : [6, 1], |
| 7259 | "actions" : ["ingress.process_set_source_sink.int_set_source", "NoAction"], |
| 7260 | "base_default_next" : "ingress.process_set_source_sink.tb_set_sink", |
| 7261 | "next_tables" : { |
| 7262 | "ingress.process_set_source_sink.int_set_source" : "ingress.process_set_source_sink.tb_set_sink", |
| 7263 | "NoAction" : "ingress.process_set_source_sink.tb_set_sink" |
| 7264 | }, |
| 7265 | "default_entry" : { |
| 7266 | "action_id" : 1, |
| 7267 | "action_const" : false, |
| 7268 | "action_data" : [], |
| 7269 | "action_entry_const" : false |
| 7270 | } |
| 7271 | }, |
| 7272 | { |
| 7273 | "name" : "ingress.process_set_source_sink.tb_set_sink", |
| 7274 | "id" : 4, |
| 7275 | "source_info" : { |
| 7276 | "filename" : "include/int_source.p4", |
| 7277 | "line" : 111, |
| 7278 | "column" : 10, |
| 7279 | "source_fragment" : "tb_set_sink" |
| 7280 | }, |
| 7281 | "key" : [ |
| 7282 | { |
| 7283 | "match_type" : "exact", |
| 7284 | "name" : "standard_metadata.egress_spec", |
| 7285 | "target" : ["standard_metadata", "egress_spec"], |
| 7286 | "mask" : null |
| 7287 | } |
| 7288 | ], |
| 7289 | "match_type" : "exact", |
| 7290 | "type" : "simple", |
| 7291 | "max_size" : 256, |
| 7292 | "with_counters" : true, |
| 7293 | "support_timeout" : false, |
| 7294 | "direct_meters" : null, |
| 7295 | "action_ids" : [7, 2], |
| 7296 | "actions" : ["ingress.process_set_source_sink.int_set_sink", "NoAction"], |
| 7297 | "base_default_next" : "node_8", |
| 7298 | "next_tables" : { |
| 7299 | "ingress.process_set_source_sink.int_set_sink" : "node_8", |
| 7300 | "NoAction" : "node_8" |
| 7301 | }, |
| 7302 | "default_entry" : { |
| 7303 | "action_id" : 2, |
| 7304 | "action_const" : false, |
| 7305 | "action_data" : [], |
| 7306 | "action_entry_const" : false |
| 7307 | } |
| 7308 | }, |
| 7309 | { |
| 7310 | "name" : "tbl_act_1", |
| 7311 | "id" : 5, |
| 7312 | "key" : [], |
| 7313 | "match_type" : "exact", |
| 7314 | "type" : "simple", |
| 7315 | "max_size" : 1024, |
| 7316 | "with_counters" : false, |
| 7317 | "support_timeout" : false, |
| 7318 | "direct_meters" : null, |
| 7319 | "action_ids" : [10], |
| 7320 | "actions" : ["act_1"], |
| 7321 | "base_default_next" : null, |
| 7322 | "next_tables" : { |
| 7323 | "act_1" : null |
| 7324 | }, |
| 7325 | "default_entry" : { |
| 7326 | "action_id" : 10, |
| 7327 | "action_const" : true, |
| 7328 | "action_data" : [], |
| 7329 | "action_entry_const" : true |
| 7330 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7331 | } |
| 7332 | ], |
| 7333 | "action_profiles" : [], |
| 7334 | "conditionals" : [ |
| 7335 | { |
| 7336 | "name" : "node_3", |
| 7337 | "id" : 0, |
| 7338 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7339 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7340 | "line" : 26, |
| 7341 | "column" : 12, |
| 7342 | "source_fragment" : "standard_metadata.ingress_port == CPU_PORT" |
| 7343 | }, |
| 7344 | "expression" : { |
| 7345 | "type" : "expression", |
| 7346 | "value" : { |
| 7347 | "op" : "==", |
| 7348 | "left" : { |
| 7349 | "type" : "field", |
| 7350 | "value" : ["standard_metadata", "ingress_port"] |
| 7351 | }, |
| 7352 | "right" : { |
| 7353 | "type" : "hexstr", |
| 7354 | "value" : "0x00ff" |
| 7355 | } |
| 7356 | } |
| 7357 | }, |
| 7358 | "true_next" : "tbl_act_0", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7359 | "false_next" : "ingress.table0_control.table0" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7360 | }, |
| 7361 | { |
| 7362 | "name" : "node_8", |
| 7363 | "id" : 1, |
| 7364 | "source_info" : { |
| 7365 | "filename" : "int.p4", |
| 7366 | "line" : 47, |
| 7367 | "column" : 11, |
| 7368 | "source_fragment" : "local_metadata.int_meta.sink == 1" |
| 7369 | }, |
| 7370 | "expression" : { |
| 7371 | "type" : "expression", |
| 7372 | "value" : { |
| 7373 | "op" : "==", |
| 7374 | "left" : { |
| 7375 | "type" : "field", |
| 7376 | "value" : ["userMetadata.int_meta", "sink"] |
| 7377 | }, |
| 7378 | "right" : { |
| 7379 | "type" : "hexstr", |
| 7380 | "value" : "0x01" |
| 7381 | } |
| 7382 | } |
| 7383 | }, |
| 7384 | "false_next" : null, |
| 7385 | "true_next" : "tbl_act_1" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7386 | } |
| 7387 | ] |
| 7388 | }, |
| 7389 | { |
| 7390 | "name" : "egress", |
| 7391 | "id" : 1, |
| 7392 | "source_info" : { |
| 7393 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7394 | "line" : 57, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7395 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7396 | "source_fragment" : "egress" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7397 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7398 | "init_table" : "node_12", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7399 | "tables" : [ |
| 7400 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7401 | "name" : "egress.process_set_source_sink.tb_set_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7402 | "id" : 6, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7403 | "source_info" : { |
| 7404 | "filename" : "include/int_source.p4", |
| 7405 | "line" : 101, |
| 7406 | "column" : 10, |
| 7407 | "source_fragment" : "tb_set_source" |
| 7408 | }, |
| 7409 | "key" : [ |
| 7410 | { |
| 7411 | "match_type" : "exact", |
| 7412 | "name" : "standard_metadata.ingress_port", |
| 7413 | "target" : ["standard_metadata", "ingress_port"], |
| 7414 | "mask" : null |
| 7415 | } |
| 7416 | ], |
| 7417 | "match_type" : "exact", |
| 7418 | "type" : "simple", |
| 7419 | "max_size" : 256, |
| 7420 | "with_counters" : true, |
| 7421 | "support_timeout" : false, |
| 7422 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7423 | "action_ids" : [18, 11], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7424 | "actions" : ["egress.process_set_source_sink.int_set_source", "NoAction"], |
| 7425 | "base_default_next" : "egress.process_set_source_sink.tb_set_sink", |
| 7426 | "next_tables" : { |
| 7427 | "egress.process_set_source_sink.int_set_source" : "egress.process_set_source_sink.tb_set_sink", |
| 7428 | "NoAction" : "egress.process_set_source_sink.tb_set_sink" |
| 7429 | }, |
| 7430 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7431 | "action_id" : 11, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7432 | "action_const" : false, |
| 7433 | "action_data" : [], |
| 7434 | "action_entry_const" : false |
| 7435 | } |
| 7436 | }, |
| 7437 | { |
| 7438 | "name" : "egress.process_set_source_sink.tb_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7439 | "id" : 7, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7440 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7441 | "filename" : "include/int_source.p4", |
| 7442 | "line" : 111, |
| 7443 | "column" : 10, |
| 7444 | "source_fragment" : "tb_set_sink" |
| 7445 | }, |
| 7446 | "key" : [ |
| 7447 | { |
| 7448 | "match_type" : "exact", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7449 | "name" : "standard_metadata.egress_spec", |
| 7450 | "target" : ["standard_metadata", "egress_spec"], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7451 | "mask" : null |
| 7452 | } |
| 7453 | ], |
| 7454 | "match_type" : "exact", |
| 7455 | "type" : "simple", |
| 7456 | "max_size" : 256, |
| 7457 | "with_counters" : true, |
| 7458 | "support_timeout" : false, |
| 7459 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7460 | "action_ids" : [19, 12], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7461 | "actions" : ["egress.process_set_source_sink.int_set_sink", "NoAction"], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7462 | "base_default_next" : "node_15", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7463 | "next_tables" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7464 | "egress.process_set_source_sink.int_set_sink" : "node_15", |
| 7465 | "NoAction" : "node_15" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7466 | }, |
| 7467 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7468 | "action_id" : 12, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7469 | "action_const" : false, |
| 7470 | "action_data" : [], |
| 7471 | "action_entry_const" : false |
| 7472 | } |
| 7473 | }, |
| 7474 | { |
| 7475 | "name" : "egress.process_int_source.tb_int_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7476 | "id" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7477 | "source_info" : { |
| 7478 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7479 | "line" : 66, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7480 | "column" : 10, |
| 7481 | "source_fragment" : "tb_int_source" |
| 7482 | }, |
| 7483 | "key" : [ |
| 7484 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7485 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7486 | "name" : "hdr.ipv4.src_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7487 | "target" : ["ipv4", "src_addr"], |
| 7488 | "mask" : null |
| 7489 | }, |
| 7490 | { |
| 7491 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7492 | "name" : "hdr.ipv4.dst_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7493 | "target" : ["ipv4", "dst_addr"], |
| 7494 | "mask" : null |
| 7495 | }, |
| 7496 | { |
| 7497 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7498 | "name" : "local_metadata.l4_src_port", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7499 | "target" : ["scalars", "local_metadata_t.l4_src_port"], |
| 7500 | "mask" : null |
| 7501 | }, |
| 7502 | { |
| 7503 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7504 | "name" : "local_metadata.l4_dst_port", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7505 | "target" : ["scalars", "local_metadata_t.l4_dst_port"], |
| 7506 | "mask" : null |
| 7507 | } |
| 7508 | ], |
| 7509 | "match_type" : "ternary", |
| 7510 | "type" : "simple", |
| 7511 | "max_size" : 1024, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7512 | "with_counters" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7513 | "support_timeout" : false, |
| 7514 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7515 | "action_ids" : [20, 13], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7516 | "actions" : ["egress.process_int_source.int_source_dscp", "NoAction"], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7517 | "base_default_next" : "node_17", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7518 | "next_tables" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7519 | "egress.process_int_source.int_source_dscp" : "node_17", |
| 7520 | "NoAction" : "node_17" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7521 | }, |
| 7522 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7523 | "action_id" : 13, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7524 | "action_const" : false, |
| 7525 | "action_data" : [], |
| 7526 | "action_entry_const" : false |
| 7527 | } |
| 7528 | }, |
| 7529 | { |
| 7530 | "name" : "egress.process_int_transit.tb_int_insert", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7531 | "id" : 9, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7532 | "source_info" : { |
| 7533 | "filename" : "include/int_transit.p4", |
| 7534 | "line" : 227, |
| 7535 | "column" : 10, |
| 7536 | "source_fragment" : "tb_int_insert" |
| 7537 | }, |
| 7538 | "key" : [], |
| 7539 | "match_type" : "exact", |
| 7540 | "type" : "simple", |
| 7541 | "max_size" : 2, |
| 7542 | "with_counters" : true, |
| 7543 | "support_timeout" : false, |
| 7544 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7545 | "action_ids" : [22, 14], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7546 | "actions" : ["egress.process_int_transit.int_transit", "NoAction"], |
| 7547 | "base_default_next" : "egress.process_int_transit.tb_int_inst_0003", |
| 7548 | "next_tables" : { |
| 7549 | "egress.process_int_transit.int_transit" : "egress.process_int_transit.tb_int_inst_0003", |
| 7550 | "NoAction" : "egress.process_int_transit.tb_int_inst_0003" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7551 | }, |
| 7552 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7553 | "action_id" : 14, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7554 | "action_const" : false, |
| 7555 | "action_data" : [], |
| 7556 | "action_entry_const" : false |
| 7557 | } |
| 7558 | }, |
| 7559 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7560 | "name" : "egress.process_int_transit.tb_int_inst_0003", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7561 | "id" : 10, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7562 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7563 | "filename" : "include/int_transit.p4", |
| 7564 | "line" : 237, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7565 | "column" : 10, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7566 | "source_fragment" : "tb_int_inst_0003" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7567 | }, |
| 7568 | "key" : [ |
| 7569 | { |
| 7570 | "match_type" : "exact", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7571 | "name" : "hdr.int_header.instruction_mask_0003", |
| 7572 | "target" : ["int_header", "instruction_mask_0003"], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7573 | "mask" : null |
| 7574 | } |
| 7575 | ], |
| 7576 | "match_type" : "exact", |
| 7577 | "type" : "simple", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7578 | "max_size" : 16, |
| 7579 | "with_counters" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7580 | "support_timeout" : false, |
| 7581 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7582 | "action_ids" : [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 15], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7583 | "actions" : ["egress.process_int_transit.int_set_header_0003_i0", "egress.process_int_transit.int_set_header_0003_i1", "egress.process_int_transit.int_set_header_0003_i2", "egress.process_int_transit.int_set_header_0003_i3", "egress.process_int_transit.int_set_header_0003_i4", "egress.process_int_transit.int_set_header_0003_i5", "egress.process_int_transit.int_set_header_0003_i6", "egress.process_int_transit.int_set_header_0003_i7", "egress.process_int_transit.int_set_header_0003_i8", "egress.process_int_transit.int_set_header_0003_i9", "egress.process_int_transit.int_set_header_0003_i10", "egress.process_int_transit.int_set_header_0003_i11", "egress.process_int_transit.int_set_header_0003_i12", "egress.process_int_transit.int_set_header_0003_i13", "egress.process_int_transit.int_set_header_0003_i14", "egress.process_int_transit.int_set_header_0003_i15", "NoAction"], |
| 7584 | "base_default_next" : "egress.process_int_transit.tb_int_inst_0407", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7585 | "next_tables" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7586 | "egress.process_int_transit.int_set_header_0003_i0" : "egress.process_int_transit.tb_int_inst_0407", |
| 7587 | "egress.process_int_transit.int_set_header_0003_i1" : "egress.process_int_transit.tb_int_inst_0407", |
| 7588 | "egress.process_int_transit.int_set_header_0003_i2" : "egress.process_int_transit.tb_int_inst_0407", |
| 7589 | "egress.process_int_transit.int_set_header_0003_i3" : "egress.process_int_transit.tb_int_inst_0407", |
| 7590 | "egress.process_int_transit.int_set_header_0003_i4" : "egress.process_int_transit.tb_int_inst_0407", |
| 7591 | "egress.process_int_transit.int_set_header_0003_i5" : "egress.process_int_transit.tb_int_inst_0407", |
| 7592 | "egress.process_int_transit.int_set_header_0003_i6" : "egress.process_int_transit.tb_int_inst_0407", |
| 7593 | "egress.process_int_transit.int_set_header_0003_i7" : "egress.process_int_transit.tb_int_inst_0407", |
| 7594 | "egress.process_int_transit.int_set_header_0003_i8" : "egress.process_int_transit.tb_int_inst_0407", |
| 7595 | "egress.process_int_transit.int_set_header_0003_i9" : "egress.process_int_transit.tb_int_inst_0407", |
| 7596 | "egress.process_int_transit.int_set_header_0003_i10" : "egress.process_int_transit.tb_int_inst_0407", |
| 7597 | "egress.process_int_transit.int_set_header_0003_i11" : "egress.process_int_transit.tb_int_inst_0407", |
| 7598 | "egress.process_int_transit.int_set_header_0003_i12" : "egress.process_int_transit.tb_int_inst_0407", |
| 7599 | "egress.process_int_transit.int_set_header_0003_i13" : "egress.process_int_transit.tb_int_inst_0407", |
| 7600 | "egress.process_int_transit.int_set_header_0003_i14" : "egress.process_int_transit.tb_int_inst_0407", |
| 7601 | "egress.process_int_transit.int_set_header_0003_i15" : "egress.process_int_transit.tb_int_inst_0407", |
| 7602 | "NoAction" : "egress.process_int_transit.tb_int_inst_0407" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7603 | }, |
| 7604 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7605 | "action_id" : 15, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7606 | "action_const" : false, |
| 7607 | "action_data" : [], |
| 7608 | "action_entry_const" : false |
| 7609 | } |
| 7610 | }, |
| 7611 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7612 | "name" : "egress.process_int_transit.tb_int_inst_0407", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7613 | "id" : 11, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7614 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7615 | "filename" : "include/int_transit.p4", |
| 7616 | "line" : 264, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7617 | "column" : 10, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7618 | "source_fragment" : "tb_int_inst_0407" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7619 | }, |
| 7620 | "key" : [ |
| 7621 | { |
| 7622 | "match_type" : "exact", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7623 | "name" : "hdr.int_header.instruction_mask_0407", |
| 7624 | "target" : ["int_header", "instruction_mask_0407"], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7625 | "mask" : null |
| 7626 | } |
| 7627 | ], |
| 7628 | "match_type" : "exact", |
| 7629 | "type" : "simple", |
| 7630 | "max_size" : 16, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7631 | "with_counters" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7632 | "support_timeout" : false, |
| 7633 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7634 | "action_ids" : [39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 16], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7635 | "actions" : ["egress.process_int_transit.int_set_header_0407_i0", "egress.process_int_transit.int_set_header_0407_i1", "egress.process_int_transit.int_set_header_0407_i2", "egress.process_int_transit.int_set_header_0407_i3", "egress.process_int_transit.int_set_header_0407_i4", "egress.process_int_transit.int_set_header_0407_i5", "egress.process_int_transit.int_set_header_0407_i6", "egress.process_int_transit.int_set_header_0407_i7", "egress.process_int_transit.int_set_header_0407_i8", "egress.process_int_transit.int_set_header_0407_i9", "egress.process_int_transit.int_set_header_0407_i10", "egress.process_int_transit.int_set_header_0407_i11", "egress.process_int_transit.int_set_header_0407_i12", "egress.process_int_transit.int_set_header_0407_i13", "egress.process_int_transit.int_set_header_0407_i14", "egress.process_int_transit.int_set_header_0407_i15", "NoAction"], |
| 7636 | "base_default_next" : "tbl_process_int_transit_int_update_total_hop_cnt", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7637 | "next_tables" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7638 | "egress.process_int_transit.int_set_header_0407_i0" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7639 | "egress.process_int_transit.int_set_header_0407_i1" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7640 | "egress.process_int_transit.int_set_header_0407_i2" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7641 | "egress.process_int_transit.int_set_header_0407_i3" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7642 | "egress.process_int_transit.int_set_header_0407_i4" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7643 | "egress.process_int_transit.int_set_header_0407_i5" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7644 | "egress.process_int_transit.int_set_header_0407_i6" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7645 | "egress.process_int_transit.int_set_header_0407_i7" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7646 | "egress.process_int_transit.int_set_header_0407_i8" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7647 | "egress.process_int_transit.int_set_header_0407_i9" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7648 | "egress.process_int_transit.int_set_header_0407_i10" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7649 | "egress.process_int_transit.int_set_header_0407_i11" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7650 | "egress.process_int_transit.int_set_header_0407_i12" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7651 | "egress.process_int_transit.int_set_header_0407_i13" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7652 | "egress.process_int_transit.int_set_header_0407_i14" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7653 | "egress.process_int_transit.int_set_header_0407_i15" : "tbl_process_int_transit_int_update_total_hop_cnt", |
| 7654 | "NoAction" : "tbl_process_int_transit_int_update_total_hop_cnt" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7655 | }, |
| 7656 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7657 | "action_id" : 16, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7658 | "action_const" : false, |
| 7659 | "action_data" : [], |
| 7660 | "action_entry_const" : false |
| 7661 | } |
| 7662 | }, |
| 7663 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7664 | "name" : "tbl_process_int_transit_int_update_total_hop_cnt", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7665 | "id" : 12, |
| 7666 | "key" : [], |
| 7667 | "match_type" : "exact", |
| 7668 | "type" : "simple", |
| 7669 | "max_size" : 1024, |
| 7670 | "with_counters" : false, |
| 7671 | "support_timeout" : false, |
| 7672 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7673 | "action_ids" : [21], |
| 7674 | "actions" : ["egress.process_int_transit.int_update_total_hop_cnt"], |
| 7675 | "base_default_next" : "node_22", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7676 | "next_tables" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7677 | "egress.process_int_transit.int_update_total_hop_cnt" : "node_22" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7678 | }, |
| 7679 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7680 | "action_id" : 21, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7681 | "action_const" : true, |
| 7682 | "action_data" : [], |
| 7683 | "action_entry_const" : true |
| 7684 | } |
| 7685 | }, |
| 7686 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7687 | "name" : "tbl_process_int_outer_encap_int_update_ipv4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7688 | "id" : 13, |
| 7689 | "key" : [], |
| 7690 | "match_type" : "exact", |
| 7691 | "type" : "simple", |
| 7692 | "max_size" : 1024, |
| 7693 | "with_counters" : false, |
| 7694 | "support_timeout" : false, |
| 7695 | "direct_meters" : null, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7696 | "action_ids" : [55], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7697 | "actions" : ["egress.process_int_outer_encap.int_update_ipv4"], |
| 7698 | "base_default_next" : "node_24", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7699 | "next_tables" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7700 | "egress.process_int_outer_encap.int_update_ipv4" : "node_24" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7701 | }, |
| 7702 | "default_entry" : { |
| 7703 | "action_id" : 55, |
| 7704 | "action_const" : true, |
| 7705 | "action_data" : [], |
| 7706 | "action_entry_const" : true |
| 7707 | } |
| 7708 | }, |
| 7709 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7710 | "name" : "tbl_process_int_outer_encap_int_update_udp", |
| 7711 | "id" : 14, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7712 | "key" : [], |
| 7713 | "match_type" : "exact", |
| 7714 | "type" : "simple", |
| 7715 | "max_size" : 1024, |
| 7716 | "with_counters" : false, |
| 7717 | "support_timeout" : false, |
| 7718 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7719 | "action_ids" : [56], |
| 7720 | "actions" : ["egress.process_int_outer_encap.int_update_udp"], |
| 7721 | "base_default_next" : "node_26", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7722 | "next_tables" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7723 | "egress.process_int_outer_encap.int_update_udp" : "node_26" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7724 | }, |
| 7725 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7726 | "action_id" : 56, |
| 7727 | "action_const" : true, |
| 7728 | "action_data" : [], |
| 7729 | "action_entry_const" : true |
| 7730 | } |
| 7731 | }, |
| 7732 | { |
| 7733 | "name" : "tbl_process_int_outer_encap_int_update_shim", |
| 7734 | "id" : 15, |
| 7735 | "key" : [], |
| 7736 | "match_type" : "exact", |
| 7737 | "type" : "simple", |
| 7738 | "max_size" : 1024, |
| 7739 | "with_counters" : false, |
| 7740 | "support_timeout" : false, |
| 7741 | "direct_meters" : null, |
| 7742 | "action_ids" : [57], |
| 7743 | "actions" : ["egress.process_int_outer_encap.int_update_shim"], |
| 7744 | "base_default_next" : "node_28", |
| 7745 | "next_tables" : { |
| 7746 | "egress.process_int_outer_encap.int_update_shim" : "node_28" |
| 7747 | }, |
| 7748 | "default_entry" : { |
| 7749 | "action_id" : 57, |
| 7750 | "action_const" : true, |
| 7751 | "action_data" : [], |
| 7752 | "action_entry_const" : true |
| 7753 | } |
| 7754 | }, |
| 7755 | { |
| 7756 | "name" : "egress.process_int_report.tb_generate_report", |
| 7757 | "id" : 16, |
| 7758 | "source_info" : { |
| 7759 | "filename" : "include/int_report.p4", |
| 7760 | "line" : 89, |
| 7761 | "column" : 10, |
| 7762 | "source_fragment" : "tb_generate_report" |
| 7763 | }, |
| 7764 | "key" : [ |
| 7765 | { |
| 7766 | "match_type" : "exact", |
| 7767 | "name" : "standard_metadata.instance_type", |
| 7768 | "target" : ["standard_metadata", "instance_type"], |
| 7769 | "mask" : null |
| 7770 | } |
| 7771 | ], |
| 7772 | "match_type" : "exact", |
| 7773 | "type" : "simple", |
| 7774 | "max_size" : 1024, |
| 7775 | "with_counters" : false, |
| 7776 | "support_timeout" : false, |
| 7777 | "direct_meters" : null, |
| 7778 | "action_ids" : [58, 17], |
| 7779 | "actions" : ["egress.process_int_report.do_report_encapsulation", "NoAction"], |
| 7780 | "base_default_next" : "tbl_process_int_sink_restore_header", |
| 7781 | "next_tables" : { |
| 7782 | "egress.process_int_report.do_report_encapsulation" : "tbl_process_int_sink_restore_header", |
| 7783 | "NoAction" : "tbl_process_int_sink_restore_header" |
| 7784 | }, |
| 7785 | "default_entry" : { |
| 7786 | "action_id" : 17, |
| 7787 | "action_const" : false, |
| 7788 | "action_data" : [], |
| 7789 | "action_entry_const" : false |
| 7790 | } |
| 7791 | }, |
| 7792 | { |
| 7793 | "name" : "tbl_process_int_sink_restore_header", |
| 7794 | "id" : 17, |
| 7795 | "key" : [], |
| 7796 | "match_type" : "exact", |
| 7797 | "type" : "simple", |
| 7798 | "max_size" : 1024, |
| 7799 | "with_counters" : false, |
| 7800 | "support_timeout" : false, |
| 7801 | "direct_meters" : null, |
| 7802 | "action_ids" : [59], |
| 7803 | "actions" : ["egress.process_int_sink.restore_header"], |
| 7804 | "base_default_next" : "tbl_process_int_sink_int_sink", |
| 7805 | "next_tables" : { |
| 7806 | "egress.process_int_sink.restore_header" : "tbl_process_int_sink_int_sink" |
| 7807 | }, |
| 7808 | "default_entry" : { |
| 7809 | "action_id" : 59, |
| 7810 | "action_const" : true, |
| 7811 | "action_data" : [], |
| 7812 | "action_entry_const" : true |
| 7813 | } |
| 7814 | }, |
| 7815 | { |
| 7816 | "name" : "tbl_process_int_sink_int_sink", |
| 7817 | "id" : 18, |
| 7818 | "key" : [], |
| 7819 | "match_type" : "exact", |
| 7820 | "type" : "simple", |
| 7821 | "max_size" : 1024, |
| 7822 | "with_counters" : false, |
| 7823 | "support_timeout" : false, |
| 7824 | "direct_meters" : null, |
| 7825 | "action_ids" : [60], |
| 7826 | "actions" : ["egress.process_int_sink.int_sink"], |
| 7827 | "base_default_next" : "tbl_act_2", |
| 7828 | "next_tables" : { |
| 7829 | "egress.process_int_sink.int_sink" : "tbl_act_2" |
| 7830 | }, |
| 7831 | "default_entry" : { |
| 7832 | "action_id" : 60, |
| 7833 | "action_const" : true, |
| 7834 | "action_data" : [], |
| 7835 | "action_entry_const" : true |
| 7836 | } |
| 7837 | }, |
| 7838 | { |
| 7839 | "name" : "tbl_act_2", |
| 7840 | "id" : 19, |
| 7841 | "key" : [], |
| 7842 | "match_type" : "exact", |
| 7843 | "type" : "simple", |
| 7844 | "max_size" : 1024, |
| 7845 | "with_counters" : false, |
| 7846 | "support_timeout" : false, |
| 7847 | "direct_meters" : null, |
| 7848 | "action_ids" : [62], |
| 7849 | "actions" : ["act_3"], |
| 7850 | "base_default_next" : "node_33", |
| 7851 | "next_tables" : { |
| 7852 | "act_3" : "node_33" |
| 7853 | }, |
| 7854 | "default_entry" : { |
| 7855 | "action_id" : 62, |
| 7856 | "action_const" : true, |
| 7857 | "action_data" : [], |
| 7858 | "action_entry_const" : true |
| 7859 | } |
| 7860 | }, |
| 7861 | { |
| 7862 | "name" : "tbl_act_3", |
| 7863 | "id" : 20, |
| 7864 | "key" : [], |
| 7865 | "match_type" : "exact", |
| 7866 | "type" : "simple", |
| 7867 | "max_size" : 1024, |
| 7868 | "with_counters" : false, |
| 7869 | "support_timeout" : false, |
| 7870 | "direct_meters" : null, |
| 7871 | "action_ids" : [61], |
| 7872 | "actions" : ["act_2"], |
| 7873 | "base_default_next" : null, |
| 7874 | "next_tables" : { |
| 7875 | "act_2" : null |
| 7876 | }, |
| 7877 | "default_entry" : { |
| 7878 | "action_id" : 61, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7879 | "action_const" : true, |
| 7880 | "action_data" : [], |
| 7881 | "action_entry_const" : true |
| 7882 | } |
| 7883 | } |
| 7884 | ], |
| 7885 | "action_profiles" : [], |
| 7886 | "conditionals" : [ |
| 7887 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7888 | "name" : "node_12", |
| 7889 | "id" : 2, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7890 | "source_info" : { |
| 7891 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7892 | "line" : 63, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7893 | "column" : 12, |
| 7894 | "source_fragment" : "standard_metadata.ingress_port != CPU_PORT && ..." |
| 7895 | }, |
| 7896 | "expression" : { |
| 7897 | "type" : "expression", |
| 7898 | "value" : { |
| 7899 | "op" : "and", |
| 7900 | "left" : { |
| 7901 | "type" : "expression", |
| 7902 | "value" : { |
| 7903 | "op" : "and", |
| 7904 | "left" : { |
| 7905 | "type" : "expression", |
| 7906 | "value" : { |
| 7907 | "op" : "!=", |
| 7908 | "left" : { |
| 7909 | "type" : "field", |
| 7910 | "value" : ["standard_metadata", "ingress_port"] |
| 7911 | }, |
| 7912 | "right" : { |
| 7913 | "type" : "hexstr", |
| 7914 | "value" : "0x00ff" |
| 7915 | } |
| 7916 | } |
| 7917 | }, |
| 7918 | "right" : { |
| 7919 | "type" : "expression", |
| 7920 | "value" : { |
| 7921 | "op" : "!=", |
| 7922 | "left" : { |
| 7923 | "type" : "field", |
| 7924 | "value" : ["standard_metadata", "egress_port"] |
| 7925 | }, |
| 7926 | "right" : { |
| 7927 | "type" : "hexstr", |
| 7928 | "value" : "0x00ff" |
| 7929 | } |
| 7930 | } |
| 7931 | } |
| 7932 | } |
| 7933 | }, |
| 7934 | "right" : { |
| 7935 | "type" : "expression", |
| 7936 | "value" : { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7937 | "op" : "or", |
| 7938 | "left" : { |
| 7939 | "type" : "expression", |
| 7940 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7941 | "op" : "d2b", |
| 7942 | "left" : null, |
| 7943 | "right" : { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7944 | "type" : "field", |
| 7945 | "value" : ["udp", "$valid$"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7946 | } |
| 7947 | } |
| 7948 | }, |
| 7949 | "right" : { |
| 7950 | "type" : "expression", |
| 7951 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7952 | "op" : "d2b", |
| 7953 | "left" : null, |
| 7954 | "right" : { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7955 | "type" : "field", |
| 7956 | "value" : ["tcp", "$valid$"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7957 | } |
| 7958 | } |
| 7959 | } |
| 7960 | } |
| 7961 | } |
| 7962 | } |
| 7963 | }, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7964 | "true_next" : "egress.process_set_source_sink.tb_set_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7965 | "false_next" : "tbl_act_2" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7966 | }, |
| 7967 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7968 | "name" : "node_15", |
| 7969 | "id" : 3, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7970 | "source_info" : { |
| 7971 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7972 | "line" : 67, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7973 | "column" : 16, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7974 | "source_fragment" : "local_metadata.int_meta.source == 1" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7975 | }, |
| 7976 | "expression" : { |
| 7977 | "type" : "expression", |
| 7978 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7979 | "op" : "==", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7980 | "left" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7981 | "type" : "field", |
| 7982 | "value" : ["userMetadata.int_meta", "source"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 7983 | }, |
| 7984 | "right" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7985 | "type" : "hexstr", |
| 7986 | "value" : "0x01" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7987 | } |
| 7988 | } |
| 7989 | }, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 7990 | "true_next" : "egress.process_int_source.tb_int_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7991 | "false_next" : "node_17" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7992 | }, |
| 7993 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7994 | "name" : "node_17", |
| 7995 | "id" : 4, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7996 | "source_info" : { |
| 7997 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 7998 | "line" : 70, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 7999 | "column" : 15, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8000 | "source_fragment" : "hdr.int_header.isValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8001 | }, |
| 8002 | "expression" : { |
| 8003 | "type" : "expression", |
| 8004 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8005 | "op" : "d2b", |
| 8006 | "left" : null, |
| 8007 | "right" : { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8008 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8009 | "value" : ["int_header", "$valid$"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8010 | } |
| 8011 | } |
| 8012 | }, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8013 | "true_next" : "egress.process_int_transit.tb_int_insert", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8014 | "false_next" : "tbl_act_2" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8015 | }, |
| 8016 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8017 | "name" : "node_22", |
| 8018 | "id" : 5, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8019 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8020 | "filename" : "include/int_transit.p4", |
| 8021 | "line" : 314, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8022 | "column" : 12, |
| 8023 | "source_fragment" : "hdr.ipv4.isValid()" |
| 8024 | }, |
| 8025 | "expression" : { |
| 8026 | "type" : "expression", |
| 8027 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8028 | "op" : "d2b", |
| 8029 | "left" : null, |
| 8030 | "right" : { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8031 | "type" : "field", |
| 8032 | "value" : ["ipv4", "$valid$"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8033 | } |
| 8034 | } |
| 8035 | }, |
| 8036 | "true_next" : "tbl_process_int_outer_encap_int_update_ipv4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8037 | "false_next" : "node_24" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8038 | }, |
| 8039 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8040 | "name" : "node_24", |
| 8041 | "id" : 6, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8042 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8043 | "filename" : "include/int_transit.p4", |
| 8044 | "line" : 317, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8045 | "column" : 12, |
| 8046 | "source_fragment" : "hdr.udp.isValid()" |
| 8047 | }, |
| 8048 | "expression" : { |
| 8049 | "type" : "expression", |
| 8050 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8051 | "op" : "d2b", |
| 8052 | "left" : null, |
| 8053 | "right" : { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8054 | "type" : "field", |
| 8055 | "value" : ["udp", "$valid$"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8056 | } |
| 8057 | } |
| 8058 | }, |
| 8059 | "true_next" : "tbl_process_int_outer_encap_int_update_udp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8060 | "false_next" : "node_26" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8061 | }, |
| 8062 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8063 | "name" : "node_26", |
| 8064 | "id" : 7, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 8065 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8066 | "filename" : "include/int_transit.p4", |
| 8067 | "line" : 320, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8068 | "column" : 12, |
| 8069 | "source_fragment" : "hdr.intl4_shim.isValid()" |
| 8070 | }, |
| 8071 | "expression" : { |
| 8072 | "type" : "expression", |
| 8073 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8074 | "op" : "d2b", |
| 8075 | "left" : null, |
| 8076 | "right" : { |
| 8077 | "type" : "field", |
| 8078 | "value" : ["intl4_shim", "$valid$"] |
| 8079 | } |
| 8080 | } |
| 8081 | }, |
| 8082 | "true_next" : "tbl_process_int_outer_encap_int_update_shim", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8083 | "false_next" : "node_28" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8084 | }, |
| 8085 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8086 | "name" : "node_28", |
| 8087 | "id" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8088 | "source_info" : { |
| 8089 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8090 | "line" : 74, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8091 | "column" : 20, |
| 8092 | "source_fragment" : "local_metadata.int_meta.sink == 1" |
| 8093 | }, |
| 8094 | "expression" : { |
| 8095 | "type" : "expression", |
| 8096 | "value" : { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8097 | "op" : "==", |
| 8098 | "left" : { |
| 8099 | "type" : "field", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8100 | "value" : ["userMetadata.int_meta", "sink"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8101 | }, |
| 8102 | "right" : { |
| 8103 | "type" : "hexstr", |
| 8104 | "value" : "0x01" |
| 8105 | } |
| 8106 | } |
| 8107 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8108 | "true_next" : "egress.process_int_report.tb_generate_report", |
| 8109 | "false_next" : "tbl_act_2" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8110 | }, |
| 8111 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8112 | "name" : "node_33", |
| 8113 | "id" : 9, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8114 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8115 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8116 | "line" : 37, |
| 8117 | "column" : 12, |
| 8118 | "source_fragment" : "standard_metadata.egress_port == CPU_PORT" |
| 8119 | }, |
| 8120 | "expression" : { |
| 8121 | "type" : "expression", |
| 8122 | "value" : { |
| 8123 | "op" : "==", |
| 8124 | "left" : { |
| 8125 | "type" : "field", |
| 8126 | "value" : ["standard_metadata", "egress_port"] |
| 8127 | }, |
| 8128 | "right" : { |
| 8129 | "type" : "hexstr", |
| 8130 | "value" : "0x00ff" |
| 8131 | } |
| 8132 | } |
| 8133 | }, |
| 8134 | "false_next" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8135 | "true_next" : "tbl_act_3" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8136 | } |
| 8137 | ] |
| 8138 | } |
| 8139 | ], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8140 | "checksums" : [ |
| 8141 | { |
| 8142 | "name" : "cksum", |
| 8143 | "id" : 0, |
| 8144 | "source_info" : { |
| 8145 | "filename" : "include/checksums.p4", |
| 8146 | "line" : 32, |
| 8147 | "column" : 8, |
| 8148 | "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..." |
| 8149 | }, |
| 8150 | "target" : ["ipv4", "hdr_checksum"], |
| 8151 | "type" : "generic", |
| 8152 | "calculation" : "calc", |
| 8153 | "if_cond" : { |
| 8154 | "type" : "expression", |
| 8155 | "value" : { |
| 8156 | "op" : "d2b", |
| 8157 | "left" : null, |
| 8158 | "right" : { |
| 8159 | "type" : "field", |
| 8160 | "value" : ["ipv4", "$valid$"] |
| 8161 | } |
| 8162 | } |
| 8163 | } |
| 8164 | }, |
| 8165 | { |
| 8166 | "name" : "cksum_0", |
| 8167 | "id" : 1, |
| 8168 | "source_info" : { |
| 8169 | "filename" : "include/checksums.p4", |
| 8170 | "line" : 54, |
| 8171 | "column" : 8, |
| 8172 | "source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..." |
| 8173 | }, |
| 8174 | "target" : ["report_ipv4", "hdr_checksum"], |
| 8175 | "type" : "generic", |
| 8176 | "calculation" : "calc_0", |
| 8177 | "if_cond" : { |
| 8178 | "type" : "expression", |
| 8179 | "value" : { |
| 8180 | "op" : "d2b", |
| 8181 | "left" : null, |
| 8182 | "right" : { |
| 8183 | "type" : "field", |
| 8184 | "value" : ["report_ipv4", "$valid$"] |
| 8185 | } |
| 8186 | } |
| 8187 | } |
| 8188 | } |
| 8189 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8190 | "force_arith" : [], |
| 8191 | "extern_instances" : [], |
| 8192 | "field_aliases" : [ |
| 8193 | [ |
| 8194 | "queueing_metadata.enq_timestamp", |
| 8195 | ["standard_metadata", "enq_timestamp"] |
| 8196 | ], |
| 8197 | [ |
| 8198 | "queueing_metadata.enq_qdepth", |
| 8199 | ["standard_metadata", "enq_qdepth"] |
| 8200 | ], |
| 8201 | [ |
| 8202 | "queueing_metadata.deq_timedelta", |
| 8203 | ["standard_metadata", "deq_timedelta"] |
| 8204 | ], |
| 8205 | [ |
| 8206 | "queueing_metadata.deq_qdepth", |
| 8207 | ["standard_metadata", "deq_qdepth"] |
| 8208 | ], |
| 8209 | [ |
| 8210 | "intrinsic_metadata.ingress_global_timestamp", |
| 8211 | ["standard_metadata", "ingress_global_timestamp"] |
| 8212 | ], |
| 8213 | [ |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8214 | "intrinsic_metadata.egress_global_timestamp", |
| 8215 | ["standard_metadata", "egress_global_timestamp"] |
| 8216 | ], |
| 8217 | [ |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8218 | "intrinsic_metadata.lf_field_list", |
| 8219 | ["standard_metadata", "lf_field_list"] |
| 8220 | ], |
| 8221 | [ |
| 8222 | "intrinsic_metadata.mcast_grp", |
| 8223 | ["standard_metadata", "mcast_grp"] |
| 8224 | ], |
| 8225 | [ |
| 8226 | "intrinsic_metadata.resubmit_flag", |
| 8227 | ["standard_metadata", "resubmit_flag"] |
| 8228 | ], |
| 8229 | [ |
| 8230 | "intrinsic_metadata.egress_rid", |
| 8231 | ["standard_metadata", "egress_rid"] |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 8232 | ], |
| 8233 | [ |
| 8234 | "intrinsic_metadata.recirculate_flag", |
| 8235 | ["standard_metadata", "recirculate_flag"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8236 | ] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 8237 | ], |
| 8238 | "program" : "int.p4", |
| 8239 | "__meta__" : { |
| 8240 | "version" : [2, 18], |
| 8241 | "compiler" : "https://github.com/p4lang/p4c" |
| 8242 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8243 | } |