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 | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7 | ["tmp", 32, false], |
| 8 | ["tmp_0", 32, 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], |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 11 | ["process_int_transit_hasReturned", 1, false], |
| 12 | ["local_metadata_t._l4_src_port0", 16, false], |
| 13 | ["local_metadata_t._l4_dst_port1", 16, false], |
| 14 | ["local_metadata_t._next_hop_id2", 16, false], |
| 15 | ["local_metadata_t._selector3", 16, false], |
| 16 | ["local_metadata_t._int_meta_switch_id4", 32, false], |
| 17 | ["local_metadata_t._int_meta_new_bytes5", 16, false], |
| 18 | ["local_metadata_t._int_meta_new_words6", 8, false], |
| 19 | ["local_metadata_t._int_meta_source7", 1, false], |
| 20 | ["local_metadata_t._int_meta_sink8", 1, false], |
| 21 | ["local_metadata_t._int_meta_transit9", 1, false], |
| 22 | ["local_metadata_t._int_meta_intl4_shim_len10", 8, false], |
| 23 | ["local_metadata_t._compute_checksum11", 1, false], |
| 24 | ["_padding_1", 3, false] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 25 | ] |
| 26 | }, |
| 27 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 28 | "name" : "standard_metadata", |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 29 | "id" : 1, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 30 | "fields" : [ |
| 31 | ["ingress_port", 9, false], |
| 32 | ["egress_spec", 9, false], |
| 33 | ["egress_port", 9, false], |
| 34 | ["clone_spec", 32, false], |
| 35 | ["instance_type", 32, false], |
| 36 | ["drop", 1, false], |
| 37 | ["recirculate_port", 16, false], |
| 38 | ["packet_length", 32, false], |
| 39 | ["enq_timestamp", 32, false], |
| 40 | ["enq_qdepth", 19, false], |
| 41 | ["deq_timedelta", 32, false], |
| 42 | ["deq_qdepth", 19, false], |
| 43 | ["ingress_global_timestamp", 48, false], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 44 | ["egress_global_timestamp", 48, false], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 45 | ["lf_field_list", 32, false], |
| 46 | ["mcast_grp", 16, false], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 47 | ["resubmit_flag", 32, false], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 48 | ["egress_rid", 16, false], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 49 | ["recirculate_flag", 32, false], |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 50 | ["checksum_error", 1, false], |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 51 | ["parser_error", 32, false], |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 52 | ["priority", 3, false], |
| 53 | ["_padding_0", 2, false] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 54 | ] |
| 55 | }, |
| 56 | { |
| 57 | "name" : "packet_out_header_t", |
| 58 | "id" : 2, |
| 59 | "fields" : [ |
| 60 | ["egress_port", 9, false], |
| 61 | ["_padding", 7, false] |
| 62 | ] |
| 63 | }, |
| 64 | { |
| 65 | "name" : "packet_in_header_t", |
| 66 | "id" : 3, |
| 67 | "fields" : [ |
| 68 | ["ingress_port", 9, false], |
| 69 | ["_padding", 7, false] |
| 70 | ] |
| 71 | }, |
| 72 | { |
| 73 | "name" : "ethernet_t", |
| 74 | "id" : 4, |
| 75 | "fields" : [ |
| 76 | ["dst_addr", 48, false], |
| 77 | ["src_addr", 48, false], |
| 78 | ["ether_type", 16, false] |
| 79 | ] |
| 80 | }, |
| 81 | { |
| 82 | "name" : "ipv4_t", |
| 83 | "id" : 5, |
| 84 | "fields" : [ |
| 85 | ["version", 4, false], |
| 86 | ["ihl", 4, false], |
| 87 | ["dscp", 6, false], |
| 88 | ["ecn", 2, false], |
| 89 | ["len", 16, false], |
| 90 | ["identification", 16, false], |
| 91 | ["flags", 3, false], |
| 92 | ["frag_offset", 13, false], |
| 93 | ["ttl", 8, false], |
| 94 | ["protocol", 8, false], |
| 95 | ["hdr_checksum", 16, false], |
| 96 | ["src_addr", 32, false], |
| 97 | ["dst_addr", 32, false] |
| 98 | ] |
| 99 | }, |
| 100 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 101 | "name" : "udp_t", |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 102 | "id" : 6, |
| 103 | "fields" : [ |
| 104 | ["src_port", 16, false], |
| 105 | ["dst_port", 16, false], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 106 | ["length_", 16, false], |
| 107 | ["checksum", 16, false] |
| 108 | ] |
| 109 | }, |
| 110 | { |
| 111 | "name" : "report_fixed_header_t", |
| 112 | "id" : 7, |
| 113 | "fields" : [ |
| 114 | ["ver", 4, false], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 115 | ["len", 4, false], |
| 116 | ["nproto", 3, false], |
| 117 | ["rep_md_bits", 6, false], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 118 | ["d", 1, false], |
| 119 | ["q", 1, false], |
| 120 | ["f", 1, false], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 121 | ["rsvd", 6, false], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 122 | ["hw_id", 6, false], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 123 | ["sw_id", 32, false], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 124 | ["seq_no", 32, false], |
| 125 | ["ingress_tstamp", 32, false] |
| 126 | ] |
| 127 | }, |
| 128 | { |
| 129 | "name" : "drop_report_header_t", |
| 130 | "id" : 8, |
| 131 | "fields" : [ |
| 132 | ["switch_id", 32, false], |
| 133 | ["ingress_port_id", 16, false], |
| 134 | ["egress_port_id", 16, false], |
| 135 | ["queue_id", 8, false], |
| 136 | ["drop_reason", 8, false], |
| 137 | ["pad", 16, false] |
| 138 | ] |
| 139 | }, |
| 140 | { |
| 141 | "name" : "local_report_header_t", |
| 142 | "id" : 9, |
| 143 | "fields" : [ |
| 144 | ["switch_id", 32, false], |
| 145 | ["ingress_port_id", 16, false], |
| 146 | ["egress_port_id", 16, false], |
| 147 | ["queue_id", 8, false], |
| 148 | ["queue_occupancy", 24, false], |
| 149 | ["egress_tstamp", 32, false] |
| 150 | ] |
| 151 | }, |
| 152 | { |
| 153 | "name" : "tcp_t", |
| 154 | "id" : 10, |
| 155 | "fields" : [ |
| 156 | ["src_port", 16, false], |
| 157 | ["dst_port", 16, false], |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 158 | ["seq_no", 32, false], |
| 159 | ["ack_no", 32, false], |
| 160 | ["data_offset", 4, false], |
| 161 | ["res", 3, false], |
| 162 | ["ecn", 3, false], |
| 163 | ["ctrl", 6, false], |
| 164 | ["window", 16, false], |
| 165 | ["checksum", 16, false], |
| 166 | ["urgent_ptr", 16, false] |
| 167 | ] |
| 168 | }, |
| 169 | { |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 170 | "name" : "intl4_shim_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 171 | "id" : 11, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 172 | "fields" : [ |
| 173 | ["int_type", 8, false], |
| 174 | ["rsvd1", 8, false], |
| 175 | ["len", 8, false], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 176 | ["dscp", 6, false], |
| 177 | ["rsvd2", 2, false] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 178 | ] |
| 179 | }, |
| 180 | { |
| 181 | "name" : "int_header_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 182 | "id" : 12, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 183 | "fields" : [ |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 184 | ["ver", 4, false], |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 185 | ["rep", 2, false], |
| 186 | ["c", 1, false], |
| 187 | ["e", 1, false], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 188 | ["m", 1, false], |
| 189 | ["rsvd1", 7, false], |
| 190 | ["rsvd2", 3, false], |
| 191 | ["hop_metadata_len", 5, false], |
| 192 | ["remaining_hop_cnt", 8, false], |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 193 | ["instruction_mask_0003", 4, false], |
| 194 | ["instruction_mask_0407", 4, false], |
| 195 | ["instruction_mask_0811", 4, false], |
| 196 | ["instruction_mask_1215", 4, false], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 197 | ["rsvd3", 16, false] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 198 | ] |
| 199 | }, |
| 200 | { |
| 201 | "name" : "int_data_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 202 | "id" : 13, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 203 | "fields" : [ |
| 204 | ["data", "*"] |
| 205 | ], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 206 | "max_length" : 240 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 207 | }, |
| 208 | { |
| 209 | "name" : "int_switch_id_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 210 | "id" : 14, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 211 | "fields" : [ |
| 212 | ["switch_id", 32, false] |
| 213 | ] |
| 214 | }, |
| 215 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 216 | "name" : "int_level1_port_ids_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 217 | "id" : 15, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 218 | "fields" : [ |
| 219 | ["ingress_port_id", 16, false], |
| 220 | ["egress_port_id", 16, false] |
| 221 | ] |
| 222 | }, |
| 223 | { |
| 224 | "name" : "int_hop_latency_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 225 | "id" : 16, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 226 | "fields" : [ |
| 227 | ["hop_latency", 32, false] |
| 228 | ] |
| 229 | }, |
| 230 | { |
| 231 | "name" : "int_q_occupancy_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 232 | "id" : 17, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 233 | "fields" : [ |
| 234 | ["q_id", 8, false], |
| 235 | ["q_occupancy", 24, false] |
| 236 | ] |
| 237 | }, |
| 238 | { |
| 239 | "name" : "int_ingress_tstamp_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 240 | "id" : 18, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 241 | "fields" : [ |
| 242 | ["ingress_tstamp", 32, false] |
| 243 | ] |
| 244 | }, |
| 245 | { |
| 246 | "name" : "int_egress_tstamp_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 247 | "id" : 19, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 248 | "fields" : [ |
| 249 | ["egress_tstamp", 32, false] |
| 250 | ] |
| 251 | }, |
| 252 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 253 | "name" : "int_level2_port_ids_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 254 | "id" : 20, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 255 | "fields" : [ |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 256 | ["ingress_port_id", 32, false], |
| 257 | ["egress_port_id", 32, false] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 258 | ] |
| 259 | }, |
| 260 | { |
| 261 | "name" : "int_egress_port_tx_util_t", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 262 | "id" : 21, |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 263 | "fields" : [ |
| 264 | ["egress_port_tx_util", 32, false] |
| 265 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 266 | } |
| 267 | ], |
| 268 | "headers" : [ |
| 269 | { |
| 270 | "name" : "scalars", |
| 271 | "id" : 0, |
| 272 | "header_type" : "scalars_0", |
| 273 | "metadata" : true, |
| 274 | "pi_omit" : true |
| 275 | }, |
| 276 | { |
| 277 | "name" : "standard_metadata", |
| 278 | "id" : 1, |
| 279 | "header_type" : "standard_metadata", |
| 280 | "metadata" : true, |
| 281 | "pi_omit" : true |
| 282 | }, |
| 283 | { |
| 284 | "name" : "packet_out", |
| 285 | "id" : 2, |
| 286 | "header_type" : "packet_out_header_t", |
| 287 | "metadata" : false, |
| 288 | "pi_omit" : true |
| 289 | }, |
| 290 | { |
| 291 | "name" : "packet_in", |
| 292 | "id" : 3, |
| 293 | "header_type" : "packet_in_header_t", |
| 294 | "metadata" : false, |
| 295 | "pi_omit" : true |
| 296 | }, |
| 297 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 298 | "name" : "report_ethernet", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 299 | "id" : 4, |
| 300 | "header_type" : "ethernet_t", |
| 301 | "metadata" : false, |
| 302 | "pi_omit" : true |
| 303 | }, |
| 304 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 305 | "name" : "report_ipv4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 306 | "id" : 5, |
| 307 | "header_type" : "ipv4_t", |
| 308 | "metadata" : false, |
| 309 | "pi_omit" : true |
| 310 | }, |
| 311 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 312 | "name" : "report_udp", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 313 | "id" : 6, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 314 | "header_type" : "udp_t", |
| 315 | "metadata" : false, |
| 316 | "pi_omit" : true |
| 317 | }, |
| 318 | { |
| 319 | "name" : "report_fixed_header", |
| 320 | "id" : 7, |
| 321 | "header_type" : "report_fixed_header_t", |
| 322 | "metadata" : false, |
| 323 | "pi_omit" : true |
| 324 | }, |
| 325 | { |
| 326 | "name" : "report_local.drop_report_header", |
| 327 | "id" : 8, |
| 328 | "header_type" : "drop_report_header_t", |
| 329 | "metadata" : false, |
| 330 | "pi_omit" : true |
| 331 | }, |
| 332 | { |
| 333 | "name" : "report_local.local_report_header", |
| 334 | "id" : 9, |
| 335 | "header_type" : "local_report_header_t", |
| 336 | "metadata" : false, |
| 337 | "pi_omit" : true |
| 338 | }, |
| 339 | { |
| 340 | "name" : "ethernet", |
| 341 | "id" : 10, |
| 342 | "header_type" : "ethernet_t", |
| 343 | "metadata" : false, |
| 344 | "pi_omit" : true |
| 345 | }, |
| 346 | { |
| 347 | "name" : "ipv4", |
| 348 | "id" : 11, |
| 349 | "header_type" : "ipv4_t", |
| 350 | "metadata" : false, |
| 351 | "pi_omit" : true |
| 352 | }, |
| 353 | { |
| 354 | "name" : "tcp", |
| 355 | "id" : 12, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 356 | "header_type" : "tcp_t", |
| 357 | "metadata" : false, |
| 358 | "pi_omit" : true |
| 359 | }, |
| 360 | { |
| 361 | "name" : "udp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 362 | "id" : 13, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 363 | "header_type" : "udp_t", |
| 364 | "metadata" : false, |
| 365 | "pi_omit" : true |
| 366 | }, |
| 367 | { |
| 368 | "name" : "intl4_shim", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 369 | "id" : 14, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 370 | "header_type" : "intl4_shim_t", |
| 371 | "metadata" : false, |
| 372 | "pi_omit" : true |
| 373 | }, |
| 374 | { |
| 375 | "name" : "int_header", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 376 | "id" : 15, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 377 | "header_type" : "int_header_t", |
| 378 | "metadata" : false, |
| 379 | "pi_omit" : true |
| 380 | }, |
| 381 | { |
| 382 | "name" : "int_data", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 383 | "id" : 16, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 384 | "header_type" : "int_data_t", |
| 385 | "metadata" : false, |
| 386 | "pi_omit" : true |
| 387 | }, |
| 388 | { |
| 389 | "name" : "int_switch_id", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 390 | "id" : 17, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 391 | "header_type" : "int_switch_id_t", |
| 392 | "metadata" : false, |
| 393 | "pi_omit" : true |
| 394 | }, |
| 395 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 396 | "name" : "int_level1_port_ids", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 397 | "id" : 18, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 398 | "header_type" : "int_level1_port_ids_t", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 399 | "metadata" : false, |
| 400 | "pi_omit" : true |
| 401 | }, |
| 402 | { |
| 403 | "name" : "int_hop_latency", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 404 | "id" : 19, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 405 | "header_type" : "int_hop_latency_t", |
| 406 | "metadata" : false, |
| 407 | "pi_omit" : true |
| 408 | }, |
| 409 | { |
| 410 | "name" : "int_q_occupancy", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 411 | "id" : 20, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 412 | "header_type" : "int_q_occupancy_t", |
| 413 | "metadata" : false, |
| 414 | "pi_omit" : true |
| 415 | }, |
| 416 | { |
| 417 | "name" : "int_ingress_tstamp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 418 | "id" : 21, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 419 | "header_type" : "int_ingress_tstamp_t", |
| 420 | "metadata" : false, |
| 421 | "pi_omit" : true |
| 422 | }, |
| 423 | { |
| 424 | "name" : "int_egress_tstamp", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 425 | "id" : 22, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 426 | "header_type" : "int_egress_tstamp_t", |
| 427 | "metadata" : false, |
| 428 | "pi_omit" : true |
| 429 | }, |
| 430 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 431 | "name" : "int_level2_port_ids", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 432 | "id" : 23, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 433 | "header_type" : "int_level2_port_ids_t", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 434 | "metadata" : false, |
| 435 | "pi_omit" : true |
| 436 | }, |
| 437 | { |
| 438 | "name" : "int_egress_tx_util", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 439 | "id" : 24, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 440 | "header_type" : "int_egress_port_tx_util_t", |
| 441 | "metadata" : false, |
| 442 | "pi_omit" : true |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 443 | } |
| 444 | ], |
| 445 | "header_stacks" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 446 | "header_union_types" : [ |
| 447 | { |
| 448 | "name" : "local_report_t", |
| 449 | "id" : 0, |
| 450 | "headers" : [ |
| 451 | ["drop_report_header", "drop_report_header_t"], |
| 452 | ["local_report_header", "local_report_header_t"] |
| 453 | ] |
| 454 | } |
| 455 | ], |
| 456 | "header_unions" : [ |
| 457 | { |
| 458 | "name" : "report_local", |
| 459 | "id" : 0, |
| 460 | "union_type" : "local_report_t", |
| 461 | "header_ids" : [8, 9], |
| 462 | "pi_omit" : true |
| 463 | } |
| 464 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 465 | "header_union_stacks" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 466 | "field_lists" : [ |
| 467 | { |
| 468 | "id" : 1, |
| 469 | "name" : "fl", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 470 | "source_info" : { |
| 471 | "filename" : "int.p4", |
| 472 | "line" : 56, |
| 473 | "column" : 60, |
| 474 | "source_fragment" : "standard_metadata" |
| 475 | }, |
| 476 | "elements" : [ |
| 477 | { |
| 478 | "type" : "field", |
| 479 | "value" : ["standard_metadata", "ingress_port"] |
| 480 | }, |
| 481 | { |
| 482 | "type" : "field", |
| 483 | "value" : ["standard_metadata", "egress_spec"] |
| 484 | }, |
| 485 | { |
| 486 | "type" : "field", |
| 487 | "value" : ["standard_metadata", "egress_port"] |
| 488 | }, |
| 489 | { |
| 490 | "type" : "field", |
| 491 | "value" : ["standard_metadata", "clone_spec"] |
| 492 | }, |
| 493 | { |
| 494 | "type" : "field", |
| 495 | "value" : ["standard_metadata", "instance_type"] |
| 496 | }, |
| 497 | { |
| 498 | "type" : "field", |
| 499 | "value" : ["standard_metadata", "drop"] |
| 500 | }, |
| 501 | { |
| 502 | "type" : "field", |
| 503 | "value" : ["standard_metadata", "recirculate_port"] |
| 504 | }, |
| 505 | { |
| 506 | "type" : "field", |
| 507 | "value" : ["standard_metadata", "packet_length"] |
| 508 | }, |
| 509 | { |
| 510 | "type" : "field", |
| 511 | "value" : ["standard_metadata", "enq_timestamp"] |
| 512 | }, |
| 513 | { |
| 514 | "type" : "field", |
| 515 | "value" : ["standard_metadata", "enq_qdepth"] |
| 516 | }, |
| 517 | { |
| 518 | "type" : "field", |
| 519 | "value" : ["standard_metadata", "deq_timedelta"] |
| 520 | }, |
| 521 | { |
| 522 | "type" : "field", |
| 523 | "value" : ["standard_metadata", "deq_qdepth"] |
| 524 | }, |
| 525 | { |
| 526 | "type" : "field", |
| 527 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 528 | }, |
| 529 | { |
| 530 | "type" : "field", |
| 531 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 532 | }, |
| 533 | { |
| 534 | "type" : "field", |
| 535 | "value" : ["standard_metadata", "lf_field_list"] |
| 536 | }, |
| 537 | { |
| 538 | "type" : "field", |
| 539 | "value" : ["standard_metadata", "mcast_grp"] |
| 540 | }, |
| 541 | { |
| 542 | "type" : "field", |
| 543 | "value" : ["standard_metadata", "resubmit_flag"] |
| 544 | }, |
| 545 | { |
| 546 | "type" : "field", |
| 547 | "value" : ["standard_metadata", "egress_rid"] |
| 548 | }, |
| 549 | { |
| 550 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 551 | "value" : ["standard_metadata", "recirculate_flag"] |
| 552 | }, |
| 553 | { |
| 554 | "type" : "field", |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 555 | "value" : ["standard_metadata", "checksum_error"] |
| 556 | }, |
| 557 | { |
| 558 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 559 | "value" : ["standard_metadata", "parser_error"] |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 560 | }, |
| 561 | { |
| 562 | "type" : "field", |
| 563 | "value" : ["standard_metadata", "priority"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 564 | } |
| 565 | ] |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 566 | } |
| 567 | ], |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 568 | "errors" : [ |
CyberHasH | 246dadc | 2019-10-05 02:37:50 +0800 | [diff] [blame] | 569 | ["NoError", 1], |
| 570 | ["PacketTooShort", 2], |
| 571 | ["NoMatch", 3], |
| 572 | ["StackOutOfBounds", 4], |
| 573 | ["HeaderTooShort", 5], |
| 574 | ["ParserTimeout", 6], |
| 575 | ["ParserInvalidArgument", 7] |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 576 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 577 | "enums" : [], |
| 578 | "parsers" : [ |
| 579 | { |
| 580 | "name" : "parser", |
| 581 | "id" : 0, |
| 582 | "init_state" : "start", |
| 583 | "parse_states" : [ |
| 584 | { |
| 585 | "name" : "start", |
| 586 | "id" : 0, |
| 587 | "parser_ops" : [], |
| 588 | "transitions" : [ |
| 589 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 590 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 591 | "value" : "0x00ff", |
| 592 | "mask" : null, |
| 593 | "next_state" : "parse_packet_out" |
| 594 | }, |
| 595 | { |
| 596 | "value" : "default", |
| 597 | "mask" : null, |
| 598 | "next_state" : "parse_ethernet" |
| 599 | } |
| 600 | ], |
| 601 | "transition_key" : [ |
| 602 | { |
| 603 | "type" : "field", |
| 604 | "value" : ["standard_metadata", "ingress_port"] |
| 605 | } |
| 606 | ] |
| 607 | }, |
| 608 | { |
| 609 | "name" : "parse_packet_out", |
| 610 | "id" : 1, |
| 611 | "parser_ops" : [ |
| 612 | { |
| 613 | "parameters" : [ |
| 614 | { |
| 615 | "type" : "regular", |
| 616 | "value" : "packet_out" |
| 617 | } |
| 618 | ], |
| 619 | "op" : "extract" |
| 620 | } |
| 621 | ], |
| 622 | "transitions" : [ |
| 623 | { |
| 624 | "value" : "default", |
| 625 | "mask" : null, |
| 626 | "next_state" : "parse_ethernet" |
| 627 | } |
| 628 | ], |
| 629 | "transition_key" : [] |
| 630 | }, |
| 631 | { |
| 632 | "name" : "parse_ethernet", |
| 633 | "id" : 2, |
| 634 | "parser_ops" : [ |
| 635 | { |
| 636 | "parameters" : [ |
| 637 | { |
| 638 | "type" : "regular", |
| 639 | "value" : "ethernet" |
| 640 | } |
| 641 | ], |
| 642 | "op" : "extract" |
| 643 | } |
| 644 | ], |
| 645 | "transitions" : [ |
| 646 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 647 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 648 | "value" : "0x0800", |
| 649 | "mask" : null, |
| 650 | "next_state" : "parse_ipv4" |
| 651 | }, |
| 652 | { |
| 653 | "value" : "default", |
| 654 | "mask" : null, |
| 655 | "next_state" : null |
| 656 | } |
| 657 | ], |
| 658 | "transition_key" : [ |
| 659 | { |
| 660 | "type" : "field", |
| 661 | "value" : ["ethernet", "ether_type"] |
| 662 | } |
| 663 | ] |
| 664 | }, |
| 665 | { |
| 666 | "name" : "parse_ipv4", |
| 667 | "id" : 3, |
| 668 | "parser_ops" : [ |
| 669 | { |
| 670 | "parameters" : [ |
| 671 | { |
| 672 | "type" : "regular", |
| 673 | "value" : "ipv4" |
| 674 | } |
| 675 | ], |
| 676 | "op" : "extract" |
| 677 | } |
| 678 | ], |
| 679 | "transitions" : [ |
| 680 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 681 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 682 | "value" : "0x06", |
| 683 | "mask" : null, |
| 684 | "next_state" : "parse_tcp" |
| 685 | }, |
| 686 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 687 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 688 | "value" : "0x11", |
| 689 | "mask" : null, |
| 690 | "next_state" : "parse_udp" |
| 691 | }, |
| 692 | { |
| 693 | "value" : "default", |
| 694 | "mask" : null, |
| 695 | "next_state" : null |
| 696 | } |
| 697 | ], |
| 698 | "transition_key" : [ |
| 699 | { |
| 700 | "type" : "field", |
| 701 | "value" : ["ipv4", "protocol"] |
| 702 | } |
| 703 | ] |
| 704 | }, |
| 705 | { |
| 706 | "name" : "parse_tcp", |
| 707 | "id" : 4, |
| 708 | "parser_ops" : [ |
| 709 | { |
| 710 | "parameters" : [ |
| 711 | { |
| 712 | "type" : "regular", |
| 713 | "value" : "tcp" |
| 714 | } |
| 715 | ], |
| 716 | "op" : "extract" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 717 | }, |
| 718 | { |
| 719 | "parameters" : [ |
| 720 | { |
| 721 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 722 | "value" : ["scalars", "local_metadata_t._l4_src_port0"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 723 | }, |
| 724 | { |
| 725 | "type" : "field", |
| 726 | "value" : ["tcp", "src_port"] |
| 727 | } |
| 728 | ], |
| 729 | "op" : "set" |
| 730 | }, |
| 731 | { |
| 732 | "parameters" : [ |
| 733 | { |
| 734 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 735 | "value" : ["scalars", "local_metadata_t._l4_dst_port1"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 736 | }, |
| 737 | { |
| 738 | "type" : "field", |
| 739 | "value" : ["tcp", "dst_port"] |
| 740 | } |
| 741 | ], |
| 742 | "op" : "set" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 743 | } |
| 744 | ], |
| 745 | "transitions" : [ |
| 746 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 747 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 748 | "value" : "0x17", |
| 749 | "mask" : "0x3f", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 750 | "next_state" : "parse_intl4_shim" |
| 751 | }, |
| 752 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 753 | "value" : "default", |
| 754 | "mask" : null, |
| 755 | "next_state" : null |
| 756 | } |
| 757 | ], |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 758 | "transition_key" : [ |
| 759 | { |
| 760 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 761 | "value" : ["ipv4", "dscp"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 762 | } |
| 763 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 764 | }, |
| 765 | { |
| 766 | "name" : "parse_udp", |
| 767 | "id" : 5, |
| 768 | "parser_ops" : [ |
| 769 | { |
| 770 | "parameters" : [ |
| 771 | { |
| 772 | "type" : "regular", |
| 773 | "value" : "udp" |
| 774 | } |
| 775 | ], |
| 776 | "op" : "extract" |
| 777 | }, |
| 778 | { |
| 779 | "parameters" : [ |
| 780 | { |
| 781 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 782 | "value" : ["scalars", "local_metadata_t._l4_src_port0"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 783 | }, |
| 784 | { |
| 785 | "type" : "field", |
| 786 | "value" : ["udp", "src_port"] |
| 787 | } |
| 788 | ], |
| 789 | "op" : "set" |
| 790 | }, |
| 791 | { |
| 792 | "parameters" : [ |
| 793 | { |
| 794 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 795 | "value" : ["scalars", "local_metadata_t._l4_dst_port1"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 796 | }, |
| 797 | { |
| 798 | "type" : "field", |
| 799 | "value" : ["udp", "dst_port"] |
| 800 | } |
| 801 | ], |
| 802 | "op" : "set" |
| 803 | } |
| 804 | ], |
| 805 | "transitions" : [ |
| 806 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 807 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 808 | "value" : "0x17", |
| 809 | "mask" : "0x3f", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 810 | "next_state" : "parse_intl4_shim" |
| 811 | }, |
| 812 | { |
| 813 | "value" : "default", |
| 814 | "mask" : null, |
| 815 | "next_state" : null |
| 816 | } |
| 817 | ], |
| 818 | "transition_key" : [ |
| 819 | { |
| 820 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 821 | "value" : ["ipv4", "dscp"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 822 | } |
| 823 | ] |
| 824 | }, |
| 825 | { |
| 826 | "name" : "parse_intl4_shim", |
| 827 | "id" : 6, |
| 828 | "parser_ops" : [ |
| 829 | { |
| 830 | "parameters" : [ |
| 831 | { |
| 832 | "type" : "regular", |
| 833 | "value" : "intl4_shim" |
| 834 | } |
| 835 | ], |
| 836 | "op" : "extract" |
| 837 | }, |
| 838 | { |
| 839 | "parameters" : [ |
| 840 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 841 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 842 | "value" : ["scalars", "local_metadata_t._int_meta_intl4_shim_len10"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 843 | }, |
| 844 | { |
| 845 | "type" : "field", |
| 846 | "value" : ["intl4_shim", "len"] |
| 847 | } |
| 848 | ], |
| 849 | "op" : "set" |
| 850 | }, |
| 851 | { |
| 852 | "parameters" : [ |
| 853 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 854 | "type" : "regular", |
| 855 | "value" : "int_header" |
| 856 | } |
| 857 | ], |
| 858 | "op" : "extract" |
| 859 | }, |
| 860 | { |
| 861 | "parameters" : [ |
| 862 | { |
| 863 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 864 | "value" : ["scalars", "tmp"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 865 | }, |
| 866 | { |
| 867 | "type" : "expression", |
| 868 | "value" : { |
| 869 | "type" : "expression", |
| 870 | "value" : { |
| 871 | "op" : "&", |
| 872 | "left" : { |
| 873 | "type" : "expression", |
| 874 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 875 | "op" : "<<", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 876 | "left" : { |
| 877 | "type" : "expression", |
| 878 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 879 | "op" : "&", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 880 | "left" : { |
| 881 | "type" : "expression", |
| 882 | "value" : { |
| 883 | "op" : "&", |
| 884 | "left" : { |
| 885 | "type" : "expression", |
| 886 | "value" : { |
| 887 | "op" : "+", |
| 888 | "left" : { |
| 889 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 890 | "value" : ["intl4_shim", "len"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 891 | }, |
| 892 | "right" : { |
| 893 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 894 | "value" : "0xfd" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 895 | } |
| 896 | } |
| 897 | }, |
| 898 | "right" : { |
| 899 | "type" : "hexstr", |
| 900 | "value" : "0xff" |
| 901 | } |
| 902 | } |
| 903 | }, |
| 904 | "right" : { |
| 905 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 906 | "value" : "0xffffffff" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 907 | } |
| 908 | } |
| 909 | }, |
| 910 | "right" : { |
| 911 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 912 | "value" : "0x5" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 913 | } |
| 914 | } |
| 915 | }, |
| 916 | "right" : { |
| 917 | "type" : "hexstr", |
| 918 | "value" : "0xffffffff" |
| 919 | } |
| 920 | } |
| 921 | } |
| 922 | } |
| 923 | ], |
| 924 | "op" : "set" |
| 925 | }, |
| 926 | { |
| 927 | "parameters" : [ |
| 928 | { |
| 929 | "type" : "regular", |
| 930 | "value" : "int_data" |
| 931 | }, |
| 932 | { |
| 933 | "type" : "expression", |
| 934 | "value" : { |
| 935 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 936 | "value" : ["scalars", "tmp"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 937 | } |
| 938 | } |
| 939 | ], |
| 940 | "op" : "extract_VL" |
| 941 | } |
| 942 | ], |
| 943 | "transitions" : [ |
| 944 | { |
| 945 | "value" : "default", |
| 946 | "mask" : null, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 947 | "next_state" : null |
| 948 | } |
| 949 | ], |
| 950 | "transition_key" : [] |
| 951 | } |
| 952 | ] |
| 953 | } |
| 954 | ], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 955 | "parse_vsets" : [], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 956 | "deparsers" : [ |
| 957 | { |
| 958 | "name" : "deparser", |
| 959 | "id" : 0, |
| 960 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 961 | "filename" : "include/int_parser.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 962 | "line" : 93, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 963 | "column" : 8, |
| 964 | "source_fragment" : "int_deparser" |
| 965 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 966 | "order" : ["packet_in", "report_ethernet", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "ipv4", "tcp", "udp", "intl4_shim", "int_header", "int_switch_id", "int_level1_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_level2_port_ids", "int_egress_tx_util", "int_data"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 967 | } |
| 968 | ], |
| 969 | "meter_arrays" : [], |
| 970 | "counter_arrays" : [ |
| 971 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 972 | "name" : "ingress.port_counters_ingress.ingress_port_counter", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 973 | "id" : 0, |
| 974 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 975 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 976 | "line" : 26, |
| 977 | "column" : 38, |
| 978 | "source_fragment" : "ingress_port_counter" |
| 979 | }, |
| 980 | "size" : 511, |
| 981 | "is_direct" : false |
| 982 | }, |
| 983 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 984 | "name" : "ingress.table0_control.table0_counter", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 985 | "id" : 1, |
| 986 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 987 | "binding" : "ingress.table0_control.table0", |
| 988 | "source_info" : { |
| 989 | "filename" : "include/table0.p4", |
| 990 | "line" : 27, |
| 991 | "column" : 50, |
| 992 | "source_fragment" : "table0_counter" |
| 993 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 994 | }, |
| 995 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 996 | "name" : "ingress.process_int_source_sink.counter_set_source", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 997 | "id" : 2, |
| 998 | "is_direct" : true, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 999 | "binding" : "ingress.process_int_source_sink.tb_set_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1000 | "source_info" : { |
| 1001 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1002 | "line" : 88, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1003 | "column" : 50, |
| 1004 | "source_fragment" : "counter_set_source" |
| 1005 | } |
| 1006 | }, |
| 1007 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1008 | "name" : "ingress.process_int_source_sink.counter_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1009 | "id" : 3, |
| 1010 | "is_direct" : true, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1011 | "binding" : "ingress.process_int_source_sink.tb_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1012 | "source_info" : { |
| 1013 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1014 | "line" : 89, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1015 | "column" : 50, |
| 1016 | "source_fragment" : "counter_set_sink" |
| 1017 | } |
| 1018 | }, |
| 1019 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1020 | "name" : "ingress.process_int_source.counter_int_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1021 | "id" : 4, |
| 1022 | "is_direct" : true, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1023 | "binding" : "ingress.process_int_source.tb_int_source", |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1024 | "source_info" : { |
| 1025 | "filename" : "include/int_source.p4", |
| 1026 | "line" : 27, |
| 1027 | "column" : 50, |
| 1028 | "source_fragment" : "counter_int_source" |
| 1029 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1030 | }, |
| 1031 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1032 | "name" : "egress.port_counters_egress.egress_port_counter", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1033 | "id" : 5, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1034 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1035 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1036 | "line" : 36, |
| 1037 | "column" : 38, |
| 1038 | "source_fragment" : "egress_port_counter" |
| 1039 | }, |
| 1040 | "size" : 511, |
| 1041 | "is_direct" : false |
| 1042 | } |
| 1043 | ], |
| 1044 | "register_arrays" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1045 | "calculations" : [ |
| 1046 | { |
| 1047 | "name" : "calc", |
| 1048 | "id" : 0, |
| 1049 | "source_info" : { |
| 1050 | "filename" : "include/checksums.p4", |
| 1051 | "line" : 32, |
| 1052 | "column" : 8, |
| 1053 | "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..." |
| 1054 | }, |
| 1055 | "algo" : "csum16", |
| 1056 | "input" : [ |
| 1057 | { |
| 1058 | "type" : "field", |
| 1059 | "value" : ["ipv4", "version"] |
| 1060 | }, |
| 1061 | { |
| 1062 | "type" : "field", |
| 1063 | "value" : ["ipv4", "ihl"] |
| 1064 | }, |
| 1065 | { |
| 1066 | "type" : "field", |
| 1067 | "value" : ["ipv4", "dscp"] |
| 1068 | }, |
| 1069 | { |
| 1070 | "type" : "field", |
| 1071 | "value" : ["ipv4", "ecn"] |
| 1072 | }, |
| 1073 | { |
| 1074 | "type" : "field", |
| 1075 | "value" : ["ipv4", "len"] |
| 1076 | }, |
| 1077 | { |
| 1078 | "type" : "field", |
| 1079 | "value" : ["ipv4", "identification"] |
| 1080 | }, |
| 1081 | { |
| 1082 | "type" : "field", |
| 1083 | "value" : ["ipv4", "flags"] |
| 1084 | }, |
| 1085 | { |
| 1086 | "type" : "field", |
| 1087 | "value" : ["ipv4", "frag_offset"] |
| 1088 | }, |
| 1089 | { |
| 1090 | "type" : "field", |
| 1091 | "value" : ["ipv4", "ttl"] |
| 1092 | }, |
| 1093 | { |
| 1094 | "type" : "field", |
| 1095 | "value" : ["ipv4", "protocol"] |
| 1096 | }, |
| 1097 | { |
| 1098 | "type" : "field", |
| 1099 | "value" : ["ipv4", "src_addr"] |
| 1100 | }, |
| 1101 | { |
| 1102 | "type" : "field", |
| 1103 | "value" : ["ipv4", "dst_addr"] |
| 1104 | } |
| 1105 | ] |
| 1106 | }, |
| 1107 | { |
| 1108 | "name" : "calc_0", |
| 1109 | "id" : 1, |
| 1110 | "source_info" : { |
| 1111 | "filename" : "include/checksums.p4", |
| 1112 | "line" : 54, |
| 1113 | "column" : 8, |
| 1114 | "source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..." |
| 1115 | }, |
| 1116 | "algo" : "csum16", |
| 1117 | "input" : [ |
| 1118 | { |
| 1119 | "type" : "field", |
| 1120 | "value" : ["report_ipv4", "version"] |
| 1121 | }, |
| 1122 | { |
| 1123 | "type" : "field", |
| 1124 | "value" : ["report_ipv4", "ihl"] |
| 1125 | }, |
| 1126 | { |
| 1127 | "type" : "field", |
| 1128 | "value" : ["report_ipv4", "dscp"] |
| 1129 | }, |
| 1130 | { |
| 1131 | "type" : "field", |
| 1132 | "value" : ["report_ipv4", "ecn"] |
| 1133 | }, |
| 1134 | { |
| 1135 | "type" : "field", |
| 1136 | "value" : ["report_ipv4", "len"] |
| 1137 | }, |
| 1138 | { |
| 1139 | "type" : "field", |
| 1140 | "value" : ["report_ipv4", "identification"] |
| 1141 | }, |
| 1142 | { |
| 1143 | "type" : "field", |
| 1144 | "value" : ["report_ipv4", "flags"] |
| 1145 | }, |
| 1146 | { |
| 1147 | "type" : "field", |
| 1148 | "value" : ["report_ipv4", "frag_offset"] |
| 1149 | }, |
| 1150 | { |
| 1151 | "type" : "field", |
| 1152 | "value" : ["report_ipv4", "ttl"] |
| 1153 | }, |
| 1154 | { |
| 1155 | "type" : "field", |
| 1156 | "value" : ["report_ipv4", "protocol"] |
| 1157 | }, |
| 1158 | { |
| 1159 | "type" : "field", |
| 1160 | "value" : ["report_ipv4", "src_addr"] |
| 1161 | }, |
| 1162 | { |
| 1163 | "type" : "field", |
| 1164 | "value" : ["report_ipv4", "dst_addr"] |
| 1165 | } |
| 1166 | ] |
| 1167 | } |
| 1168 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1169 | "learn_lists" : [], |
| 1170 | "actions" : [ |
| 1171 | { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1172 | "name" : "nop", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1173 | "id" : 0, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1174 | "runtime_data" : [], |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1175 | "primitives" : [] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1176 | }, |
| 1177 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1178 | "name" : "nop", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1179 | "id" : 1, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1180 | "runtime_data" : [], |
| 1181 | "primitives" : [] |
| 1182 | }, |
| 1183 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1184 | "name" : "nop", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1185 | "id" : 2, |
| 1186 | "runtime_data" : [], |
| 1187 | "primitives" : [] |
| 1188 | }, |
| 1189 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1190 | "name" : "ingress.table0_control.set_next_hop_id", |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1191 | "id" : 3, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1192 | "runtime_data" : [ |
| 1193 | { |
| 1194 | "name" : "next_hop_id", |
| 1195 | "bitwidth" : 16 |
| 1196 | } |
| 1197 | ], |
| 1198 | "primitives" : [ |
| 1199 | { |
| 1200 | "op" : "assign", |
| 1201 | "parameters" : [ |
| 1202 | { |
| 1203 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 1204 | "value" : ["scalars", "local_metadata_t._next_hop_id2"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1205 | }, |
| 1206 | { |
| 1207 | "type" : "runtime_data", |
| 1208 | "value" : 0 |
| 1209 | } |
| 1210 | ], |
| 1211 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1212 | "filename" : "include/table0.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1213 | "line" : 30, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 1214 | "column" : 35, |
| 1215 | "source_fragment" : "= next_hop_id; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1216 | } |
| 1217 | } |
| 1218 | ] |
| 1219 | }, |
| 1220 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1221 | "name" : "ingress.table0_control.send_to_cpu", |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1222 | "id" : 4, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1223 | "runtime_data" : [], |
| 1224 | "primitives" : [ |
| 1225 | { |
| 1226 | "op" : "assign", |
| 1227 | "parameters" : [ |
| 1228 | { |
| 1229 | "type" : "field", |
| 1230 | "value" : ["standard_metadata", "egress_spec"] |
| 1231 | }, |
| 1232 | { |
| 1233 | "type" : "hexstr", |
| 1234 | "value" : "0x00ff" |
| 1235 | } |
| 1236 | ], |
| 1237 | "source_info" : { |
| 1238 | "filename" : "include/defines.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1239 | "line" : 43, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1240 | "column" : 24, |
| 1241 | "source_fragment" : "255; ..." |
| 1242 | } |
| 1243 | } |
| 1244 | ] |
| 1245 | }, |
| 1246 | { |
| 1247 | "name" : "ingress.table0_control.set_egress_port", |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1248 | "id" : 5, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1249 | "runtime_data" : [ |
| 1250 | { |
| 1251 | "name" : "port", |
| 1252 | "bitwidth" : 9 |
| 1253 | } |
| 1254 | ], |
| 1255 | "primitives" : [ |
| 1256 | { |
| 1257 | "op" : "assign", |
| 1258 | "parameters" : [ |
| 1259 | { |
| 1260 | "type" : "field", |
| 1261 | "value" : ["standard_metadata", "egress_spec"] |
| 1262 | }, |
| 1263 | { |
| 1264 | "type" : "runtime_data", |
| 1265 | "value" : 0 |
| 1266 | } |
| 1267 | ], |
| 1268 | "source_info" : { |
| 1269 | "filename" : "include/table0.p4", |
| 1270 | "line" : 38, |
| 1271 | "column" : 8, |
| 1272 | "source_fragment" : "standard_metadata.egress_spec = port" |
| 1273 | } |
| 1274 | } |
| 1275 | ] |
| 1276 | }, |
| 1277 | { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1278 | "name" : "ingress.table0_control.drop", |
| 1279 | "id" : 6, |
| 1280 | "runtime_data" : [], |
| 1281 | "primitives" : [ |
| 1282 | { |
| 1283 | "op" : "mark_to_drop", |
| 1284 | "parameters" : [ |
| 1285 | { |
| 1286 | "type" : "header", |
| 1287 | "value" : "standard_metadata" |
| 1288 | } |
| 1289 | ], |
| 1290 | "source_info" : { |
| 1291 | "filename" : "include/table0.p4", |
| 1292 | "line" : 42, |
| 1293 | "column" : 8, |
| 1294 | "source_fragment" : "mark_to_drop(standard_metadata)" |
| 1295 | } |
| 1296 | } |
| 1297 | ] |
| 1298 | }, |
| 1299 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1300 | "name" : "ingress.process_int_source_sink.int_set_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1301 | "id" : 7, |
| 1302 | "runtime_data" : [], |
| 1303 | "primitives" : [ |
| 1304 | { |
| 1305 | "op" : "assign", |
| 1306 | "parameters" : [ |
| 1307 | { |
| 1308 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 1309 | "value" : ["scalars", "local_metadata_t._int_meta_source7"] |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1310 | }, |
| 1311 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1312 | "type" : "expression", |
| 1313 | "value" : { |
| 1314 | "type" : "expression", |
| 1315 | "value" : { |
| 1316 | "op" : "b2d", |
| 1317 | "left" : null, |
| 1318 | "right" : { |
| 1319 | "type" : "bool", |
| 1320 | "value" : true |
| 1321 | } |
| 1322 | } |
| 1323 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1324 | } |
| 1325 | ], |
| 1326 | "source_info" : { |
| 1327 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1328 | "line" : 92, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 1329 | "column" : 39, |
| 1330 | "source_fragment" : "= true; ..." |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1331 | } |
| 1332 | } |
| 1333 | ] |
| 1334 | }, |
| 1335 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1336 | "name" : "ingress.process_int_source_sink.int_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1337 | "id" : 8, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1338 | "runtime_data" : [], |
| 1339 | "primitives" : [ |
| 1340 | { |
| 1341 | "op" : "assign", |
| 1342 | "parameters" : [ |
| 1343 | { |
| 1344 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 1345 | "value" : ["scalars", "local_metadata_t._int_meta_sink8"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1346 | }, |
| 1347 | { |
| 1348 | "type" : "expression", |
| 1349 | "value" : { |
| 1350 | "type" : "expression", |
| 1351 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1352 | "op" : "b2d", |
| 1353 | "left" : null, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1354 | "right" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1355 | "type" : "bool", |
| 1356 | "value" : true |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1357 | } |
| 1358 | } |
| 1359 | } |
| 1360 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 1361 | ], |
| 1362 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1363 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1364 | "line" : 97, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 1365 | "column" : 37, |
| 1366 | "source_fragment" : "= true; ..." |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1367 | } |
| 1368 | } |
| 1369 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1370 | }, |
| 1371 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1372 | "name" : "ingress.process_int_source.int_source_dscp", |
| 1373 | "id" : 9, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1374 | "runtime_data" : [ |
| 1375 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1376 | "name" : "hop_metadata_len", |
| 1377 | "bitwidth" : 5 |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1378 | }, |
| 1379 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1380 | "name" : "remaining_hop_cnt", |
| 1381 | "bitwidth" : 8 |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1382 | }, |
| 1383 | { |
| 1384 | "name" : "ins_mask0003", |
| 1385 | "bitwidth" : 4 |
| 1386 | }, |
| 1387 | { |
| 1388 | "name" : "ins_mask0407", |
| 1389 | "bitwidth" : 4 |
| 1390 | } |
| 1391 | ], |
| 1392 | "primitives" : [ |
| 1393 | { |
| 1394 | "op" : "add_header", |
| 1395 | "parameters" : [ |
| 1396 | { |
| 1397 | "type" : "header", |
| 1398 | "value" : "intl4_shim" |
| 1399 | } |
| 1400 | ], |
| 1401 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1402 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1403 | "line" : 31, |
| 1404 | "column" : 8, |
| 1405 | "source_fragment" : "hdr.intl4_shim.setValid()" |
| 1406 | } |
| 1407 | }, |
| 1408 | { |
| 1409 | "op" : "assign", |
| 1410 | "parameters" : [ |
| 1411 | { |
| 1412 | "type" : "field", |
| 1413 | "value" : ["intl4_shim", "int_type"] |
| 1414 | }, |
| 1415 | { |
| 1416 | "type" : "hexstr", |
| 1417 | "value" : "0x01" |
| 1418 | } |
| 1419 | ], |
| 1420 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1421 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1422 | "line" : 33, |
| 1423 | "column" : 8, |
| 1424 | "source_fragment" : "hdr.intl4_shim.int_type = 1" |
| 1425 | } |
| 1426 | }, |
| 1427 | { |
| 1428 | "op" : "assign", |
| 1429 | "parameters" : [ |
| 1430 | { |
| 1431 | "type" : "field", |
| 1432 | "value" : ["intl4_shim", "len"] |
| 1433 | }, |
| 1434 | { |
| 1435 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1436 | "value" : "0x03" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1437 | } |
| 1438 | ], |
| 1439 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1440 | "filename" : "include/int_definitions.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1441 | "line" : 30, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1442 | "column" : 35, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1443 | "source_fragment" : "3; ..." |
| 1444 | } |
| 1445 | }, |
| 1446 | { |
| 1447 | "op" : "assign", |
| 1448 | "parameters" : [ |
| 1449 | { |
| 1450 | "type" : "field", |
| 1451 | "value" : ["intl4_shim", "dscp"] |
| 1452 | }, |
| 1453 | { |
| 1454 | "type" : "field", |
| 1455 | "value" : ["ipv4", "dscp"] |
| 1456 | } |
| 1457 | ], |
| 1458 | "source_info" : { |
| 1459 | "filename" : "include/int_source.p4", |
| 1460 | "line" : 35, |
| 1461 | "column" : 8, |
| 1462 | "source_fragment" : "hdr.intl4_shim.dscp = hdr.ipv4.dscp" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1463 | } |
| 1464 | }, |
| 1465 | { |
| 1466 | "op" : "add_header", |
| 1467 | "parameters" : [ |
| 1468 | { |
| 1469 | "type" : "header", |
| 1470 | "value" : "int_header" |
| 1471 | } |
| 1472 | ], |
| 1473 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1474 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1475 | "line" : 38, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1476 | "column" : 8, |
| 1477 | "source_fragment" : "hdr.int_header.setValid()" |
| 1478 | } |
| 1479 | }, |
| 1480 | { |
| 1481 | "op" : "assign", |
| 1482 | "parameters" : [ |
| 1483 | { |
| 1484 | "type" : "field", |
| 1485 | "value" : ["int_header", "ver"] |
| 1486 | }, |
| 1487 | { |
| 1488 | "type" : "hexstr", |
| 1489 | "value" : "0x00" |
| 1490 | } |
| 1491 | ], |
| 1492 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1493 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1494 | "line" : 39, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1495 | "column" : 8, |
| 1496 | "source_fragment" : "hdr.int_header.ver = 0" |
| 1497 | } |
| 1498 | }, |
| 1499 | { |
| 1500 | "op" : "assign", |
| 1501 | "parameters" : [ |
| 1502 | { |
| 1503 | "type" : "field", |
| 1504 | "value" : ["int_header", "rep"] |
| 1505 | }, |
| 1506 | { |
| 1507 | "type" : "hexstr", |
| 1508 | "value" : "0x00" |
| 1509 | } |
| 1510 | ], |
| 1511 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1512 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1513 | "line" : 40, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1514 | "column" : 8, |
| 1515 | "source_fragment" : "hdr.int_header.rep = 0" |
| 1516 | } |
| 1517 | }, |
| 1518 | { |
| 1519 | "op" : "assign", |
| 1520 | "parameters" : [ |
| 1521 | { |
| 1522 | "type" : "field", |
| 1523 | "value" : ["int_header", "c"] |
| 1524 | }, |
| 1525 | { |
| 1526 | "type" : "hexstr", |
| 1527 | "value" : "0x00" |
| 1528 | } |
| 1529 | ], |
| 1530 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1531 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1532 | "line" : 41, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1533 | "column" : 8, |
| 1534 | "source_fragment" : "hdr.int_header.c = 0" |
| 1535 | } |
| 1536 | }, |
| 1537 | { |
| 1538 | "op" : "assign", |
| 1539 | "parameters" : [ |
| 1540 | { |
| 1541 | "type" : "field", |
| 1542 | "value" : ["int_header", "e"] |
| 1543 | }, |
| 1544 | { |
| 1545 | "type" : "hexstr", |
| 1546 | "value" : "0x00" |
| 1547 | } |
| 1548 | ], |
| 1549 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1550 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1551 | "line" : 42, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1552 | "column" : 8, |
| 1553 | "source_fragment" : "hdr.int_header.e = 0" |
| 1554 | } |
| 1555 | }, |
| 1556 | { |
| 1557 | "op" : "assign", |
| 1558 | "parameters" : [ |
| 1559 | { |
| 1560 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1561 | "value" : ["int_header", "m"] |
| 1562 | }, |
| 1563 | { |
| 1564 | "type" : "hexstr", |
| 1565 | "value" : "0x00" |
| 1566 | } |
| 1567 | ], |
| 1568 | "source_info" : { |
| 1569 | "filename" : "include/int_source.p4", |
| 1570 | "line" : 43, |
| 1571 | "column" : 8, |
| 1572 | "source_fragment" : "hdr.int_header.m = 0" |
| 1573 | } |
| 1574 | }, |
| 1575 | { |
| 1576 | "op" : "assign", |
| 1577 | "parameters" : [ |
| 1578 | { |
| 1579 | "type" : "field", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1580 | "value" : ["int_header", "rsvd1"] |
| 1581 | }, |
| 1582 | { |
| 1583 | "type" : "hexstr", |
| 1584 | "value" : "0x00" |
| 1585 | } |
| 1586 | ], |
| 1587 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1588 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1589 | "line" : 44, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1590 | "column" : 8, |
| 1591 | "source_fragment" : "hdr.int_header.rsvd1 = 0" |
| 1592 | } |
| 1593 | }, |
| 1594 | { |
| 1595 | "op" : "assign", |
| 1596 | "parameters" : [ |
| 1597 | { |
| 1598 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1599 | "value" : ["int_header", "rsvd2"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1600 | }, |
| 1601 | { |
| 1602 | "type" : "hexstr", |
| 1603 | "value" : "0x00" |
| 1604 | } |
| 1605 | ], |
| 1606 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1607 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1608 | "line" : 45, |
| 1609 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1610 | "source_fragment" : "hdr.int_header.rsvd2 = 0" |
| 1611 | } |
| 1612 | }, |
| 1613 | { |
| 1614 | "op" : "assign", |
| 1615 | "parameters" : [ |
| 1616 | { |
| 1617 | "type" : "field", |
| 1618 | "value" : ["int_header", "hop_metadata_len"] |
| 1619 | }, |
| 1620 | { |
| 1621 | "type" : "runtime_data", |
| 1622 | "value" : 0 |
| 1623 | } |
| 1624 | ], |
| 1625 | "source_info" : { |
| 1626 | "filename" : "include/int_source.p4", |
| 1627 | "line" : 46, |
| 1628 | "column" : 8, |
| 1629 | "source_fragment" : "hdr.int_header.hop_metadata_len = hop_metadata_len; ..." |
| 1630 | } |
| 1631 | }, |
| 1632 | { |
| 1633 | "op" : "assign", |
| 1634 | "parameters" : [ |
| 1635 | { |
| 1636 | "type" : "field", |
| 1637 | "value" : ["int_header", "remaining_hop_cnt"] |
| 1638 | }, |
| 1639 | { |
| 1640 | "type" : "runtime_data", |
| 1641 | "value" : 1 |
| 1642 | } |
| 1643 | ], |
| 1644 | "source_info" : { |
| 1645 | "filename" : "include/int_source.p4", |
| 1646 | "line" : 47, |
| 1647 | "column" : 8, |
| 1648 | "source_fragment" : "hdr.int_header.remaining_hop_cnt = remaining_hop_cnt; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1649 | } |
| 1650 | }, |
| 1651 | { |
| 1652 | "op" : "assign", |
| 1653 | "parameters" : [ |
| 1654 | { |
| 1655 | "type" : "field", |
| 1656 | "value" : ["int_header", "instruction_mask_0003"] |
| 1657 | }, |
| 1658 | { |
| 1659 | "type" : "runtime_data", |
| 1660 | "value" : 2 |
| 1661 | } |
| 1662 | ], |
| 1663 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1664 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1665 | "line" : 48, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1666 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1667 | "source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1668 | } |
| 1669 | }, |
| 1670 | { |
| 1671 | "op" : "assign", |
| 1672 | "parameters" : [ |
| 1673 | { |
| 1674 | "type" : "field", |
| 1675 | "value" : ["int_header", "instruction_mask_0407"] |
| 1676 | }, |
| 1677 | { |
| 1678 | "type" : "runtime_data", |
| 1679 | "value" : 3 |
| 1680 | } |
| 1681 | ], |
| 1682 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1683 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1684 | "line" : 49, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1685 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1686 | "source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1687 | } |
| 1688 | }, |
| 1689 | { |
| 1690 | "op" : "assign", |
| 1691 | "parameters" : [ |
| 1692 | { |
| 1693 | "type" : "field", |
| 1694 | "value" : ["int_header", "instruction_mask_0811"] |
| 1695 | }, |
| 1696 | { |
| 1697 | "type" : "hexstr", |
| 1698 | "value" : "0x00" |
| 1699 | } |
| 1700 | ], |
| 1701 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1702 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1703 | "line" : 50, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1704 | "column" : 8, |
| 1705 | "source_fragment" : "hdr.int_header.instruction_mask_0811 = 0" |
| 1706 | } |
| 1707 | }, |
| 1708 | { |
| 1709 | "op" : "assign", |
| 1710 | "parameters" : [ |
| 1711 | { |
| 1712 | "type" : "field", |
| 1713 | "value" : ["int_header", "instruction_mask_1215"] |
| 1714 | }, |
| 1715 | { |
| 1716 | "type" : "hexstr", |
| 1717 | "value" : "0x00" |
| 1718 | } |
| 1719 | ], |
| 1720 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1721 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1722 | "line" : 51, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1723 | "column" : 8, |
| 1724 | "source_fragment" : "hdr.int_header.instruction_mask_1215 = 0" |
| 1725 | } |
| 1726 | }, |
| 1727 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1728 | "op" : "assign", |
| 1729 | "parameters" : [ |
| 1730 | { |
| 1731 | "type" : "field", |
| 1732 | "value" : ["ipv4", "len"] |
| 1733 | }, |
| 1734 | { |
| 1735 | "type" : "expression", |
| 1736 | "value" : { |
| 1737 | "type" : "expression", |
| 1738 | "value" : { |
| 1739 | "op" : "&", |
| 1740 | "left" : { |
| 1741 | "type" : "expression", |
| 1742 | "value" : { |
| 1743 | "op" : "+", |
| 1744 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1745 | "type" : "expression", |
| 1746 | "value" : { |
| 1747 | "op" : "&", |
| 1748 | "left" : { |
| 1749 | "type" : "expression", |
| 1750 | "value" : { |
| 1751 | "op" : "+", |
| 1752 | "left" : { |
| 1753 | "type" : "field", |
| 1754 | "value" : ["ipv4", "len"] |
| 1755 | }, |
| 1756 | "right" : { |
| 1757 | "type" : "hexstr", |
| 1758 | "value" : "0x0008" |
| 1759 | } |
| 1760 | } |
| 1761 | }, |
| 1762 | "right" : { |
| 1763 | "type" : "hexstr", |
| 1764 | "value" : "0xffff" |
| 1765 | } |
| 1766 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1767 | }, |
| 1768 | "right" : { |
| 1769 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1770 | "value" : "0x0004" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1771 | } |
| 1772 | } |
| 1773 | }, |
| 1774 | "right" : { |
| 1775 | "type" : "hexstr", |
| 1776 | "value" : "0xffff" |
| 1777 | } |
| 1778 | } |
| 1779 | } |
| 1780 | } |
| 1781 | ], |
| 1782 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1783 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1784 | "line" : 54, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1785 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1786 | "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + INT_HEADER_SIZE + INT_SHIM_HEADER_SIZE" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1787 | } |
| 1788 | }, |
| 1789 | { |
| 1790 | "op" : "assign", |
| 1791 | "parameters" : [ |
| 1792 | { |
| 1793 | "type" : "field", |
| 1794 | "value" : ["udp", "length_"] |
| 1795 | }, |
| 1796 | { |
| 1797 | "type" : "expression", |
| 1798 | "value" : { |
| 1799 | "type" : "expression", |
| 1800 | "value" : { |
| 1801 | "op" : "&", |
| 1802 | "left" : { |
| 1803 | "type" : "expression", |
| 1804 | "value" : { |
| 1805 | "op" : "+", |
| 1806 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1807 | "type" : "expression", |
| 1808 | "value" : { |
| 1809 | "op" : "&", |
| 1810 | "left" : { |
| 1811 | "type" : "expression", |
| 1812 | "value" : { |
| 1813 | "op" : "+", |
| 1814 | "left" : { |
| 1815 | "type" : "field", |
| 1816 | "value" : ["udp", "length_"] |
| 1817 | }, |
| 1818 | "right" : { |
| 1819 | "type" : "hexstr", |
| 1820 | "value" : "0x0008" |
| 1821 | } |
| 1822 | } |
| 1823 | }, |
| 1824 | "right" : { |
| 1825 | "type" : "hexstr", |
| 1826 | "value" : "0xffff" |
| 1827 | } |
| 1828 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1829 | }, |
| 1830 | "right" : { |
| 1831 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1832 | "value" : "0x0004" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1833 | } |
| 1834 | } |
| 1835 | }, |
| 1836 | "right" : { |
| 1837 | "type" : "hexstr", |
| 1838 | "value" : "0xffff" |
| 1839 | } |
| 1840 | } |
| 1841 | } |
| 1842 | } |
| 1843 | ], |
| 1844 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1845 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1846 | "line" : 55, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1847 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1848 | "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + INT_HEADER_SIZE + INT_SHIM_HEADER_SIZE" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1849 | } |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1850 | }, |
| 1851 | { |
| 1852 | "op" : "assign", |
| 1853 | "parameters" : [ |
| 1854 | { |
| 1855 | "type" : "field", |
| 1856 | "value" : ["ipv4", "dscp"] |
| 1857 | }, |
| 1858 | { |
| 1859 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1860 | "value" : "0x17" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1861 | } |
| 1862 | ], |
| 1863 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 1864 | "filename" : "include/int_definitions.p4", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1865 | "line" : 24, |
| 1866 | "column" : 24, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1867 | "source_fragment" : "0x17; ..." |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 1868 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1869 | } |
| 1870 | ] |
| 1871 | }, |
| 1872 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1873 | "name" : "act", |
| 1874 | "id" : 10, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1875 | "runtime_data" : [], |
| 1876 | "primitives" : [ |
| 1877 | { |
| 1878 | "op" : "assign", |
| 1879 | "parameters" : [ |
| 1880 | { |
| 1881 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1882 | "value" : ["standard_metadata", "egress_spec"] |
| 1883 | }, |
| 1884 | { |
| 1885 | "type" : "field", |
| 1886 | "value" : ["packet_out", "egress_port"] |
| 1887 | } |
| 1888 | ], |
| 1889 | "source_info" : { |
| 1890 | "filename" : "include/packet_io.p4", |
| 1891 | "line" : 27, |
| 1892 | "column" : 12, |
| 1893 | "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port" |
| 1894 | } |
| 1895 | }, |
| 1896 | { |
| 1897 | "op" : "remove_header", |
| 1898 | "parameters" : [ |
| 1899 | { |
| 1900 | "type" : "header", |
| 1901 | "value" : "packet_out" |
| 1902 | } |
| 1903 | ], |
| 1904 | "source_info" : { |
| 1905 | "filename" : "include/packet_io.p4", |
| 1906 | "line" : 28, |
| 1907 | "column" : 12, |
| 1908 | "source_fragment" : "hdr.packet_out.setInvalid()" |
| 1909 | } |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 1910 | }, |
| 1911 | { |
| 1912 | "op" : "exit", |
| 1913 | "parameters" : [], |
| 1914 | "source_info" : { |
| 1915 | "filename" : "include/packet_io.p4", |
| 1916 | "line" : 29, |
| 1917 | "column" : 12, |
| 1918 | "source_fragment" : "exit" |
| 1919 | } |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 1920 | } |
| 1921 | ] |
| 1922 | }, |
| 1923 | { |
| 1924 | "name" : "act_0", |
| 1925 | "id" : 11, |
| 1926 | "runtime_data" : [], |
| 1927 | "primitives" : [ |
| 1928 | { |
| 1929 | "op" : "assign", |
| 1930 | "parameters" : [ |
| 1931 | { |
| 1932 | "type" : "field", |
| 1933 | "value" : ["scalars", "tmp_0"] |
| 1934 | }, |
| 1935 | { |
| 1936 | "type" : "expression", |
| 1937 | "value" : { |
| 1938 | "type" : "expression", |
| 1939 | "value" : { |
| 1940 | "op" : "&", |
| 1941 | "left" : { |
| 1942 | "type" : "field", |
| 1943 | "value" : ["standard_metadata", "ingress_port"] |
| 1944 | }, |
| 1945 | "right" : { |
| 1946 | "type" : "hexstr", |
| 1947 | "value" : "0xffffffff" |
| 1948 | } |
| 1949 | } |
| 1950 | } |
| 1951 | } |
| 1952 | ], |
| 1953 | "source_info" : { |
| 1954 | "filename" : "include/port_counters.p4", |
| 1955 | "line" : 29, |
| 1956 | "column" : 35, |
| 1957 | "source_fragment" : "(bit<32>) standard_metadata.ingress_port" |
| 1958 | } |
| 1959 | }, |
| 1960 | { |
| 1961 | "op" : "count", |
| 1962 | "parameters" : [ |
| 1963 | { |
| 1964 | "type" : "counter_array", |
| 1965 | "value" : "ingress.port_counters_ingress.ingress_port_counter" |
| 1966 | }, |
| 1967 | { |
| 1968 | "type" : "field", |
| 1969 | "value" : ["scalars", "tmp_0"] |
| 1970 | } |
| 1971 | ], |
| 1972 | "source_info" : { |
| 1973 | "filename" : "include/port_counters.p4", |
| 1974 | "line" : 29, |
| 1975 | "column" : 8, |
| 1976 | "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)" |
| 1977 | } |
| 1978 | } |
| 1979 | ] |
| 1980 | }, |
| 1981 | { |
| 1982 | "name" : "act_1", |
| 1983 | "id" : 12, |
| 1984 | "runtime_data" : [], |
| 1985 | "primitives" : [ |
| 1986 | { |
| 1987 | "op" : "clone_ingress_pkt_to_egress", |
| 1988 | "parameters" : [ |
| 1989 | { |
| 1990 | "type" : "hexstr", |
| 1991 | "value" : "0x000001f4" |
| 1992 | }, |
| 1993 | { |
| 1994 | "type" : "hexstr", |
| 1995 | "value" : "0x1" |
| 1996 | } |
| 1997 | ], |
| 1998 | "source_info" : { |
| 1999 | "filename" : "int.p4", |
| 2000 | "line" : 56, |
| 2001 | "column" : 12, |
| 2002 | "source_fragment" : "clone3(CloneType.I2E, REPORT_MIRROR_SESSION_ID, standard_metadata)" |
| 2003 | } |
| 2004 | } |
| 2005 | ] |
| 2006 | }, |
| 2007 | { |
| 2008 | "name" : "nop", |
| 2009 | "id" : 13, |
| 2010 | "runtime_data" : [], |
| 2011 | "primitives" : [] |
| 2012 | }, |
| 2013 | { |
| 2014 | "name" : "nop", |
| 2015 | "id" : 14, |
| 2016 | "runtime_data" : [], |
| 2017 | "primitives" : [] |
| 2018 | }, |
| 2019 | { |
| 2020 | "name" : "NoAction", |
| 2021 | "id" : 15, |
| 2022 | "runtime_data" : [], |
| 2023 | "primitives" : [] |
| 2024 | }, |
| 2025 | { |
| 2026 | "name" : "NoAction", |
| 2027 | "id" : 16, |
| 2028 | "runtime_data" : [], |
| 2029 | "primitives" : [] |
| 2030 | }, |
| 2031 | { |
| 2032 | "name" : "egress.process_int_transit.init_metadata", |
| 2033 | "id" : 17, |
| 2034 | "runtime_data" : [ |
| 2035 | { |
| 2036 | "name" : "switch_id", |
| 2037 | "bitwidth" : 32 |
| 2038 | } |
| 2039 | ], |
| 2040 | "primitives" : [ |
| 2041 | { |
| 2042 | "op" : "assign", |
| 2043 | "parameters" : [ |
| 2044 | { |
| 2045 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2046 | "value" : ["scalars", "local_metadata_t._int_meta_transit9"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2047 | }, |
| 2048 | { |
| 2049 | "type" : "expression", |
| 2050 | "value" : { |
| 2051 | "type" : "expression", |
| 2052 | "value" : { |
| 2053 | "op" : "b2d", |
| 2054 | "left" : null, |
| 2055 | "right" : { |
| 2056 | "type" : "bool", |
| 2057 | "value" : true |
| 2058 | } |
| 2059 | } |
| 2060 | } |
| 2061 | } |
| 2062 | ], |
| 2063 | "source_info" : { |
| 2064 | "filename" : "include/int_transit.p4", |
| 2065 | "line" : 26, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2066 | "column" : 40, |
| 2067 | "source_fragment" : "= true; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2068 | } |
| 2069 | }, |
| 2070 | { |
| 2071 | "op" : "assign", |
| 2072 | "parameters" : [ |
| 2073 | { |
| 2074 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2075 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2076 | }, |
| 2077 | { |
| 2078 | "type" : "runtime_data", |
| 2079 | "value" : 0 |
| 2080 | } |
| 2081 | ], |
| 2082 | "source_info" : { |
| 2083 | "filename" : "include/int_transit.p4", |
| 2084 | "line" : 27, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2085 | "column" : 42, |
| 2086 | "source_fragment" : "= switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2087 | } |
| 2088 | } |
| 2089 | ] |
| 2090 | }, |
| 2091 | { |
| 2092 | "name" : "egress.process_int_transit.int_set_header_0003_i0", |
| 2093 | "id" : 18, |
| 2094 | "runtime_data" : [], |
| 2095 | "primitives" : [] |
| 2096 | }, |
| 2097 | { |
| 2098 | "name" : "egress.process_int_transit.int_set_header_0003_i1", |
| 2099 | "id" : 19, |
| 2100 | "runtime_data" : [], |
| 2101 | "primitives" : [ |
| 2102 | { |
| 2103 | "op" : "add_header", |
| 2104 | "parameters" : [ |
| 2105 | { |
| 2106 | "type" : "header", |
| 2107 | "value" : "int_q_occupancy" |
| 2108 | } |
| 2109 | ], |
| 2110 | "source_info" : { |
| 2111 | "filename" : "include/int_transit.p4", |
| 2112 | "line" : 49, |
| 2113 | "column" : 8, |
| 2114 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 2115 | } |
| 2116 | }, |
| 2117 | { |
| 2118 | "op" : "assign", |
| 2119 | "parameters" : [ |
| 2120 | { |
| 2121 | "type" : "field", |
| 2122 | "value" : ["int_q_occupancy", "q_id"] |
| 2123 | }, |
| 2124 | { |
| 2125 | "type" : "hexstr", |
| 2126 | "value" : "0x00" |
| 2127 | } |
| 2128 | ], |
| 2129 | "source_info" : { |
| 2130 | "filename" : "include/int_transit.p4", |
| 2131 | "line" : 50, |
| 2132 | "column" : 8, |
| 2133 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2134 | } |
| 2135 | }, |
| 2136 | { |
| 2137 | "op" : "assign", |
| 2138 | "parameters" : [ |
| 2139 | { |
| 2140 | "type" : "field", |
| 2141 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 2142 | }, |
| 2143 | { |
| 2144 | "type" : "expression", |
| 2145 | "value" : { |
| 2146 | "type" : "expression", |
| 2147 | "value" : { |
| 2148 | "op" : "&", |
| 2149 | "left" : { |
| 2150 | "type" : "field", |
| 2151 | "value" : ["standard_metadata", "deq_qdepth"] |
| 2152 | }, |
| 2153 | "right" : { |
| 2154 | "type" : "hexstr", |
| 2155 | "value" : "0xffffff" |
| 2156 | } |
| 2157 | } |
| 2158 | } |
| 2159 | } |
| 2160 | ], |
| 2161 | "source_info" : { |
| 2162 | "filename" : "include/int_transit.p4", |
| 2163 | "line" : 53, |
| 2164 | "column" : 8, |
| 2165 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 2166 | } |
| 2167 | }, |
| 2168 | { |
| 2169 | "op" : "assign", |
| 2170 | "parameters" : [ |
| 2171 | { |
| 2172 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2173 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2174 | }, |
| 2175 | { |
| 2176 | "type" : "expression", |
| 2177 | "value" : { |
| 2178 | "type" : "expression", |
| 2179 | "value" : { |
| 2180 | "op" : "&", |
| 2181 | "left" : { |
| 2182 | "type" : "expression", |
| 2183 | "value" : { |
| 2184 | "op" : "+", |
| 2185 | "left" : { |
| 2186 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2187 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2188 | }, |
| 2189 | "right" : { |
| 2190 | "type" : "hexstr", |
| 2191 | "value" : "0x01" |
| 2192 | } |
| 2193 | } |
| 2194 | }, |
| 2195 | "right" : { |
| 2196 | "type" : "hexstr", |
| 2197 | "value" : "0xff" |
| 2198 | } |
| 2199 | } |
| 2200 | } |
| 2201 | } |
| 2202 | ], |
| 2203 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2204 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2205 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2206 | "column" : 42, |
| 2207 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2208 | } |
| 2209 | }, |
| 2210 | { |
| 2211 | "op" : "assign", |
| 2212 | "parameters" : [ |
| 2213 | { |
| 2214 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2215 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2216 | }, |
| 2217 | { |
| 2218 | "type" : "expression", |
| 2219 | "value" : { |
| 2220 | "type" : "expression", |
| 2221 | "value" : { |
| 2222 | "op" : "&", |
| 2223 | "left" : { |
| 2224 | "type" : "expression", |
| 2225 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2226 | "op" : "+", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2227 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2228 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2229 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2230 | }, |
| 2231 | "right" : { |
| 2232 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2233 | "value" : "0x0004" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2234 | } |
| 2235 | } |
| 2236 | }, |
| 2237 | "right" : { |
| 2238 | "type" : "hexstr", |
| 2239 | "value" : "0xffff" |
| 2240 | } |
| 2241 | } |
| 2242 | } |
| 2243 | } |
| 2244 | ], |
| 2245 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2246 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2247 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2248 | "column" : 42, |
| 2249 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2250 | } |
| 2251 | } |
| 2252 | ] |
| 2253 | }, |
| 2254 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2255 | "name" : "egress.process_int_transit.int_set_header_0003_i2", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2256 | "id" : 20, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2257 | "runtime_data" : [], |
| 2258 | "primitives" : [ |
| 2259 | { |
| 2260 | "op" : "add_header", |
| 2261 | "parameters" : [ |
| 2262 | { |
| 2263 | "type" : "header", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2264 | "value" : "int_hop_latency" |
| 2265 | } |
| 2266 | ], |
| 2267 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2268 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2269 | "line" : 43, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2270 | "column" : 8, |
| 2271 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 2272 | } |
| 2273 | }, |
| 2274 | { |
| 2275 | "op" : "assign", |
| 2276 | "parameters" : [ |
| 2277 | { |
| 2278 | "type" : "field", |
| 2279 | "value" : ["int_hop_latency", "hop_latency"] |
| 2280 | }, |
| 2281 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2282 | "type" : "expression", |
| 2283 | "value" : { |
| 2284 | "type" : "expression", |
| 2285 | "value" : { |
| 2286 | "op" : "&", |
| 2287 | "left" : { |
| 2288 | "type" : "expression", |
| 2289 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2290 | "op" : "-", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2291 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2292 | "type" : "expression", |
| 2293 | "value" : { |
| 2294 | "op" : "&", |
| 2295 | "left" : { |
| 2296 | "type" : "field", |
| 2297 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 2298 | }, |
| 2299 | "right" : { |
| 2300 | "type" : "hexstr", |
| 2301 | "value" : "0xffffffff" |
| 2302 | } |
| 2303 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2304 | }, |
| 2305 | "right" : { |
| 2306 | "type" : "expression", |
| 2307 | "value" : { |
| 2308 | "op" : "&", |
| 2309 | "left" : { |
| 2310 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2311 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2312 | }, |
| 2313 | "right" : { |
| 2314 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2315 | "value" : "0xffffffff" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2316 | } |
| 2317 | } |
| 2318 | } |
| 2319 | } |
| 2320 | }, |
| 2321 | "right" : { |
| 2322 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2323 | "value" : "0xffffffff" |
| 2324 | } |
| 2325 | } |
| 2326 | } |
| 2327 | } |
| 2328 | ], |
| 2329 | "source_info" : { |
| 2330 | "filename" : "include/int_transit.p4", |
| 2331 | "line" : 44, |
| 2332 | "column" : 8, |
| 2333 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 2334 | } |
| 2335 | }, |
| 2336 | { |
| 2337 | "op" : "assign", |
| 2338 | "parameters" : [ |
| 2339 | { |
| 2340 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2341 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2342 | }, |
| 2343 | { |
| 2344 | "type" : "expression", |
| 2345 | "value" : { |
| 2346 | "type" : "expression", |
| 2347 | "value" : { |
| 2348 | "op" : "&", |
| 2349 | "left" : { |
| 2350 | "type" : "expression", |
| 2351 | "value" : { |
| 2352 | "op" : "+", |
| 2353 | "left" : { |
| 2354 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2355 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2356 | }, |
| 2357 | "right" : { |
| 2358 | "type" : "hexstr", |
| 2359 | "value" : "0x01" |
| 2360 | } |
| 2361 | } |
| 2362 | }, |
| 2363 | "right" : { |
| 2364 | "type" : "hexstr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 2365 | "value" : "0xff" |
| 2366 | } |
| 2367 | } |
| 2368 | } |
| 2369 | } |
| 2370 | ], |
| 2371 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 2372 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2373 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2374 | "column" : 42, |
| 2375 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2376 | } |
| 2377 | }, |
| 2378 | { |
| 2379 | "op" : "assign", |
| 2380 | "parameters" : [ |
| 2381 | { |
| 2382 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2383 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2384 | }, |
| 2385 | { |
| 2386 | "type" : "expression", |
| 2387 | "value" : { |
| 2388 | "type" : "expression", |
| 2389 | "value" : { |
| 2390 | "op" : "&", |
| 2391 | "left" : { |
| 2392 | "type" : "expression", |
| 2393 | "value" : { |
| 2394 | "op" : "+", |
| 2395 | "left" : { |
| 2396 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2397 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2398 | }, |
| 2399 | "right" : { |
| 2400 | "type" : "hexstr", |
| 2401 | "value" : "0x0004" |
| 2402 | } |
| 2403 | } |
| 2404 | }, |
| 2405 | "right" : { |
| 2406 | "type" : "hexstr", |
| 2407 | "value" : "0xffff" |
| 2408 | } |
| 2409 | } |
| 2410 | } |
| 2411 | } |
| 2412 | ], |
| 2413 | "source_info" : { |
| 2414 | "filename" : "include/int_transit.p4", |
| 2415 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2416 | "column" : 42, |
| 2417 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2418 | } |
| 2419 | } |
| 2420 | ] |
| 2421 | }, |
| 2422 | { |
| 2423 | "name" : "egress.process_int_transit.int_set_header_0003_i3", |
| 2424 | "id" : 21, |
| 2425 | "runtime_data" : [], |
| 2426 | "primitives" : [ |
| 2427 | { |
| 2428 | "op" : "add_header", |
| 2429 | "parameters" : [ |
| 2430 | { |
| 2431 | "type" : "header", |
| 2432 | "value" : "int_q_occupancy" |
| 2433 | } |
| 2434 | ], |
| 2435 | "source_info" : { |
| 2436 | "filename" : "include/int_transit.p4", |
| 2437 | "line" : 49, |
| 2438 | "column" : 8, |
| 2439 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 2440 | } |
| 2441 | }, |
| 2442 | { |
| 2443 | "op" : "assign", |
| 2444 | "parameters" : [ |
| 2445 | { |
| 2446 | "type" : "field", |
| 2447 | "value" : ["int_q_occupancy", "q_id"] |
| 2448 | }, |
| 2449 | { |
| 2450 | "type" : "hexstr", |
| 2451 | "value" : "0x00" |
| 2452 | } |
| 2453 | ], |
| 2454 | "source_info" : { |
| 2455 | "filename" : "include/int_transit.p4", |
| 2456 | "line" : 50, |
| 2457 | "column" : 8, |
| 2458 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2459 | } |
| 2460 | }, |
| 2461 | { |
| 2462 | "op" : "assign", |
| 2463 | "parameters" : [ |
| 2464 | { |
| 2465 | "type" : "field", |
| 2466 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 2467 | }, |
| 2468 | { |
| 2469 | "type" : "expression", |
| 2470 | "value" : { |
| 2471 | "type" : "expression", |
| 2472 | "value" : { |
| 2473 | "op" : "&", |
| 2474 | "left" : { |
| 2475 | "type" : "field", |
| 2476 | "value" : ["standard_metadata", "deq_qdepth"] |
| 2477 | }, |
| 2478 | "right" : { |
| 2479 | "type" : "hexstr", |
| 2480 | "value" : "0xffffff" |
| 2481 | } |
| 2482 | } |
| 2483 | } |
| 2484 | } |
| 2485 | ], |
| 2486 | "source_info" : { |
| 2487 | "filename" : "include/int_transit.p4", |
| 2488 | "line" : 53, |
| 2489 | "column" : 8, |
| 2490 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 2491 | } |
| 2492 | }, |
| 2493 | { |
| 2494 | "op" : "add_header", |
| 2495 | "parameters" : [ |
| 2496 | { |
| 2497 | "type" : "header", |
| 2498 | "value" : "int_hop_latency" |
| 2499 | } |
| 2500 | ], |
| 2501 | "source_info" : { |
| 2502 | "filename" : "include/int_transit.p4", |
| 2503 | "line" : 43, |
| 2504 | "column" : 8, |
| 2505 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 2506 | } |
| 2507 | }, |
| 2508 | { |
| 2509 | "op" : "assign", |
| 2510 | "parameters" : [ |
| 2511 | { |
| 2512 | "type" : "field", |
| 2513 | "value" : ["int_hop_latency", "hop_latency"] |
| 2514 | }, |
| 2515 | { |
| 2516 | "type" : "expression", |
| 2517 | "value" : { |
| 2518 | "type" : "expression", |
| 2519 | "value" : { |
| 2520 | "op" : "&", |
| 2521 | "left" : { |
| 2522 | "type" : "expression", |
| 2523 | "value" : { |
| 2524 | "op" : "-", |
| 2525 | "left" : { |
| 2526 | "type" : "expression", |
| 2527 | "value" : { |
| 2528 | "op" : "&", |
| 2529 | "left" : { |
| 2530 | "type" : "field", |
| 2531 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 2532 | }, |
| 2533 | "right" : { |
| 2534 | "type" : "hexstr", |
| 2535 | "value" : "0xffffffff" |
| 2536 | } |
| 2537 | } |
| 2538 | }, |
| 2539 | "right" : { |
| 2540 | "type" : "expression", |
| 2541 | "value" : { |
| 2542 | "op" : "&", |
| 2543 | "left" : { |
| 2544 | "type" : "field", |
| 2545 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 2546 | }, |
| 2547 | "right" : { |
| 2548 | "type" : "hexstr", |
| 2549 | "value" : "0xffffffff" |
| 2550 | } |
| 2551 | } |
| 2552 | } |
| 2553 | } |
| 2554 | }, |
| 2555 | "right" : { |
| 2556 | "type" : "hexstr", |
| 2557 | "value" : "0xffffffff" |
| 2558 | } |
| 2559 | } |
| 2560 | } |
| 2561 | } |
| 2562 | ], |
| 2563 | "source_info" : { |
| 2564 | "filename" : "include/int_transit.p4", |
| 2565 | "line" : 44, |
| 2566 | "column" : 8, |
| 2567 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 2568 | } |
| 2569 | }, |
| 2570 | { |
| 2571 | "op" : "assign", |
| 2572 | "parameters" : [ |
| 2573 | { |
| 2574 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2575 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2576 | }, |
| 2577 | { |
| 2578 | "type" : "expression", |
| 2579 | "value" : { |
| 2580 | "type" : "expression", |
| 2581 | "value" : { |
| 2582 | "op" : "&", |
| 2583 | "left" : { |
| 2584 | "type" : "expression", |
| 2585 | "value" : { |
| 2586 | "op" : "+", |
| 2587 | "left" : { |
| 2588 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2589 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2590 | }, |
| 2591 | "right" : { |
| 2592 | "type" : "hexstr", |
| 2593 | "value" : "0x02" |
| 2594 | } |
| 2595 | } |
| 2596 | }, |
| 2597 | "right" : { |
| 2598 | "type" : "hexstr", |
| 2599 | "value" : "0xff" |
| 2600 | } |
| 2601 | } |
| 2602 | } |
| 2603 | } |
| 2604 | ], |
| 2605 | "source_info" : { |
| 2606 | "filename" : "include/int_transit.p4", |
| 2607 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2608 | "column" : 42, |
| 2609 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2610 | } |
| 2611 | }, |
| 2612 | { |
| 2613 | "op" : "assign", |
| 2614 | "parameters" : [ |
| 2615 | { |
| 2616 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2617 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2618 | }, |
| 2619 | { |
| 2620 | "type" : "expression", |
| 2621 | "value" : { |
| 2622 | "type" : "expression", |
| 2623 | "value" : { |
| 2624 | "op" : "&", |
| 2625 | "left" : { |
| 2626 | "type" : "expression", |
| 2627 | "value" : { |
| 2628 | "op" : "+", |
| 2629 | "left" : { |
| 2630 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2631 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2632 | }, |
| 2633 | "right" : { |
| 2634 | "type" : "hexstr", |
| 2635 | "value" : "0x0008" |
| 2636 | } |
| 2637 | } |
| 2638 | }, |
| 2639 | "right" : { |
| 2640 | "type" : "hexstr", |
| 2641 | "value" : "0xffff" |
| 2642 | } |
| 2643 | } |
| 2644 | } |
| 2645 | } |
| 2646 | ], |
| 2647 | "source_info" : { |
| 2648 | "filename" : "include/int_transit.p4", |
| 2649 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2650 | "column" : 42, |
| 2651 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2652 | } |
| 2653 | } |
| 2654 | ] |
| 2655 | }, |
| 2656 | { |
| 2657 | "name" : "egress.process_int_transit.int_set_header_0003_i4", |
| 2658 | "id" : 22, |
| 2659 | "runtime_data" : [], |
| 2660 | "primitives" : [ |
| 2661 | { |
| 2662 | "op" : "add_header", |
| 2663 | "parameters" : [ |
| 2664 | { |
| 2665 | "type" : "header", |
| 2666 | "value" : "int_level1_port_ids" |
| 2667 | } |
| 2668 | ], |
| 2669 | "source_info" : { |
| 2670 | "filename" : "include/int_transit.p4", |
| 2671 | "line" : 37, |
| 2672 | "column" : 8, |
| 2673 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 2674 | } |
| 2675 | }, |
| 2676 | { |
| 2677 | "op" : "assign", |
| 2678 | "parameters" : [ |
| 2679 | { |
| 2680 | "type" : "field", |
| 2681 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 2682 | }, |
| 2683 | { |
| 2684 | "type" : "expression", |
| 2685 | "value" : { |
| 2686 | "type" : "expression", |
| 2687 | "value" : { |
| 2688 | "op" : "&", |
| 2689 | "left" : { |
| 2690 | "type" : "field", |
| 2691 | "value" : ["standard_metadata", "ingress_port"] |
| 2692 | }, |
| 2693 | "right" : { |
| 2694 | "type" : "hexstr", |
| 2695 | "value" : "0xffff" |
| 2696 | } |
| 2697 | } |
| 2698 | } |
| 2699 | } |
| 2700 | ], |
| 2701 | "source_info" : { |
| 2702 | "filename" : "include/int_transit.p4", |
| 2703 | "line" : 38, |
| 2704 | "column" : 8, |
| 2705 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 2706 | } |
| 2707 | }, |
| 2708 | { |
| 2709 | "op" : "assign", |
| 2710 | "parameters" : [ |
| 2711 | { |
| 2712 | "type" : "field", |
| 2713 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 2714 | }, |
| 2715 | { |
| 2716 | "type" : "expression", |
| 2717 | "value" : { |
| 2718 | "type" : "expression", |
| 2719 | "value" : { |
| 2720 | "op" : "&", |
| 2721 | "left" : { |
| 2722 | "type" : "field", |
| 2723 | "value" : ["standard_metadata", "egress_port"] |
| 2724 | }, |
| 2725 | "right" : { |
| 2726 | "type" : "hexstr", |
| 2727 | "value" : "0xffff" |
| 2728 | } |
| 2729 | } |
| 2730 | } |
| 2731 | } |
| 2732 | ], |
| 2733 | "source_info" : { |
| 2734 | "filename" : "include/int_transit.p4", |
| 2735 | "line" : 39, |
| 2736 | "column" : 8, |
| 2737 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 2738 | } |
| 2739 | }, |
| 2740 | { |
| 2741 | "op" : "assign", |
| 2742 | "parameters" : [ |
| 2743 | { |
| 2744 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2745 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2746 | }, |
| 2747 | { |
| 2748 | "type" : "expression", |
| 2749 | "value" : { |
| 2750 | "type" : "expression", |
| 2751 | "value" : { |
| 2752 | "op" : "&", |
| 2753 | "left" : { |
| 2754 | "type" : "expression", |
| 2755 | "value" : { |
| 2756 | "op" : "+", |
| 2757 | "left" : { |
| 2758 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2759 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2760 | }, |
| 2761 | "right" : { |
| 2762 | "type" : "hexstr", |
| 2763 | "value" : "0x01" |
| 2764 | } |
| 2765 | } |
| 2766 | }, |
| 2767 | "right" : { |
| 2768 | "type" : "hexstr", |
| 2769 | "value" : "0xff" |
| 2770 | } |
| 2771 | } |
| 2772 | } |
| 2773 | } |
| 2774 | ], |
| 2775 | "source_info" : { |
| 2776 | "filename" : "include/int_transit.p4", |
| 2777 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2778 | "column" : 42, |
| 2779 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2780 | } |
| 2781 | }, |
| 2782 | { |
| 2783 | "op" : "assign", |
| 2784 | "parameters" : [ |
| 2785 | { |
| 2786 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2787 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2788 | }, |
| 2789 | { |
| 2790 | "type" : "expression", |
| 2791 | "value" : { |
| 2792 | "type" : "expression", |
| 2793 | "value" : { |
| 2794 | "op" : "&", |
| 2795 | "left" : { |
| 2796 | "type" : "expression", |
| 2797 | "value" : { |
| 2798 | "op" : "+", |
| 2799 | "left" : { |
| 2800 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2801 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2802 | }, |
| 2803 | "right" : { |
| 2804 | "type" : "hexstr", |
| 2805 | "value" : "0x0004" |
| 2806 | } |
| 2807 | } |
| 2808 | }, |
| 2809 | "right" : { |
| 2810 | "type" : "hexstr", |
| 2811 | "value" : "0xffff" |
| 2812 | } |
| 2813 | } |
| 2814 | } |
| 2815 | } |
| 2816 | ], |
| 2817 | "source_info" : { |
| 2818 | "filename" : "include/int_transit.p4", |
| 2819 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2820 | "column" : 42, |
| 2821 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2822 | } |
| 2823 | } |
| 2824 | ] |
| 2825 | }, |
| 2826 | { |
| 2827 | "name" : "egress.process_int_transit.int_set_header_0003_i5", |
| 2828 | "id" : 23, |
| 2829 | "runtime_data" : [], |
| 2830 | "primitives" : [ |
| 2831 | { |
| 2832 | "op" : "add_header", |
| 2833 | "parameters" : [ |
| 2834 | { |
| 2835 | "type" : "header", |
| 2836 | "value" : "int_q_occupancy" |
| 2837 | } |
| 2838 | ], |
| 2839 | "source_info" : { |
| 2840 | "filename" : "include/int_transit.p4", |
| 2841 | "line" : 49, |
| 2842 | "column" : 8, |
| 2843 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 2844 | } |
| 2845 | }, |
| 2846 | { |
| 2847 | "op" : "assign", |
| 2848 | "parameters" : [ |
| 2849 | { |
| 2850 | "type" : "field", |
| 2851 | "value" : ["int_q_occupancy", "q_id"] |
| 2852 | }, |
| 2853 | { |
| 2854 | "type" : "hexstr", |
| 2855 | "value" : "0x00" |
| 2856 | } |
| 2857 | ], |
| 2858 | "source_info" : { |
| 2859 | "filename" : "include/int_transit.p4", |
| 2860 | "line" : 50, |
| 2861 | "column" : 8, |
| 2862 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 2863 | } |
| 2864 | }, |
| 2865 | { |
| 2866 | "op" : "assign", |
| 2867 | "parameters" : [ |
| 2868 | { |
| 2869 | "type" : "field", |
| 2870 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 2871 | }, |
| 2872 | { |
| 2873 | "type" : "expression", |
| 2874 | "value" : { |
| 2875 | "type" : "expression", |
| 2876 | "value" : { |
| 2877 | "op" : "&", |
| 2878 | "left" : { |
| 2879 | "type" : "field", |
| 2880 | "value" : ["standard_metadata", "deq_qdepth"] |
| 2881 | }, |
| 2882 | "right" : { |
| 2883 | "type" : "hexstr", |
| 2884 | "value" : "0xffffff" |
| 2885 | } |
| 2886 | } |
| 2887 | } |
| 2888 | } |
| 2889 | ], |
| 2890 | "source_info" : { |
| 2891 | "filename" : "include/int_transit.p4", |
| 2892 | "line" : 53, |
| 2893 | "column" : 8, |
| 2894 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 2895 | } |
| 2896 | }, |
| 2897 | { |
| 2898 | "op" : "add_header", |
| 2899 | "parameters" : [ |
| 2900 | { |
| 2901 | "type" : "header", |
| 2902 | "value" : "int_level1_port_ids" |
| 2903 | } |
| 2904 | ], |
| 2905 | "source_info" : { |
| 2906 | "filename" : "include/int_transit.p4", |
| 2907 | "line" : 37, |
| 2908 | "column" : 8, |
| 2909 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 2910 | } |
| 2911 | }, |
| 2912 | { |
| 2913 | "op" : "assign", |
| 2914 | "parameters" : [ |
| 2915 | { |
| 2916 | "type" : "field", |
| 2917 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 2918 | }, |
| 2919 | { |
| 2920 | "type" : "expression", |
| 2921 | "value" : { |
| 2922 | "type" : "expression", |
| 2923 | "value" : { |
| 2924 | "op" : "&", |
| 2925 | "left" : { |
| 2926 | "type" : "field", |
| 2927 | "value" : ["standard_metadata", "ingress_port"] |
| 2928 | }, |
| 2929 | "right" : { |
| 2930 | "type" : "hexstr", |
| 2931 | "value" : "0xffff" |
| 2932 | } |
| 2933 | } |
| 2934 | } |
| 2935 | } |
| 2936 | ], |
| 2937 | "source_info" : { |
| 2938 | "filename" : "include/int_transit.p4", |
| 2939 | "line" : 38, |
| 2940 | "column" : 8, |
| 2941 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 2942 | } |
| 2943 | }, |
| 2944 | { |
| 2945 | "op" : "assign", |
| 2946 | "parameters" : [ |
| 2947 | { |
| 2948 | "type" : "field", |
| 2949 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 2950 | }, |
| 2951 | { |
| 2952 | "type" : "expression", |
| 2953 | "value" : { |
| 2954 | "type" : "expression", |
| 2955 | "value" : { |
| 2956 | "op" : "&", |
| 2957 | "left" : { |
| 2958 | "type" : "field", |
| 2959 | "value" : ["standard_metadata", "egress_port"] |
| 2960 | }, |
| 2961 | "right" : { |
| 2962 | "type" : "hexstr", |
| 2963 | "value" : "0xffff" |
| 2964 | } |
| 2965 | } |
| 2966 | } |
| 2967 | } |
| 2968 | ], |
| 2969 | "source_info" : { |
| 2970 | "filename" : "include/int_transit.p4", |
| 2971 | "line" : 39, |
| 2972 | "column" : 8, |
| 2973 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 2974 | } |
| 2975 | }, |
| 2976 | { |
| 2977 | "op" : "assign", |
| 2978 | "parameters" : [ |
| 2979 | { |
| 2980 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2981 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2982 | }, |
| 2983 | { |
| 2984 | "type" : "expression", |
| 2985 | "value" : { |
| 2986 | "type" : "expression", |
| 2987 | "value" : { |
| 2988 | "op" : "&", |
| 2989 | "left" : { |
| 2990 | "type" : "expression", |
| 2991 | "value" : { |
| 2992 | "op" : "+", |
| 2993 | "left" : { |
| 2994 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 2995 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 2996 | }, |
| 2997 | "right" : { |
| 2998 | "type" : "hexstr", |
| 2999 | "value" : "0x02" |
| 3000 | } |
| 3001 | } |
| 3002 | }, |
| 3003 | "right" : { |
| 3004 | "type" : "hexstr", |
| 3005 | "value" : "0xff" |
| 3006 | } |
| 3007 | } |
| 3008 | } |
| 3009 | } |
| 3010 | ], |
| 3011 | "source_info" : { |
| 3012 | "filename" : "include/int_transit.p4", |
| 3013 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3014 | "column" : 42, |
| 3015 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3016 | } |
| 3017 | }, |
| 3018 | { |
| 3019 | "op" : "assign", |
| 3020 | "parameters" : [ |
| 3021 | { |
| 3022 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3023 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3024 | }, |
| 3025 | { |
| 3026 | "type" : "expression", |
| 3027 | "value" : { |
| 3028 | "type" : "expression", |
| 3029 | "value" : { |
| 3030 | "op" : "&", |
| 3031 | "left" : { |
| 3032 | "type" : "expression", |
| 3033 | "value" : { |
| 3034 | "op" : "+", |
| 3035 | "left" : { |
| 3036 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3037 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3038 | }, |
| 3039 | "right" : { |
| 3040 | "type" : "hexstr", |
| 3041 | "value" : "0x0008" |
| 3042 | } |
| 3043 | } |
| 3044 | }, |
| 3045 | "right" : { |
| 3046 | "type" : "hexstr", |
| 3047 | "value" : "0xffff" |
| 3048 | } |
| 3049 | } |
| 3050 | } |
| 3051 | } |
| 3052 | ], |
| 3053 | "source_info" : { |
| 3054 | "filename" : "include/int_transit.p4", |
| 3055 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3056 | "column" : 42, |
| 3057 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3058 | } |
| 3059 | } |
| 3060 | ] |
| 3061 | }, |
| 3062 | { |
| 3063 | "name" : "egress.process_int_transit.int_set_header_0003_i6", |
| 3064 | "id" : 24, |
| 3065 | "runtime_data" : [], |
| 3066 | "primitives" : [ |
| 3067 | { |
| 3068 | "op" : "add_header", |
| 3069 | "parameters" : [ |
| 3070 | { |
| 3071 | "type" : "header", |
| 3072 | "value" : "int_hop_latency" |
| 3073 | } |
| 3074 | ], |
| 3075 | "source_info" : { |
| 3076 | "filename" : "include/int_transit.p4", |
| 3077 | "line" : 43, |
| 3078 | "column" : 8, |
| 3079 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 3080 | } |
| 3081 | }, |
| 3082 | { |
| 3083 | "op" : "assign", |
| 3084 | "parameters" : [ |
| 3085 | { |
| 3086 | "type" : "field", |
| 3087 | "value" : ["int_hop_latency", "hop_latency"] |
| 3088 | }, |
| 3089 | { |
| 3090 | "type" : "expression", |
| 3091 | "value" : { |
| 3092 | "type" : "expression", |
| 3093 | "value" : { |
| 3094 | "op" : "&", |
| 3095 | "left" : { |
| 3096 | "type" : "expression", |
| 3097 | "value" : { |
| 3098 | "op" : "-", |
| 3099 | "left" : { |
| 3100 | "type" : "expression", |
| 3101 | "value" : { |
| 3102 | "op" : "&", |
| 3103 | "left" : { |
| 3104 | "type" : "field", |
| 3105 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 3106 | }, |
| 3107 | "right" : { |
| 3108 | "type" : "hexstr", |
| 3109 | "value" : "0xffffffff" |
| 3110 | } |
| 3111 | } |
| 3112 | }, |
| 3113 | "right" : { |
| 3114 | "type" : "expression", |
| 3115 | "value" : { |
| 3116 | "op" : "&", |
| 3117 | "left" : { |
| 3118 | "type" : "field", |
| 3119 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 3120 | }, |
| 3121 | "right" : { |
| 3122 | "type" : "hexstr", |
| 3123 | "value" : "0xffffffff" |
| 3124 | } |
| 3125 | } |
| 3126 | } |
| 3127 | } |
| 3128 | }, |
| 3129 | "right" : { |
| 3130 | "type" : "hexstr", |
| 3131 | "value" : "0xffffffff" |
| 3132 | } |
| 3133 | } |
| 3134 | } |
| 3135 | } |
| 3136 | ], |
| 3137 | "source_info" : { |
| 3138 | "filename" : "include/int_transit.p4", |
| 3139 | "line" : 44, |
| 3140 | "column" : 8, |
| 3141 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 3142 | } |
| 3143 | }, |
| 3144 | { |
| 3145 | "op" : "add_header", |
| 3146 | "parameters" : [ |
| 3147 | { |
| 3148 | "type" : "header", |
| 3149 | "value" : "int_level1_port_ids" |
| 3150 | } |
| 3151 | ], |
| 3152 | "source_info" : { |
| 3153 | "filename" : "include/int_transit.p4", |
| 3154 | "line" : 37, |
| 3155 | "column" : 8, |
| 3156 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 3157 | } |
| 3158 | }, |
| 3159 | { |
| 3160 | "op" : "assign", |
| 3161 | "parameters" : [ |
| 3162 | { |
| 3163 | "type" : "field", |
| 3164 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 3165 | }, |
| 3166 | { |
| 3167 | "type" : "expression", |
| 3168 | "value" : { |
| 3169 | "type" : "expression", |
| 3170 | "value" : { |
| 3171 | "op" : "&", |
| 3172 | "left" : { |
| 3173 | "type" : "field", |
| 3174 | "value" : ["standard_metadata", "ingress_port"] |
| 3175 | }, |
| 3176 | "right" : { |
| 3177 | "type" : "hexstr", |
| 3178 | "value" : "0xffff" |
| 3179 | } |
| 3180 | } |
| 3181 | } |
| 3182 | } |
| 3183 | ], |
| 3184 | "source_info" : { |
| 3185 | "filename" : "include/int_transit.p4", |
| 3186 | "line" : 38, |
| 3187 | "column" : 8, |
| 3188 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 3189 | } |
| 3190 | }, |
| 3191 | { |
| 3192 | "op" : "assign", |
| 3193 | "parameters" : [ |
| 3194 | { |
| 3195 | "type" : "field", |
| 3196 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 3197 | }, |
| 3198 | { |
| 3199 | "type" : "expression", |
| 3200 | "value" : { |
| 3201 | "type" : "expression", |
| 3202 | "value" : { |
| 3203 | "op" : "&", |
| 3204 | "left" : { |
| 3205 | "type" : "field", |
| 3206 | "value" : ["standard_metadata", "egress_port"] |
| 3207 | }, |
| 3208 | "right" : { |
| 3209 | "type" : "hexstr", |
| 3210 | "value" : "0xffff" |
| 3211 | } |
| 3212 | } |
| 3213 | } |
| 3214 | } |
| 3215 | ], |
| 3216 | "source_info" : { |
| 3217 | "filename" : "include/int_transit.p4", |
| 3218 | "line" : 39, |
| 3219 | "column" : 8, |
| 3220 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 3221 | } |
| 3222 | }, |
| 3223 | { |
| 3224 | "op" : "assign", |
| 3225 | "parameters" : [ |
| 3226 | { |
| 3227 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3228 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3229 | }, |
| 3230 | { |
| 3231 | "type" : "expression", |
| 3232 | "value" : { |
| 3233 | "type" : "expression", |
| 3234 | "value" : { |
| 3235 | "op" : "&", |
| 3236 | "left" : { |
| 3237 | "type" : "expression", |
| 3238 | "value" : { |
| 3239 | "op" : "+", |
| 3240 | "left" : { |
| 3241 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3242 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3243 | }, |
| 3244 | "right" : { |
| 3245 | "type" : "hexstr", |
| 3246 | "value" : "0x02" |
| 3247 | } |
| 3248 | } |
| 3249 | }, |
| 3250 | "right" : { |
| 3251 | "type" : "hexstr", |
| 3252 | "value" : "0xff" |
| 3253 | } |
| 3254 | } |
| 3255 | } |
| 3256 | } |
| 3257 | ], |
| 3258 | "source_info" : { |
| 3259 | "filename" : "include/int_transit.p4", |
| 3260 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3261 | "column" : 42, |
| 3262 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3263 | } |
| 3264 | }, |
| 3265 | { |
| 3266 | "op" : "assign", |
| 3267 | "parameters" : [ |
| 3268 | { |
| 3269 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3270 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3271 | }, |
| 3272 | { |
| 3273 | "type" : "expression", |
| 3274 | "value" : { |
| 3275 | "type" : "expression", |
| 3276 | "value" : { |
| 3277 | "op" : "&", |
| 3278 | "left" : { |
| 3279 | "type" : "expression", |
| 3280 | "value" : { |
| 3281 | "op" : "+", |
| 3282 | "left" : { |
| 3283 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3284 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3285 | }, |
| 3286 | "right" : { |
| 3287 | "type" : "hexstr", |
| 3288 | "value" : "0x0008" |
| 3289 | } |
| 3290 | } |
| 3291 | }, |
| 3292 | "right" : { |
| 3293 | "type" : "hexstr", |
| 3294 | "value" : "0xffff" |
| 3295 | } |
| 3296 | } |
| 3297 | } |
| 3298 | } |
| 3299 | ], |
| 3300 | "source_info" : { |
| 3301 | "filename" : "include/int_transit.p4", |
| 3302 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3303 | "column" : 42, |
| 3304 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3305 | } |
| 3306 | } |
| 3307 | ] |
| 3308 | }, |
| 3309 | { |
| 3310 | "name" : "egress.process_int_transit.int_set_header_0003_i7", |
| 3311 | "id" : 25, |
| 3312 | "runtime_data" : [], |
| 3313 | "primitives" : [ |
| 3314 | { |
| 3315 | "op" : "add_header", |
| 3316 | "parameters" : [ |
| 3317 | { |
| 3318 | "type" : "header", |
| 3319 | "value" : "int_q_occupancy" |
| 3320 | } |
| 3321 | ], |
| 3322 | "source_info" : { |
| 3323 | "filename" : "include/int_transit.p4", |
| 3324 | "line" : 49, |
| 3325 | "column" : 8, |
| 3326 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 3327 | } |
| 3328 | }, |
| 3329 | { |
| 3330 | "op" : "assign", |
| 3331 | "parameters" : [ |
| 3332 | { |
| 3333 | "type" : "field", |
| 3334 | "value" : ["int_q_occupancy", "q_id"] |
| 3335 | }, |
| 3336 | { |
| 3337 | "type" : "hexstr", |
| 3338 | "value" : "0x00" |
| 3339 | } |
| 3340 | ], |
| 3341 | "source_info" : { |
| 3342 | "filename" : "include/int_transit.p4", |
| 3343 | "line" : 50, |
| 3344 | "column" : 8, |
| 3345 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 3346 | } |
| 3347 | }, |
| 3348 | { |
| 3349 | "op" : "assign", |
| 3350 | "parameters" : [ |
| 3351 | { |
| 3352 | "type" : "field", |
| 3353 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 3354 | }, |
| 3355 | { |
| 3356 | "type" : "expression", |
| 3357 | "value" : { |
| 3358 | "type" : "expression", |
| 3359 | "value" : { |
| 3360 | "op" : "&", |
| 3361 | "left" : { |
| 3362 | "type" : "field", |
| 3363 | "value" : ["standard_metadata", "deq_qdepth"] |
| 3364 | }, |
| 3365 | "right" : { |
| 3366 | "type" : "hexstr", |
| 3367 | "value" : "0xffffff" |
| 3368 | } |
| 3369 | } |
| 3370 | } |
| 3371 | } |
| 3372 | ], |
| 3373 | "source_info" : { |
| 3374 | "filename" : "include/int_transit.p4", |
| 3375 | "line" : 53, |
| 3376 | "column" : 8, |
| 3377 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 3378 | } |
| 3379 | }, |
| 3380 | { |
| 3381 | "op" : "add_header", |
| 3382 | "parameters" : [ |
| 3383 | { |
| 3384 | "type" : "header", |
| 3385 | "value" : "int_hop_latency" |
| 3386 | } |
| 3387 | ], |
| 3388 | "source_info" : { |
| 3389 | "filename" : "include/int_transit.p4", |
| 3390 | "line" : 43, |
| 3391 | "column" : 8, |
| 3392 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 3393 | } |
| 3394 | }, |
| 3395 | { |
| 3396 | "op" : "assign", |
| 3397 | "parameters" : [ |
| 3398 | { |
| 3399 | "type" : "field", |
| 3400 | "value" : ["int_hop_latency", "hop_latency"] |
| 3401 | }, |
| 3402 | { |
| 3403 | "type" : "expression", |
| 3404 | "value" : { |
| 3405 | "type" : "expression", |
| 3406 | "value" : { |
| 3407 | "op" : "&", |
| 3408 | "left" : { |
| 3409 | "type" : "expression", |
| 3410 | "value" : { |
| 3411 | "op" : "-", |
| 3412 | "left" : { |
| 3413 | "type" : "expression", |
| 3414 | "value" : { |
| 3415 | "op" : "&", |
| 3416 | "left" : { |
| 3417 | "type" : "field", |
| 3418 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 3419 | }, |
| 3420 | "right" : { |
| 3421 | "type" : "hexstr", |
| 3422 | "value" : "0xffffffff" |
| 3423 | } |
| 3424 | } |
| 3425 | }, |
| 3426 | "right" : { |
| 3427 | "type" : "expression", |
| 3428 | "value" : { |
| 3429 | "op" : "&", |
| 3430 | "left" : { |
| 3431 | "type" : "field", |
| 3432 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 3433 | }, |
| 3434 | "right" : { |
| 3435 | "type" : "hexstr", |
| 3436 | "value" : "0xffffffff" |
| 3437 | } |
| 3438 | } |
| 3439 | } |
| 3440 | } |
| 3441 | }, |
| 3442 | "right" : { |
| 3443 | "type" : "hexstr", |
| 3444 | "value" : "0xffffffff" |
| 3445 | } |
| 3446 | } |
| 3447 | } |
| 3448 | } |
| 3449 | ], |
| 3450 | "source_info" : { |
| 3451 | "filename" : "include/int_transit.p4", |
| 3452 | "line" : 44, |
| 3453 | "column" : 8, |
| 3454 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 3455 | } |
| 3456 | }, |
| 3457 | { |
| 3458 | "op" : "add_header", |
| 3459 | "parameters" : [ |
| 3460 | { |
| 3461 | "type" : "header", |
| 3462 | "value" : "int_level1_port_ids" |
| 3463 | } |
| 3464 | ], |
| 3465 | "source_info" : { |
| 3466 | "filename" : "include/int_transit.p4", |
| 3467 | "line" : 37, |
| 3468 | "column" : 8, |
| 3469 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 3470 | } |
| 3471 | }, |
| 3472 | { |
| 3473 | "op" : "assign", |
| 3474 | "parameters" : [ |
| 3475 | { |
| 3476 | "type" : "field", |
| 3477 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 3478 | }, |
| 3479 | { |
| 3480 | "type" : "expression", |
| 3481 | "value" : { |
| 3482 | "type" : "expression", |
| 3483 | "value" : { |
| 3484 | "op" : "&", |
| 3485 | "left" : { |
| 3486 | "type" : "field", |
| 3487 | "value" : ["standard_metadata", "ingress_port"] |
| 3488 | }, |
| 3489 | "right" : { |
| 3490 | "type" : "hexstr", |
| 3491 | "value" : "0xffff" |
| 3492 | } |
| 3493 | } |
| 3494 | } |
| 3495 | } |
| 3496 | ], |
| 3497 | "source_info" : { |
| 3498 | "filename" : "include/int_transit.p4", |
| 3499 | "line" : 38, |
| 3500 | "column" : 8, |
| 3501 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 3502 | } |
| 3503 | }, |
| 3504 | { |
| 3505 | "op" : "assign", |
| 3506 | "parameters" : [ |
| 3507 | { |
| 3508 | "type" : "field", |
| 3509 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 3510 | }, |
| 3511 | { |
| 3512 | "type" : "expression", |
| 3513 | "value" : { |
| 3514 | "type" : "expression", |
| 3515 | "value" : { |
| 3516 | "op" : "&", |
| 3517 | "left" : { |
| 3518 | "type" : "field", |
| 3519 | "value" : ["standard_metadata", "egress_port"] |
| 3520 | }, |
| 3521 | "right" : { |
| 3522 | "type" : "hexstr", |
| 3523 | "value" : "0xffff" |
| 3524 | } |
| 3525 | } |
| 3526 | } |
| 3527 | } |
| 3528 | ], |
| 3529 | "source_info" : { |
| 3530 | "filename" : "include/int_transit.p4", |
| 3531 | "line" : 39, |
| 3532 | "column" : 8, |
| 3533 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 3534 | } |
| 3535 | }, |
| 3536 | { |
| 3537 | "op" : "assign", |
| 3538 | "parameters" : [ |
| 3539 | { |
| 3540 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3541 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3542 | }, |
| 3543 | { |
| 3544 | "type" : "expression", |
| 3545 | "value" : { |
| 3546 | "type" : "expression", |
| 3547 | "value" : { |
| 3548 | "op" : "&", |
| 3549 | "left" : { |
| 3550 | "type" : "expression", |
| 3551 | "value" : { |
| 3552 | "op" : "+", |
| 3553 | "left" : { |
| 3554 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3555 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3556 | }, |
| 3557 | "right" : { |
| 3558 | "type" : "hexstr", |
| 3559 | "value" : "0x03" |
| 3560 | } |
| 3561 | } |
| 3562 | }, |
| 3563 | "right" : { |
| 3564 | "type" : "hexstr", |
| 3565 | "value" : "0xff" |
| 3566 | } |
| 3567 | } |
| 3568 | } |
| 3569 | } |
| 3570 | ], |
| 3571 | "source_info" : { |
| 3572 | "filename" : "include/int_transit.p4", |
| 3573 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3574 | "column" : 42, |
| 3575 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3576 | } |
| 3577 | }, |
| 3578 | { |
| 3579 | "op" : "assign", |
| 3580 | "parameters" : [ |
| 3581 | { |
| 3582 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3583 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3584 | }, |
| 3585 | { |
| 3586 | "type" : "expression", |
| 3587 | "value" : { |
| 3588 | "type" : "expression", |
| 3589 | "value" : { |
| 3590 | "op" : "&", |
| 3591 | "left" : { |
| 3592 | "type" : "expression", |
| 3593 | "value" : { |
| 3594 | "op" : "+", |
| 3595 | "left" : { |
| 3596 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3597 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3598 | }, |
| 3599 | "right" : { |
| 3600 | "type" : "hexstr", |
| 3601 | "value" : "0x000c" |
| 3602 | } |
| 3603 | } |
| 3604 | }, |
| 3605 | "right" : { |
| 3606 | "type" : "hexstr", |
| 3607 | "value" : "0xffff" |
| 3608 | } |
| 3609 | } |
| 3610 | } |
| 3611 | } |
| 3612 | ], |
| 3613 | "source_info" : { |
| 3614 | "filename" : "include/int_transit.p4", |
| 3615 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3616 | "column" : 42, |
| 3617 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3618 | } |
| 3619 | } |
| 3620 | ] |
| 3621 | }, |
| 3622 | { |
| 3623 | "name" : "egress.process_int_transit.int_set_header_0003_i8", |
| 3624 | "id" : 26, |
| 3625 | "runtime_data" : [], |
| 3626 | "primitives" : [ |
| 3627 | { |
| 3628 | "op" : "add_header", |
| 3629 | "parameters" : [ |
| 3630 | { |
| 3631 | "type" : "header", |
| 3632 | "value" : "int_switch_id" |
| 3633 | } |
| 3634 | ], |
| 3635 | "source_info" : { |
| 3636 | "filename" : "include/int_transit.p4", |
| 3637 | "line" : 32, |
| 3638 | "column" : 8, |
| 3639 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3640 | } |
| 3641 | }, |
| 3642 | { |
| 3643 | "op" : "assign", |
| 3644 | "parameters" : [ |
| 3645 | { |
| 3646 | "type" : "field", |
| 3647 | "value" : ["int_switch_id", "switch_id"] |
| 3648 | }, |
| 3649 | { |
| 3650 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3651 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3652 | } |
| 3653 | ], |
| 3654 | "source_info" : { |
| 3655 | "filename" : "include/int_transit.p4", |
| 3656 | "line" : 33, |
| 3657 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3658 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3659 | } |
| 3660 | }, |
| 3661 | { |
| 3662 | "op" : "assign", |
| 3663 | "parameters" : [ |
| 3664 | { |
| 3665 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3666 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3667 | }, |
| 3668 | { |
| 3669 | "type" : "expression", |
| 3670 | "value" : { |
| 3671 | "type" : "expression", |
| 3672 | "value" : { |
| 3673 | "op" : "&", |
| 3674 | "left" : { |
| 3675 | "type" : "expression", |
| 3676 | "value" : { |
| 3677 | "op" : "+", |
| 3678 | "left" : { |
| 3679 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3680 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3681 | }, |
| 3682 | "right" : { |
| 3683 | "type" : "hexstr", |
| 3684 | "value" : "0x01" |
| 3685 | } |
| 3686 | } |
| 3687 | }, |
| 3688 | "right" : { |
| 3689 | "type" : "hexstr", |
| 3690 | "value" : "0xff" |
| 3691 | } |
| 3692 | } |
| 3693 | } |
| 3694 | } |
| 3695 | ], |
| 3696 | "source_info" : { |
| 3697 | "filename" : "include/int_transit.p4", |
| 3698 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3699 | "column" : 42, |
| 3700 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3701 | } |
| 3702 | }, |
| 3703 | { |
| 3704 | "op" : "assign", |
| 3705 | "parameters" : [ |
| 3706 | { |
| 3707 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3708 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3709 | }, |
| 3710 | { |
| 3711 | "type" : "expression", |
| 3712 | "value" : { |
| 3713 | "type" : "expression", |
| 3714 | "value" : { |
| 3715 | "op" : "&", |
| 3716 | "left" : { |
| 3717 | "type" : "expression", |
| 3718 | "value" : { |
| 3719 | "op" : "+", |
| 3720 | "left" : { |
| 3721 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3722 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3723 | }, |
| 3724 | "right" : { |
| 3725 | "type" : "hexstr", |
| 3726 | "value" : "0x0004" |
| 3727 | } |
| 3728 | } |
| 3729 | }, |
| 3730 | "right" : { |
| 3731 | "type" : "hexstr", |
| 3732 | "value" : "0xffff" |
| 3733 | } |
| 3734 | } |
| 3735 | } |
| 3736 | } |
| 3737 | ], |
| 3738 | "source_info" : { |
| 3739 | "filename" : "include/int_transit.p4", |
| 3740 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3741 | "column" : 42, |
| 3742 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3743 | } |
| 3744 | } |
| 3745 | ] |
| 3746 | }, |
| 3747 | { |
| 3748 | "name" : "egress.process_int_transit.int_set_header_0003_i9", |
| 3749 | "id" : 27, |
| 3750 | "runtime_data" : [], |
| 3751 | "primitives" : [ |
| 3752 | { |
| 3753 | "op" : "add_header", |
| 3754 | "parameters" : [ |
| 3755 | { |
| 3756 | "type" : "header", |
| 3757 | "value" : "int_q_occupancy" |
| 3758 | } |
| 3759 | ], |
| 3760 | "source_info" : { |
| 3761 | "filename" : "include/int_transit.p4", |
| 3762 | "line" : 49, |
| 3763 | "column" : 8, |
| 3764 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 3765 | } |
| 3766 | }, |
| 3767 | { |
| 3768 | "op" : "assign", |
| 3769 | "parameters" : [ |
| 3770 | { |
| 3771 | "type" : "field", |
| 3772 | "value" : ["int_q_occupancy", "q_id"] |
| 3773 | }, |
| 3774 | { |
| 3775 | "type" : "hexstr", |
| 3776 | "value" : "0x00" |
| 3777 | } |
| 3778 | ], |
| 3779 | "source_info" : { |
| 3780 | "filename" : "include/int_transit.p4", |
| 3781 | "line" : 50, |
| 3782 | "column" : 8, |
| 3783 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 3784 | } |
| 3785 | }, |
| 3786 | { |
| 3787 | "op" : "assign", |
| 3788 | "parameters" : [ |
| 3789 | { |
| 3790 | "type" : "field", |
| 3791 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 3792 | }, |
| 3793 | { |
| 3794 | "type" : "expression", |
| 3795 | "value" : { |
| 3796 | "type" : "expression", |
| 3797 | "value" : { |
| 3798 | "op" : "&", |
| 3799 | "left" : { |
| 3800 | "type" : "field", |
| 3801 | "value" : ["standard_metadata", "deq_qdepth"] |
| 3802 | }, |
| 3803 | "right" : { |
| 3804 | "type" : "hexstr", |
| 3805 | "value" : "0xffffff" |
| 3806 | } |
| 3807 | } |
| 3808 | } |
| 3809 | } |
| 3810 | ], |
| 3811 | "source_info" : { |
| 3812 | "filename" : "include/int_transit.p4", |
| 3813 | "line" : 53, |
| 3814 | "column" : 8, |
| 3815 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 3816 | } |
| 3817 | }, |
| 3818 | { |
| 3819 | "op" : "add_header", |
| 3820 | "parameters" : [ |
| 3821 | { |
| 3822 | "type" : "header", |
| 3823 | "value" : "int_switch_id" |
| 3824 | } |
| 3825 | ], |
| 3826 | "source_info" : { |
| 3827 | "filename" : "include/int_transit.p4", |
| 3828 | "line" : 32, |
| 3829 | "column" : 8, |
| 3830 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 3831 | } |
| 3832 | }, |
| 3833 | { |
| 3834 | "op" : "assign", |
| 3835 | "parameters" : [ |
| 3836 | { |
| 3837 | "type" : "field", |
| 3838 | "value" : ["int_switch_id", "switch_id"] |
| 3839 | }, |
| 3840 | { |
| 3841 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3842 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3843 | } |
| 3844 | ], |
| 3845 | "source_info" : { |
| 3846 | "filename" : "include/int_transit.p4", |
| 3847 | "line" : 33, |
| 3848 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3849 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3850 | } |
| 3851 | }, |
| 3852 | { |
| 3853 | "op" : "assign", |
| 3854 | "parameters" : [ |
| 3855 | { |
| 3856 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3857 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3858 | }, |
| 3859 | { |
| 3860 | "type" : "expression", |
| 3861 | "value" : { |
| 3862 | "type" : "expression", |
| 3863 | "value" : { |
| 3864 | "op" : "&", |
| 3865 | "left" : { |
| 3866 | "type" : "expression", |
| 3867 | "value" : { |
| 3868 | "op" : "+", |
| 3869 | "left" : { |
| 3870 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3871 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3872 | }, |
| 3873 | "right" : { |
| 3874 | "type" : "hexstr", |
| 3875 | "value" : "0x02" |
| 3876 | } |
| 3877 | } |
| 3878 | }, |
| 3879 | "right" : { |
| 3880 | "type" : "hexstr", |
| 3881 | "value" : "0xff" |
| 3882 | } |
| 3883 | } |
| 3884 | } |
| 3885 | } |
| 3886 | ], |
| 3887 | "source_info" : { |
| 3888 | "filename" : "include/int_transit.p4", |
| 3889 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3890 | "column" : 42, |
| 3891 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3892 | } |
| 3893 | }, |
| 3894 | { |
| 3895 | "op" : "assign", |
| 3896 | "parameters" : [ |
| 3897 | { |
| 3898 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3899 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3900 | }, |
| 3901 | { |
| 3902 | "type" : "expression", |
| 3903 | "value" : { |
| 3904 | "type" : "expression", |
| 3905 | "value" : { |
| 3906 | "op" : "&", |
| 3907 | "left" : { |
| 3908 | "type" : "expression", |
| 3909 | "value" : { |
| 3910 | "op" : "+", |
| 3911 | "left" : { |
| 3912 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3913 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3914 | }, |
| 3915 | "right" : { |
| 3916 | "type" : "hexstr", |
| 3917 | "value" : "0x0008" |
| 3918 | } |
| 3919 | } |
| 3920 | }, |
| 3921 | "right" : { |
| 3922 | "type" : "hexstr", |
| 3923 | "value" : "0xffff" |
| 3924 | } |
| 3925 | } |
| 3926 | } |
| 3927 | } |
| 3928 | ], |
| 3929 | "source_info" : { |
| 3930 | "filename" : "include/int_transit.p4", |
| 3931 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 3932 | "column" : 42, |
| 3933 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 3934 | } |
| 3935 | } |
| 3936 | ] |
| 3937 | }, |
| 3938 | { |
| 3939 | "name" : "egress.process_int_transit.int_set_header_0003_i10", |
| 3940 | "id" : 28, |
| 3941 | "runtime_data" : [], |
| 3942 | "primitives" : [ |
| 3943 | { |
| 3944 | "op" : "add_header", |
| 3945 | "parameters" : [ |
| 3946 | { |
| 3947 | "type" : "header", |
| 3948 | "value" : "int_hop_latency" |
| 3949 | } |
| 3950 | ], |
| 3951 | "source_info" : { |
| 3952 | "filename" : "include/int_transit.p4", |
| 3953 | "line" : 43, |
| 3954 | "column" : 8, |
| 3955 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 3956 | } |
| 3957 | }, |
| 3958 | { |
| 3959 | "op" : "assign", |
| 3960 | "parameters" : [ |
| 3961 | { |
| 3962 | "type" : "field", |
| 3963 | "value" : ["int_hop_latency", "hop_latency"] |
| 3964 | }, |
| 3965 | { |
| 3966 | "type" : "expression", |
| 3967 | "value" : { |
| 3968 | "type" : "expression", |
| 3969 | "value" : { |
| 3970 | "op" : "&", |
| 3971 | "left" : { |
| 3972 | "type" : "expression", |
| 3973 | "value" : { |
| 3974 | "op" : "-", |
| 3975 | "left" : { |
| 3976 | "type" : "expression", |
| 3977 | "value" : { |
| 3978 | "op" : "&", |
| 3979 | "left" : { |
| 3980 | "type" : "field", |
| 3981 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 3982 | }, |
| 3983 | "right" : { |
| 3984 | "type" : "hexstr", |
| 3985 | "value" : "0xffffffff" |
| 3986 | } |
| 3987 | } |
| 3988 | }, |
| 3989 | "right" : { |
| 3990 | "type" : "expression", |
| 3991 | "value" : { |
| 3992 | "op" : "&", |
| 3993 | "left" : { |
| 3994 | "type" : "field", |
| 3995 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 3996 | }, |
| 3997 | "right" : { |
| 3998 | "type" : "hexstr", |
| 3999 | "value" : "0xffffffff" |
| 4000 | } |
| 4001 | } |
| 4002 | } |
| 4003 | } |
| 4004 | }, |
| 4005 | "right" : { |
| 4006 | "type" : "hexstr", |
| 4007 | "value" : "0xffffffff" |
| 4008 | } |
| 4009 | } |
| 4010 | } |
| 4011 | } |
| 4012 | ], |
| 4013 | "source_info" : { |
| 4014 | "filename" : "include/int_transit.p4", |
| 4015 | "line" : 44, |
| 4016 | "column" : 8, |
| 4017 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 4018 | } |
| 4019 | }, |
| 4020 | { |
| 4021 | "op" : "add_header", |
| 4022 | "parameters" : [ |
| 4023 | { |
| 4024 | "type" : "header", |
| 4025 | "value" : "int_switch_id" |
| 4026 | } |
| 4027 | ], |
| 4028 | "source_info" : { |
| 4029 | "filename" : "include/int_transit.p4", |
| 4030 | "line" : 32, |
| 4031 | "column" : 8, |
| 4032 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 4033 | } |
| 4034 | }, |
| 4035 | { |
| 4036 | "op" : "assign", |
| 4037 | "parameters" : [ |
| 4038 | { |
| 4039 | "type" : "field", |
| 4040 | "value" : ["int_switch_id", "switch_id"] |
| 4041 | }, |
| 4042 | { |
| 4043 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4044 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4045 | } |
| 4046 | ], |
| 4047 | "source_info" : { |
| 4048 | "filename" : "include/int_transit.p4", |
| 4049 | "line" : 33, |
| 4050 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4051 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4052 | } |
| 4053 | }, |
| 4054 | { |
| 4055 | "op" : "assign", |
| 4056 | "parameters" : [ |
| 4057 | { |
| 4058 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4059 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4060 | }, |
| 4061 | { |
| 4062 | "type" : "expression", |
| 4063 | "value" : { |
| 4064 | "type" : "expression", |
| 4065 | "value" : { |
| 4066 | "op" : "&", |
| 4067 | "left" : { |
| 4068 | "type" : "expression", |
| 4069 | "value" : { |
| 4070 | "op" : "+", |
| 4071 | "left" : { |
| 4072 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4073 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4074 | }, |
| 4075 | "right" : { |
| 4076 | "type" : "hexstr", |
| 4077 | "value" : "0x02" |
| 4078 | } |
| 4079 | } |
| 4080 | }, |
| 4081 | "right" : { |
| 4082 | "type" : "hexstr", |
| 4083 | "value" : "0xff" |
| 4084 | } |
| 4085 | } |
| 4086 | } |
| 4087 | } |
| 4088 | ], |
| 4089 | "source_info" : { |
| 4090 | "filename" : "include/int_transit.p4", |
| 4091 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4092 | "column" : 42, |
| 4093 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4094 | } |
| 4095 | }, |
| 4096 | { |
| 4097 | "op" : "assign", |
| 4098 | "parameters" : [ |
| 4099 | { |
| 4100 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4101 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4102 | }, |
| 4103 | { |
| 4104 | "type" : "expression", |
| 4105 | "value" : { |
| 4106 | "type" : "expression", |
| 4107 | "value" : { |
| 4108 | "op" : "&", |
| 4109 | "left" : { |
| 4110 | "type" : "expression", |
| 4111 | "value" : { |
| 4112 | "op" : "+", |
| 4113 | "left" : { |
| 4114 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4115 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4116 | }, |
| 4117 | "right" : { |
| 4118 | "type" : "hexstr", |
| 4119 | "value" : "0x0008" |
| 4120 | } |
| 4121 | } |
| 4122 | }, |
| 4123 | "right" : { |
| 4124 | "type" : "hexstr", |
| 4125 | "value" : "0xffff" |
| 4126 | } |
| 4127 | } |
| 4128 | } |
| 4129 | } |
| 4130 | ], |
| 4131 | "source_info" : { |
| 4132 | "filename" : "include/int_transit.p4", |
| 4133 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4134 | "column" : 42, |
| 4135 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4136 | } |
| 4137 | } |
| 4138 | ] |
| 4139 | }, |
| 4140 | { |
| 4141 | "name" : "egress.process_int_transit.int_set_header_0003_i11", |
| 4142 | "id" : 29, |
| 4143 | "runtime_data" : [], |
| 4144 | "primitives" : [ |
| 4145 | { |
| 4146 | "op" : "add_header", |
| 4147 | "parameters" : [ |
| 4148 | { |
| 4149 | "type" : "header", |
| 4150 | "value" : "int_q_occupancy" |
| 4151 | } |
| 4152 | ], |
| 4153 | "source_info" : { |
| 4154 | "filename" : "include/int_transit.p4", |
| 4155 | "line" : 49, |
| 4156 | "column" : 8, |
| 4157 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 4158 | } |
| 4159 | }, |
| 4160 | { |
| 4161 | "op" : "assign", |
| 4162 | "parameters" : [ |
| 4163 | { |
| 4164 | "type" : "field", |
| 4165 | "value" : ["int_q_occupancy", "q_id"] |
| 4166 | }, |
| 4167 | { |
| 4168 | "type" : "hexstr", |
| 4169 | "value" : "0x00" |
| 4170 | } |
| 4171 | ], |
| 4172 | "source_info" : { |
| 4173 | "filename" : "include/int_transit.p4", |
| 4174 | "line" : 50, |
| 4175 | "column" : 8, |
| 4176 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 4177 | } |
| 4178 | }, |
| 4179 | { |
| 4180 | "op" : "assign", |
| 4181 | "parameters" : [ |
| 4182 | { |
| 4183 | "type" : "field", |
| 4184 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 4185 | }, |
| 4186 | { |
| 4187 | "type" : "expression", |
| 4188 | "value" : { |
| 4189 | "type" : "expression", |
| 4190 | "value" : { |
| 4191 | "op" : "&", |
| 4192 | "left" : { |
| 4193 | "type" : "field", |
| 4194 | "value" : ["standard_metadata", "deq_qdepth"] |
| 4195 | }, |
| 4196 | "right" : { |
| 4197 | "type" : "hexstr", |
| 4198 | "value" : "0xffffff" |
| 4199 | } |
| 4200 | } |
| 4201 | } |
| 4202 | } |
| 4203 | ], |
| 4204 | "source_info" : { |
| 4205 | "filename" : "include/int_transit.p4", |
| 4206 | "line" : 53, |
| 4207 | "column" : 8, |
| 4208 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 4209 | } |
| 4210 | }, |
| 4211 | { |
| 4212 | "op" : "add_header", |
| 4213 | "parameters" : [ |
| 4214 | { |
| 4215 | "type" : "header", |
| 4216 | "value" : "int_hop_latency" |
| 4217 | } |
| 4218 | ], |
| 4219 | "source_info" : { |
| 4220 | "filename" : "include/int_transit.p4", |
| 4221 | "line" : 43, |
| 4222 | "column" : 8, |
| 4223 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 4224 | } |
| 4225 | }, |
| 4226 | { |
| 4227 | "op" : "assign", |
| 4228 | "parameters" : [ |
| 4229 | { |
| 4230 | "type" : "field", |
| 4231 | "value" : ["int_hop_latency", "hop_latency"] |
| 4232 | }, |
| 4233 | { |
| 4234 | "type" : "expression", |
| 4235 | "value" : { |
| 4236 | "type" : "expression", |
| 4237 | "value" : { |
| 4238 | "op" : "&", |
| 4239 | "left" : { |
| 4240 | "type" : "expression", |
| 4241 | "value" : { |
| 4242 | "op" : "-", |
| 4243 | "left" : { |
| 4244 | "type" : "expression", |
| 4245 | "value" : { |
| 4246 | "op" : "&", |
| 4247 | "left" : { |
| 4248 | "type" : "field", |
| 4249 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 4250 | }, |
| 4251 | "right" : { |
| 4252 | "type" : "hexstr", |
| 4253 | "value" : "0xffffffff" |
| 4254 | } |
| 4255 | } |
| 4256 | }, |
| 4257 | "right" : { |
| 4258 | "type" : "expression", |
| 4259 | "value" : { |
| 4260 | "op" : "&", |
| 4261 | "left" : { |
| 4262 | "type" : "field", |
| 4263 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 4264 | }, |
| 4265 | "right" : { |
| 4266 | "type" : "hexstr", |
| 4267 | "value" : "0xffffffff" |
| 4268 | } |
| 4269 | } |
| 4270 | } |
| 4271 | } |
| 4272 | }, |
| 4273 | "right" : { |
| 4274 | "type" : "hexstr", |
| 4275 | "value" : "0xffffffff" |
| 4276 | } |
| 4277 | } |
| 4278 | } |
| 4279 | } |
| 4280 | ], |
| 4281 | "source_info" : { |
| 4282 | "filename" : "include/int_transit.p4", |
| 4283 | "line" : 44, |
| 4284 | "column" : 8, |
| 4285 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 4286 | } |
| 4287 | }, |
| 4288 | { |
| 4289 | "op" : "add_header", |
| 4290 | "parameters" : [ |
| 4291 | { |
| 4292 | "type" : "header", |
| 4293 | "value" : "int_switch_id" |
| 4294 | } |
| 4295 | ], |
| 4296 | "source_info" : { |
| 4297 | "filename" : "include/int_transit.p4", |
| 4298 | "line" : 32, |
| 4299 | "column" : 8, |
| 4300 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 4301 | } |
| 4302 | }, |
| 4303 | { |
| 4304 | "op" : "assign", |
| 4305 | "parameters" : [ |
| 4306 | { |
| 4307 | "type" : "field", |
| 4308 | "value" : ["int_switch_id", "switch_id"] |
| 4309 | }, |
| 4310 | { |
| 4311 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4312 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4313 | } |
| 4314 | ], |
| 4315 | "source_info" : { |
| 4316 | "filename" : "include/int_transit.p4", |
| 4317 | "line" : 33, |
| 4318 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4319 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4320 | } |
| 4321 | }, |
| 4322 | { |
| 4323 | "op" : "assign", |
| 4324 | "parameters" : [ |
| 4325 | { |
| 4326 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4327 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4328 | }, |
| 4329 | { |
| 4330 | "type" : "expression", |
| 4331 | "value" : { |
| 4332 | "type" : "expression", |
| 4333 | "value" : { |
| 4334 | "op" : "&", |
| 4335 | "left" : { |
| 4336 | "type" : "expression", |
| 4337 | "value" : { |
| 4338 | "op" : "+", |
| 4339 | "left" : { |
| 4340 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4341 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4342 | }, |
| 4343 | "right" : { |
| 4344 | "type" : "hexstr", |
| 4345 | "value" : "0x03" |
| 4346 | } |
| 4347 | } |
| 4348 | }, |
| 4349 | "right" : { |
| 4350 | "type" : "hexstr", |
| 4351 | "value" : "0xff" |
| 4352 | } |
| 4353 | } |
| 4354 | } |
| 4355 | } |
| 4356 | ], |
| 4357 | "source_info" : { |
| 4358 | "filename" : "include/int_transit.p4", |
| 4359 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4360 | "column" : 42, |
| 4361 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4362 | } |
| 4363 | }, |
| 4364 | { |
| 4365 | "op" : "assign", |
| 4366 | "parameters" : [ |
| 4367 | { |
| 4368 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4369 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4370 | }, |
| 4371 | { |
| 4372 | "type" : "expression", |
| 4373 | "value" : { |
| 4374 | "type" : "expression", |
| 4375 | "value" : { |
| 4376 | "op" : "&", |
| 4377 | "left" : { |
| 4378 | "type" : "expression", |
| 4379 | "value" : { |
| 4380 | "op" : "+", |
| 4381 | "left" : { |
| 4382 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4383 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4384 | }, |
| 4385 | "right" : { |
| 4386 | "type" : "hexstr", |
| 4387 | "value" : "0x000c" |
| 4388 | } |
| 4389 | } |
| 4390 | }, |
| 4391 | "right" : { |
| 4392 | "type" : "hexstr", |
| 4393 | "value" : "0xffff" |
| 4394 | } |
| 4395 | } |
| 4396 | } |
| 4397 | } |
| 4398 | ], |
| 4399 | "source_info" : { |
| 4400 | "filename" : "include/int_transit.p4", |
| 4401 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4402 | "column" : 42, |
| 4403 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4404 | } |
| 4405 | } |
| 4406 | ] |
| 4407 | }, |
| 4408 | { |
| 4409 | "name" : "egress.process_int_transit.int_set_header_0003_i12", |
| 4410 | "id" : 30, |
| 4411 | "runtime_data" : [], |
| 4412 | "primitives" : [ |
| 4413 | { |
| 4414 | "op" : "add_header", |
| 4415 | "parameters" : [ |
| 4416 | { |
| 4417 | "type" : "header", |
| 4418 | "value" : "int_level1_port_ids" |
| 4419 | } |
| 4420 | ], |
| 4421 | "source_info" : { |
| 4422 | "filename" : "include/int_transit.p4", |
| 4423 | "line" : 37, |
| 4424 | "column" : 8, |
| 4425 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 4426 | } |
| 4427 | }, |
| 4428 | { |
| 4429 | "op" : "assign", |
| 4430 | "parameters" : [ |
| 4431 | { |
| 4432 | "type" : "field", |
| 4433 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 4434 | }, |
| 4435 | { |
| 4436 | "type" : "expression", |
| 4437 | "value" : { |
| 4438 | "type" : "expression", |
| 4439 | "value" : { |
| 4440 | "op" : "&", |
| 4441 | "left" : { |
| 4442 | "type" : "field", |
| 4443 | "value" : ["standard_metadata", "ingress_port"] |
| 4444 | }, |
| 4445 | "right" : { |
| 4446 | "type" : "hexstr", |
| 4447 | "value" : "0xffff" |
| 4448 | } |
| 4449 | } |
| 4450 | } |
| 4451 | } |
| 4452 | ], |
| 4453 | "source_info" : { |
| 4454 | "filename" : "include/int_transit.p4", |
| 4455 | "line" : 38, |
| 4456 | "column" : 8, |
| 4457 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 4458 | } |
| 4459 | }, |
| 4460 | { |
| 4461 | "op" : "assign", |
| 4462 | "parameters" : [ |
| 4463 | { |
| 4464 | "type" : "field", |
| 4465 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 4466 | }, |
| 4467 | { |
| 4468 | "type" : "expression", |
| 4469 | "value" : { |
| 4470 | "type" : "expression", |
| 4471 | "value" : { |
| 4472 | "op" : "&", |
| 4473 | "left" : { |
| 4474 | "type" : "field", |
| 4475 | "value" : ["standard_metadata", "egress_port"] |
| 4476 | }, |
| 4477 | "right" : { |
| 4478 | "type" : "hexstr", |
| 4479 | "value" : "0xffff" |
| 4480 | } |
| 4481 | } |
| 4482 | } |
| 4483 | } |
| 4484 | ], |
| 4485 | "source_info" : { |
| 4486 | "filename" : "include/int_transit.p4", |
| 4487 | "line" : 39, |
| 4488 | "column" : 8, |
| 4489 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 4490 | } |
| 4491 | }, |
| 4492 | { |
| 4493 | "op" : "add_header", |
| 4494 | "parameters" : [ |
| 4495 | { |
| 4496 | "type" : "header", |
| 4497 | "value" : "int_switch_id" |
| 4498 | } |
| 4499 | ], |
| 4500 | "source_info" : { |
| 4501 | "filename" : "include/int_transit.p4", |
| 4502 | "line" : 32, |
| 4503 | "column" : 8, |
| 4504 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 4505 | } |
| 4506 | }, |
| 4507 | { |
| 4508 | "op" : "assign", |
| 4509 | "parameters" : [ |
| 4510 | { |
| 4511 | "type" : "field", |
| 4512 | "value" : ["int_switch_id", "switch_id"] |
| 4513 | }, |
| 4514 | { |
| 4515 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4516 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4517 | } |
| 4518 | ], |
| 4519 | "source_info" : { |
| 4520 | "filename" : "include/int_transit.p4", |
| 4521 | "line" : 33, |
| 4522 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4523 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4524 | } |
| 4525 | }, |
| 4526 | { |
| 4527 | "op" : "assign", |
| 4528 | "parameters" : [ |
| 4529 | { |
| 4530 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4531 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4532 | }, |
| 4533 | { |
| 4534 | "type" : "expression", |
| 4535 | "value" : { |
| 4536 | "type" : "expression", |
| 4537 | "value" : { |
| 4538 | "op" : "&", |
| 4539 | "left" : { |
| 4540 | "type" : "expression", |
| 4541 | "value" : { |
| 4542 | "op" : "+", |
| 4543 | "left" : { |
| 4544 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4545 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4546 | }, |
| 4547 | "right" : { |
| 4548 | "type" : "hexstr", |
| 4549 | "value" : "0x02" |
| 4550 | } |
| 4551 | } |
| 4552 | }, |
| 4553 | "right" : { |
| 4554 | "type" : "hexstr", |
| 4555 | "value" : "0xff" |
| 4556 | } |
| 4557 | } |
| 4558 | } |
| 4559 | } |
| 4560 | ], |
| 4561 | "source_info" : { |
| 4562 | "filename" : "include/int_transit.p4", |
| 4563 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4564 | "column" : 42, |
| 4565 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4566 | } |
| 4567 | }, |
| 4568 | { |
| 4569 | "op" : "assign", |
| 4570 | "parameters" : [ |
| 4571 | { |
| 4572 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4573 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4574 | }, |
| 4575 | { |
| 4576 | "type" : "expression", |
| 4577 | "value" : { |
| 4578 | "type" : "expression", |
| 4579 | "value" : { |
| 4580 | "op" : "&", |
| 4581 | "left" : { |
| 4582 | "type" : "expression", |
| 4583 | "value" : { |
| 4584 | "op" : "+", |
| 4585 | "left" : { |
| 4586 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4587 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4588 | }, |
| 4589 | "right" : { |
| 4590 | "type" : "hexstr", |
| 4591 | "value" : "0x0008" |
| 4592 | } |
| 4593 | } |
| 4594 | }, |
| 4595 | "right" : { |
| 4596 | "type" : "hexstr", |
| 4597 | "value" : "0xffff" |
| 4598 | } |
| 4599 | } |
| 4600 | } |
| 4601 | } |
| 4602 | ], |
| 4603 | "source_info" : { |
| 4604 | "filename" : "include/int_transit.p4", |
| 4605 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4606 | "column" : 42, |
| 4607 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4608 | } |
| 4609 | } |
| 4610 | ] |
| 4611 | }, |
| 4612 | { |
| 4613 | "name" : "egress.process_int_transit.int_set_header_0003_i13", |
| 4614 | "id" : 31, |
| 4615 | "runtime_data" : [], |
| 4616 | "primitives" : [ |
| 4617 | { |
| 4618 | "op" : "add_header", |
| 4619 | "parameters" : [ |
| 4620 | { |
| 4621 | "type" : "header", |
| 4622 | "value" : "int_q_occupancy" |
| 4623 | } |
| 4624 | ], |
| 4625 | "source_info" : { |
| 4626 | "filename" : "include/int_transit.p4", |
| 4627 | "line" : 49, |
| 4628 | "column" : 8, |
| 4629 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 4630 | } |
| 4631 | }, |
| 4632 | { |
| 4633 | "op" : "assign", |
| 4634 | "parameters" : [ |
| 4635 | { |
| 4636 | "type" : "field", |
| 4637 | "value" : ["int_q_occupancy", "q_id"] |
| 4638 | }, |
| 4639 | { |
| 4640 | "type" : "hexstr", |
| 4641 | "value" : "0x00" |
| 4642 | } |
| 4643 | ], |
| 4644 | "source_info" : { |
| 4645 | "filename" : "include/int_transit.p4", |
| 4646 | "line" : 50, |
| 4647 | "column" : 8, |
| 4648 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 4649 | } |
| 4650 | }, |
| 4651 | { |
| 4652 | "op" : "assign", |
| 4653 | "parameters" : [ |
| 4654 | { |
| 4655 | "type" : "field", |
| 4656 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 4657 | }, |
| 4658 | { |
| 4659 | "type" : "expression", |
| 4660 | "value" : { |
| 4661 | "type" : "expression", |
| 4662 | "value" : { |
| 4663 | "op" : "&", |
| 4664 | "left" : { |
| 4665 | "type" : "field", |
| 4666 | "value" : ["standard_metadata", "deq_qdepth"] |
| 4667 | }, |
| 4668 | "right" : { |
| 4669 | "type" : "hexstr", |
| 4670 | "value" : "0xffffff" |
| 4671 | } |
| 4672 | } |
| 4673 | } |
| 4674 | } |
| 4675 | ], |
| 4676 | "source_info" : { |
| 4677 | "filename" : "include/int_transit.p4", |
| 4678 | "line" : 53, |
| 4679 | "column" : 8, |
| 4680 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 4681 | } |
| 4682 | }, |
| 4683 | { |
| 4684 | "op" : "add_header", |
| 4685 | "parameters" : [ |
| 4686 | { |
| 4687 | "type" : "header", |
| 4688 | "value" : "int_level1_port_ids" |
| 4689 | } |
| 4690 | ], |
| 4691 | "source_info" : { |
| 4692 | "filename" : "include/int_transit.p4", |
| 4693 | "line" : 37, |
| 4694 | "column" : 8, |
| 4695 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 4696 | } |
| 4697 | }, |
| 4698 | { |
| 4699 | "op" : "assign", |
| 4700 | "parameters" : [ |
| 4701 | { |
| 4702 | "type" : "field", |
| 4703 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 4704 | }, |
| 4705 | { |
| 4706 | "type" : "expression", |
| 4707 | "value" : { |
| 4708 | "type" : "expression", |
| 4709 | "value" : { |
| 4710 | "op" : "&", |
| 4711 | "left" : { |
| 4712 | "type" : "field", |
| 4713 | "value" : ["standard_metadata", "ingress_port"] |
| 4714 | }, |
| 4715 | "right" : { |
| 4716 | "type" : "hexstr", |
| 4717 | "value" : "0xffff" |
| 4718 | } |
| 4719 | } |
| 4720 | } |
| 4721 | } |
| 4722 | ], |
| 4723 | "source_info" : { |
| 4724 | "filename" : "include/int_transit.p4", |
| 4725 | "line" : 38, |
| 4726 | "column" : 8, |
| 4727 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 4728 | } |
| 4729 | }, |
| 4730 | { |
| 4731 | "op" : "assign", |
| 4732 | "parameters" : [ |
| 4733 | { |
| 4734 | "type" : "field", |
| 4735 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 4736 | }, |
| 4737 | { |
| 4738 | "type" : "expression", |
| 4739 | "value" : { |
| 4740 | "type" : "expression", |
| 4741 | "value" : { |
| 4742 | "op" : "&", |
| 4743 | "left" : { |
| 4744 | "type" : "field", |
| 4745 | "value" : ["standard_metadata", "egress_port"] |
| 4746 | }, |
| 4747 | "right" : { |
| 4748 | "type" : "hexstr", |
| 4749 | "value" : "0xffff" |
| 4750 | } |
| 4751 | } |
| 4752 | } |
| 4753 | } |
| 4754 | ], |
| 4755 | "source_info" : { |
| 4756 | "filename" : "include/int_transit.p4", |
| 4757 | "line" : 39, |
| 4758 | "column" : 8, |
| 4759 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 4760 | } |
| 4761 | }, |
| 4762 | { |
| 4763 | "op" : "add_header", |
| 4764 | "parameters" : [ |
| 4765 | { |
| 4766 | "type" : "header", |
| 4767 | "value" : "int_switch_id" |
| 4768 | } |
| 4769 | ], |
| 4770 | "source_info" : { |
| 4771 | "filename" : "include/int_transit.p4", |
| 4772 | "line" : 32, |
| 4773 | "column" : 8, |
| 4774 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 4775 | } |
| 4776 | }, |
| 4777 | { |
| 4778 | "op" : "assign", |
| 4779 | "parameters" : [ |
| 4780 | { |
| 4781 | "type" : "field", |
| 4782 | "value" : ["int_switch_id", "switch_id"] |
| 4783 | }, |
| 4784 | { |
| 4785 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4786 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4787 | } |
| 4788 | ], |
| 4789 | "source_info" : { |
| 4790 | "filename" : "include/int_transit.p4", |
| 4791 | "line" : 33, |
| 4792 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4793 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4794 | } |
| 4795 | }, |
| 4796 | { |
| 4797 | "op" : "assign", |
| 4798 | "parameters" : [ |
| 4799 | { |
| 4800 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4801 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4802 | }, |
| 4803 | { |
| 4804 | "type" : "expression", |
| 4805 | "value" : { |
| 4806 | "type" : "expression", |
| 4807 | "value" : { |
| 4808 | "op" : "&", |
| 4809 | "left" : { |
| 4810 | "type" : "expression", |
| 4811 | "value" : { |
| 4812 | "op" : "+", |
| 4813 | "left" : { |
| 4814 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4815 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4816 | }, |
| 4817 | "right" : { |
| 4818 | "type" : "hexstr", |
| 4819 | "value" : "0x03" |
| 4820 | } |
| 4821 | } |
| 4822 | }, |
| 4823 | "right" : { |
| 4824 | "type" : "hexstr", |
| 4825 | "value" : "0xff" |
| 4826 | } |
| 4827 | } |
| 4828 | } |
| 4829 | } |
| 4830 | ], |
| 4831 | "source_info" : { |
| 4832 | "filename" : "include/int_transit.p4", |
| 4833 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4834 | "column" : 42, |
| 4835 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4836 | } |
| 4837 | }, |
| 4838 | { |
| 4839 | "op" : "assign", |
| 4840 | "parameters" : [ |
| 4841 | { |
| 4842 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4843 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4844 | }, |
| 4845 | { |
| 4846 | "type" : "expression", |
| 4847 | "value" : { |
| 4848 | "type" : "expression", |
| 4849 | "value" : { |
| 4850 | "op" : "&", |
| 4851 | "left" : { |
| 4852 | "type" : "expression", |
| 4853 | "value" : { |
| 4854 | "op" : "+", |
| 4855 | "left" : { |
| 4856 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4857 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4858 | }, |
| 4859 | "right" : { |
| 4860 | "type" : "hexstr", |
| 4861 | "value" : "0x000c" |
| 4862 | } |
| 4863 | } |
| 4864 | }, |
| 4865 | "right" : { |
| 4866 | "type" : "hexstr", |
| 4867 | "value" : "0xffff" |
| 4868 | } |
| 4869 | } |
| 4870 | } |
| 4871 | } |
| 4872 | ], |
| 4873 | "source_info" : { |
| 4874 | "filename" : "include/int_transit.p4", |
| 4875 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 4876 | "column" : 42, |
| 4877 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 4878 | } |
| 4879 | } |
| 4880 | ] |
| 4881 | }, |
| 4882 | { |
| 4883 | "name" : "egress.process_int_transit.int_set_header_0003_i14", |
| 4884 | "id" : 32, |
| 4885 | "runtime_data" : [], |
| 4886 | "primitives" : [ |
| 4887 | { |
| 4888 | "op" : "add_header", |
| 4889 | "parameters" : [ |
| 4890 | { |
| 4891 | "type" : "header", |
| 4892 | "value" : "int_hop_latency" |
| 4893 | } |
| 4894 | ], |
| 4895 | "source_info" : { |
| 4896 | "filename" : "include/int_transit.p4", |
| 4897 | "line" : 43, |
| 4898 | "column" : 8, |
| 4899 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 4900 | } |
| 4901 | }, |
| 4902 | { |
| 4903 | "op" : "assign", |
| 4904 | "parameters" : [ |
| 4905 | { |
| 4906 | "type" : "field", |
| 4907 | "value" : ["int_hop_latency", "hop_latency"] |
| 4908 | }, |
| 4909 | { |
| 4910 | "type" : "expression", |
| 4911 | "value" : { |
| 4912 | "type" : "expression", |
| 4913 | "value" : { |
| 4914 | "op" : "&", |
| 4915 | "left" : { |
| 4916 | "type" : "expression", |
| 4917 | "value" : { |
| 4918 | "op" : "-", |
| 4919 | "left" : { |
| 4920 | "type" : "expression", |
| 4921 | "value" : { |
| 4922 | "op" : "&", |
| 4923 | "left" : { |
| 4924 | "type" : "field", |
| 4925 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 4926 | }, |
| 4927 | "right" : { |
| 4928 | "type" : "hexstr", |
| 4929 | "value" : "0xffffffff" |
| 4930 | } |
| 4931 | } |
| 4932 | }, |
| 4933 | "right" : { |
| 4934 | "type" : "expression", |
| 4935 | "value" : { |
| 4936 | "op" : "&", |
| 4937 | "left" : { |
| 4938 | "type" : "field", |
| 4939 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 4940 | }, |
| 4941 | "right" : { |
| 4942 | "type" : "hexstr", |
| 4943 | "value" : "0xffffffff" |
| 4944 | } |
| 4945 | } |
| 4946 | } |
| 4947 | } |
| 4948 | }, |
| 4949 | "right" : { |
| 4950 | "type" : "hexstr", |
| 4951 | "value" : "0xffffffff" |
| 4952 | } |
| 4953 | } |
| 4954 | } |
| 4955 | } |
| 4956 | ], |
| 4957 | "source_info" : { |
| 4958 | "filename" : "include/int_transit.p4", |
| 4959 | "line" : 44, |
| 4960 | "column" : 8, |
| 4961 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 4962 | } |
| 4963 | }, |
| 4964 | { |
| 4965 | "op" : "add_header", |
| 4966 | "parameters" : [ |
| 4967 | { |
| 4968 | "type" : "header", |
| 4969 | "value" : "int_level1_port_ids" |
| 4970 | } |
| 4971 | ], |
| 4972 | "source_info" : { |
| 4973 | "filename" : "include/int_transit.p4", |
| 4974 | "line" : 37, |
| 4975 | "column" : 8, |
| 4976 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 4977 | } |
| 4978 | }, |
| 4979 | { |
| 4980 | "op" : "assign", |
| 4981 | "parameters" : [ |
| 4982 | { |
| 4983 | "type" : "field", |
| 4984 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 4985 | }, |
| 4986 | { |
| 4987 | "type" : "expression", |
| 4988 | "value" : { |
| 4989 | "type" : "expression", |
| 4990 | "value" : { |
| 4991 | "op" : "&", |
| 4992 | "left" : { |
| 4993 | "type" : "field", |
| 4994 | "value" : ["standard_metadata", "ingress_port"] |
| 4995 | }, |
| 4996 | "right" : { |
| 4997 | "type" : "hexstr", |
| 4998 | "value" : "0xffff" |
| 4999 | } |
| 5000 | } |
| 5001 | } |
| 5002 | } |
| 5003 | ], |
| 5004 | "source_info" : { |
| 5005 | "filename" : "include/int_transit.p4", |
| 5006 | "line" : 38, |
| 5007 | "column" : 8, |
| 5008 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 5009 | } |
| 5010 | }, |
| 5011 | { |
| 5012 | "op" : "assign", |
| 5013 | "parameters" : [ |
| 5014 | { |
| 5015 | "type" : "field", |
| 5016 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 5017 | }, |
| 5018 | { |
| 5019 | "type" : "expression", |
| 5020 | "value" : { |
| 5021 | "type" : "expression", |
| 5022 | "value" : { |
| 5023 | "op" : "&", |
| 5024 | "left" : { |
| 5025 | "type" : "field", |
| 5026 | "value" : ["standard_metadata", "egress_port"] |
| 5027 | }, |
| 5028 | "right" : { |
| 5029 | "type" : "hexstr", |
| 5030 | "value" : "0xffff" |
| 5031 | } |
| 5032 | } |
| 5033 | } |
| 5034 | } |
| 5035 | ], |
| 5036 | "source_info" : { |
| 5037 | "filename" : "include/int_transit.p4", |
| 5038 | "line" : 39, |
| 5039 | "column" : 8, |
| 5040 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 5041 | } |
| 5042 | }, |
| 5043 | { |
| 5044 | "op" : "add_header", |
| 5045 | "parameters" : [ |
| 5046 | { |
| 5047 | "type" : "header", |
| 5048 | "value" : "int_switch_id" |
| 5049 | } |
| 5050 | ], |
| 5051 | "source_info" : { |
| 5052 | "filename" : "include/int_transit.p4", |
| 5053 | "line" : 32, |
| 5054 | "column" : 8, |
| 5055 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 5056 | } |
| 5057 | }, |
| 5058 | { |
| 5059 | "op" : "assign", |
| 5060 | "parameters" : [ |
| 5061 | { |
| 5062 | "type" : "field", |
| 5063 | "value" : ["int_switch_id", "switch_id"] |
| 5064 | }, |
| 5065 | { |
| 5066 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5067 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5068 | } |
| 5069 | ], |
| 5070 | "source_info" : { |
| 5071 | "filename" : "include/int_transit.p4", |
| 5072 | "line" : 33, |
| 5073 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5074 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5075 | } |
| 5076 | }, |
| 5077 | { |
| 5078 | "op" : "assign", |
| 5079 | "parameters" : [ |
| 5080 | { |
| 5081 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5082 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5083 | }, |
| 5084 | { |
| 5085 | "type" : "expression", |
| 5086 | "value" : { |
| 5087 | "type" : "expression", |
| 5088 | "value" : { |
| 5089 | "op" : "&", |
| 5090 | "left" : { |
| 5091 | "type" : "expression", |
| 5092 | "value" : { |
| 5093 | "op" : "+", |
| 5094 | "left" : { |
| 5095 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5096 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5097 | }, |
| 5098 | "right" : { |
| 5099 | "type" : "hexstr", |
| 5100 | "value" : "0x03" |
| 5101 | } |
| 5102 | } |
| 5103 | }, |
| 5104 | "right" : { |
| 5105 | "type" : "hexstr", |
| 5106 | "value" : "0xff" |
| 5107 | } |
| 5108 | } |
| 5109 | } |
| 5110 | } |
| 5111 | ], |
| 5112 | "source_info" : { |
| 5113 | "filename" : "include/int_transit.p4", |
| 5114 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5115 | "column" : 42, |
| 5116 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5117 | } |
| 5118 | }, |
| 5119 | { |
| 5120 | "op" : "assign", |
| 5121 | "parameters" : [ |
| 5122 | { |
| 5123 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5124 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5125 | }, |
| 5126 | { |
| 5127 | "type" : "expression", |
| 5128 | "value" : { |
| 5129 | "type" : "expression", |
| 5130 | "value" : { |
| 5131 | "op" : "&", |
| 5132 | "left" : { |
| 5133 | "type" : "expression", |
| 5134 | "value" : { |
| 5135 | "op" : "+", |
| 5136 | "left" : { |
| 5137 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5138 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5139 | }, |
| 5140 | "right" : { |
| 5141 | "type" : "hexstr", |
| 5142 | "value" : "0x000c" |
| 5143 | } |
| 5144 | } |
| 5145 | }, |
| 5146 | "right" : { |
| 5147 | "type" : "hexstr", |
| 5148 | "value" : "0xffff" |
| 5149 | } |
| 5150 | } |
| 5151 | } |
| 5152 | } |
| 5153 | ], |
| 5154 | "source_info" : { |
| 5155 | "filename" : "include/int_transit.p4", |
| 5156 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5157 | "column" : 42, |
| 5158 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5159 | } |
| 5160 | } |
| 5161 | ] |
| 5162 | }, |
| 5163 | { |
| 5164 | "name" : "egress.process_int_transit.int_set_header_0003_i15", |
| 5165 | "id" : 33, |
| 5166 | "runtime_data" : [], |
| 5167 | "primitives" : [ |
| 5168 | { |
| 5169 | "op" : "add_header", |
| 5170 | "parameters" : [ |
| 5171 | { |
| 5172 | "type" : "header", |
| 5173 | "value" : "int_q_occupancy" |
| 5174 | } |
| 5175 | ], |
| 5176 | "source_info" : { |
| 5177 | "filename" : "include/int_transit.p4", |
| 5178 | "line" : 49, |
| 5179 | "column" : 8, |
| 5180 | "source_fragment" : "hdr.int_q_occupancy.setValid()" |
| 5181 | } |
| 5182 | }, |
| 5183 | { |
| 5184 | "op" : "assign", |
| 5185 | "parameters" : [ |
| 5186 | { |
| 5187 | "type" : "field", |
| 5188 | "value" : ["int_q_occupancy", "q_id"] |
| 5189 | }, |
| 5190 | { |
| 5191 | "type" : "hexstr", |
| 5192 | "value" : "0x00" |
| 5193 | } |
| 5194 | ], |
| 5195 | "source_info" : { |
| 5196 | "filename" : "include/int_transit.p4", |
| 5197 | "line" : 50, |
| 5198 | "column" : 8, |
| 5199 | "source_fragment" : "hdr.int_q_occupancy.q_id = ..." |
| 5200 | } |
| 5201 | }, |
| 5202 | { |
| 5203 | "op" : "assign", |
| 5204 | "parameters" : [ |
| 5205 | { |
| 5206 | "type" : "field", |
| 5207 | "value" : ["int_q_occupancy", "q_occupancy"] |
| 5208 | }, |
| 5209 | { |
| 5210 | "type" : "expression", |
| 5211 | "value" : { |
| 5212 | "type" : "expression", |
| 5213 | "value" : { |
| 5214 | "op" : "&", |
| 5215 | "left" : { |
| 5216 | "type" : "field", |
| 5217 | "value" : ["standard_metadata", "deq_qdepth"] |
| 5218 | }, |
| 5219 | "right" : { |
| 5220 | "type" : "hexstr", |
| 5221 | "value" : "0xffffff" |
| 5222 | } |
| 5223 | } |
| 5224 | } |
| 5225 | } |
| 5226 | ], |
| 5227 | "source_info" : { |
| 5228 | "filename" : "include/int_transit.p4", |
| 5229 | "line" : 53, |
| 5230 | "column" : 8, |
| 5231 | "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..." |
| 5232 | } |
| 5233 | }, |
| 5234 | { |
| 5235 | "op" : "add_header", |
| 5236 | "parameters" : [ |
| 5237 | { |
| 5238 | "type" : "header", |
| 5239 | "value" : "int_hop_latency" |
| 5240 | } |
| 5241 | ], |
| 5242 | "source_info" : { |
| 5243 | "filename" : "include/int_transit.p4", |
| 5244 | "line" : 43, |
| 5245 | "column" : 8, |
| 5246 | "source_fragment" : "hdr.int_hop_latency.setValid()" |
| 5247 | } |
| 5248 | }, |
| 5249 | { |
| 5250 | "op" : "assign", |
| 5251 | "parameters" : [ |
| 5252 | { |
| 5253 | "type" : "field", |
| 5254 | "value" : ["int_hop_latency", "hop_latency"] |
| 5255 | }, |
| 5256 | { |
| 5257 | "type" : "expression", |
| 5258 | "value" : { |
| 5259 | "type" : "expression", |
| 5260 | "value" : { |
| 5261 | "op" : "&", |
| 5262 | "left" : { |
| 5263 | "type" : "expression", |
| 5264 | "value" : { |
| 5265 | "op" : "-", |
| 5266 | "left" : { |
| 5267 | "type" : "expression", |
| 5268 | "value" : { |
| 5269 | "op" : "&", |
| 5270 | "left" : { |
| 5271 | "type" : "field", |
| 5272 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 5273 | }, |
| 5274 | "right" : { |
| 5275 | "type" : "hexstr", |
| 5276 | "value" : "0xffffffff" |
| 5277 | } |
| 5278 | } |
| 5279 | }, |
| 5280 | "right" : { |
| 5281 | "type" : "expression", |
| 5282 | "value" : { |
| 5283 | "op" : "&", |
| 5284 | "left" : { |
| 5285 | "type" : "field", |
| 5286 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 5287 | }, |
| 5288 | "right" : { |
| 5289 | "type" : "hexstr", |
| 5290 | "value" : "0xffffffff" |
| 5291 | } |
| 5292 | } |
| 5293 | } |
| 5294 | } |
| 5295 | }, |
| 5296 | "right" : { |
| 5297 | "type" : "hexstr", |
| 5298 | "value" : "0xffffffff" |
| 5299 | } |
| 5300 | } |
| 5301 | } |
| 5302 | } |
| 5303 | ], |
| 5304 | "source_info" : { |
| 5305 | "filename" : "include/int_transit.p4", |
| 5306 | "line" : 44, |
| 5307 | "column" : 8, |
| 5308 | "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp" |
| 5309 | } |
| 5310 | }, |
| 5311 | { |
| 5312 | "op" : "add_header", |
| 5313 | "parameters" : [ |
| 5314 | { |
| 5315 | "type" : "header", |
| 5316 | "value" : "int_level1_port_ids" |
| 5317 | } |
| 5318 | ], |
| 5319 | "source_info" : { |
| 5320 | "filename" : "include/int_transit.p4", |
| 5321 | "line" : 37, |
| 5322 | "column" : 8, |
| 5323 | "source_fragment" : "hdr.int_level1_port_ids.setValid()" |
| 5324 | } |
| 5325 | }, |
| 5326 | { |
| 5327 | "op" : "assign", |
| 5328 | "parameters" : [ |
| 5329 | { |
| 5330 | "type" : "field", |
| 5331 | "value" : ["int_level1_port_ids", "ingress_port_id"] |
| 5332 | }, |
| 5333 | { |
| 5334 | "type" : "expression", |
| 5335 | "value" : { |
| 5336 | "type" : "expression", |
| 5337 | "value" : { |
| 5338 | "op" : "&", |
| 5339 | "left" : { |
| 5340 | "type" : "field", |
| 5341 | "value" : ["standard_metadata", "ingress_port"] |
| 5342 | }, |
| 5343 | "right" : { |
| 5344 | "type" : "hexstr", |
| 5345 | "value" : "0xffff" |
| 5346 | } |
| 5347 | } |
| 5348 | } |
| 5349 | } |
| 5350 | ], |
| 5351 | "source_info" : { |
| 5352 | "filename" : "include/int_transit.p4", |
| 5353 | "line" : 38, |
| 5354 | "column" : 8, |
| 5355 | "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port" |
| 5356 | } |
| 5357 | }, |
| 5358 | { |
| 5359 | "op" : "assign", |
| 5360 | "parameters" : [ |
| 5361 | { |
| 5362 | "type" : "field", |
| 5363 | "value" : ["int_level1_port_ids", "egress_port_id"] |
| 5364 | }, |
| 5365 | { |
| 5366 | "type" : "expression", |
| 5367 | "value" : { |
| 5368 | "type" : "expression", |
| 5369 | "value" : { |
| 5370 | "op" : "&", |
| 5371 | "left" : { |
| 5372 | "type" : "field", |
| 5373 | "value" : ["standard_metadata", "egress_port"] |
| 5374 | }, |
| 5375 | "right" : { |
| 5376 | "type" : "hexstr", |
| 5377 | "value" : "0xffff" |
| 5378 | } |
| 5379 | } |
| 5380 | } |
| 5381 | } |
| 5382 | ], |
| 5383 | "source_info" : { |
| 5384 | "filename" : "include/int_transit.p4", |
| 5385 | "line" : 39, |
| 5386 | "column" : 8, |
| 5387 | "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port" |
| 5388 | } |
| 5389 | }, |
| 5390 | { |
| 5391 | "op" : "add_header", |
| 5392 | "parameters" : [ |
| 5393 | { |
| 5394 | "type" : "header", |
| 5395 | "value" : "int_switch_id" |
| 5396 | } |
| 5397 | ], |
| 5398 | "source_info" : { |
| 5399 | "filename" : "include/int_transit.p4", |
| 5400 | "line" : 32, |
| 5401 | "column" : 8, |
| 5402 | "source_fragment" : "hdr.int_switch_id.setValid()" |
| 5403 | } |
| 5404 | }, |
| 5405 | { |
| 5406 | "op" : "assign", |
| 5407 | "parameters" : [ |
| 5408 | { |
| 5409 | "type" : "field", |
| 5410 | "value" : ["int_switch_id", "switch_id"] |
| 5411 | }, |
| 5412 | { |
| 5413 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5414 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5415 | } |
| 5416 | ], |
| 5417 | "source_info" : { |
| 5418 | "filename" : "include/int_transit.p4", |
| 5419 | "line" : 33, |
| 5420 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5421 | "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5422 | } |
| 5423 | }, |
| 5424 | { |
| 5425 | "op" : "assign", |
| 5426 | "parameters" : [ |
| 5427 | { |
| 5428 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5429 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5430 | }, |
| 5431 | { |
| 5432 | "type" : "expression", |
| 5433 | "value" : { |
| 5434 | "type" : "expression", |
| 5435 | "value" : { |
| 5436 | "op" : "&", |
| 5437 | "left" : { |
| 5438 | "type" : "expression", |
| 5439 | "value" : { |
| 5440 | "op" : "+", |
| 5441 | "left" : { |
| 5442 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5443 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5444 | }, |
| 5445 | "right" : { |
| 5446 | "type" : "hexstr", |
| 5447 | "value" : "0x04" |
| 5448 | } |
| 5449 | } |
| 5450 | }, |
| 5451 | "right" : { |
| 5452 | "type" : "hexstr", |
| 5453 | "value" : "0xff" |
| 5454 | } |
| 5455 | } |
| 5456 | } |
| 5457 | } |
| 5458 | ], |
| 5459 | "source_info" : { |
| 5460 | "filename" : "include/int_transit.p4", |
| 5461 | "line" : 105, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5462 | "column" : 42, |
| 5463 | "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5464 | } |
| 5465 | }, |
| 5466 | { |
| 5467 | "op" : "assign", |
| 5468 | "parameters" : [ |
| 5469 | { |
| 5470 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5471 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5472 | }, |
| 5473 | { |
| 5474 | "type" : "expression", |
| 5475 | "value" : { |
| 5476 | "type" : "expression", |
| 5477 | "value" : { |
| 5478 | "op" : "&", |
| 5479 | "left" : { |
| 5480 | "type" : "expression", |
| 5481 | "value" : { |
| 5482 | "op" : "+", |
| 5483 | "left" : { |
| 5484 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5485 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5486 | }, |
| 5487 | "right" : { |
| 5488 | "type" : "hexstr", |
| 5489 | "value" : "0x0010" |
| 5490 | } |
| 5491 | } |
| 5492 | }, |
| 5493 | "right" : { |
| 5494 | "type" : "hexstr", |
| 5495 | "value" : "0xffff" |
| 5496 | } |
| 5497 | } |
| 5498 | } |
| 5499 | } |
| 5500 | ], |
| 5501 | "source_info" : { |
| 5502 | "filename" : "include/int_transit.p4", |
| 5503 | "line" : 106, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5504 | "column" : 41, |
| 5505 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5506 | } |
| 5507 | } |
| 5508 | ] |
| 5509 | }, |
| 5510 | { |
| 5511 | "name" : "egress.process_int_transit.int_set_header_0407_i0", |
| 5512 | "id" : 34, |
| 5513 | "runtime_data" : [], |
| 5514 | "primitives" : [] |
| 5515 | }, |
| 5516 | { |
| 5517 | "name" : "egress.process_int_transit.int_set_header_0407_i1", |
| 5518 | "id" : 35, |
| 5519 | "runtime_data" : [], |
| 5520 | "primitives" : [ |
| 5521 | { |
| 5522 | "op" : "add_header", |
| 5523 | "parameters" : [ |
| 5524 | { |
| 5525 | "type" : "header", |
| 5526 | "value" : "int_egress_tx_util" |
| 5527 | } |
| 5528 | ], |
| 5529 | "source_info" : { |
| 5530 | "filename" : "include/int_transit.p4", |
| 5531 | "line" : 78, |
| 5532 | "column" : 8, |
| 5533 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 5534 | } |
| 5535 | }, |
| 5536 | { |
| 5537 | "op" : "assign", |
| 5538 | "parameters" : [ |
| 5539 | { |
| 5540 | "type" : "field", |
| 5541 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 5542 | }, |
| 5543 | { |
| 5544 | "type" : "hexstr", |
| 5545 | "value" : "0x00000000" |
| 5546 | } |
| 5547 | ], |
| 5548 | "source_info" : { |
| 5549 | "filename" : "include/int_transit.p4", |
| 5550 | "line" : 79, |
| 5551 | "column" : 8, |
| 5552 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 5553 | } |
| 5554 | }, |
| 5555 | { |
| 5556 | "op" : "assign", |
| 5557 | "parameters" : [ |
| 5558 | { |
| 5559 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5560 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5561 | }, |
| 5562 | { |
| 5563 | "type" : "expression", |
| 5564 | "value" : { |
| 5565 | "type" : "expression", |
| 5566 | "value" : { |
| 5567 | "op" : "&", |
| 5568 | "left" : { |
| 5569 | "type" : "expression", |
| 5570 | "value" : { |
| 5571 | "op" : "+", |
| 5572 | "left" : { |
| 5573 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5574 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5575 | }, |
| 5576 | "right" : { |
| 5577 | "type" : "hexstr", |
| 5578 | "value" : "0x01" |
| 5579 | } |
| 5580 | } |
| 5581 | }, |
| 5582 | "right" : { |
| 5583 | "type" : "hexstr", |
| 5584 | "value" : "0xff" |
| 5585 | } |
| 5586 | } |
| 5587 | } |
| 5588 | } |
| 5589 | ], |
| 5590 | "source_info" : { |
| 5591 | "filename" : "include/int_transit.p4", |
| 5592 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5593 | "column" : 42, |
| 5594 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5595 | } |
| 5596 | }, |
| 5597 | { |
| 5598 | "op" : "assign", |
| 5599 | "parameters" : [ |
| 5600 | { |
| 5601 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5602 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5603 | }, |
| 5604 | { |
| 5605 | "type" : "expression", |
| 5606 | "value" : { |
| 5607 | "type" : "expression", |
| 5608 | "value" : { |
| 5609 | "op" : "&", |
| 5610 | "left" : { |
| 5611 | "type" : "expression", |
| 5612 | "value" : { |
| 5613 | "op" : "+", |
| 5614 | "left" : { |
| 5615 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5616 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5617 | }, |
| 5618 | "right" : { |
| 5619 | "type" : "hexstr", |
| 5620 | "value" : "0x0004" |
| 5621 | } |
| 5622 | } |
| 5623 | }, |
| 5624 | "right" : { |
| 5625 | "type" : "hexstr", |
| 5626 | "value" : "0xffff" |
| 5627 | } |
| 5628 | } |
| 5629 | } |
| 5630 | } |
| 5631 | ], |
| 5632 | "source_info" : { |
| 5633 | "filename" : "include/int_transit.p4", |
| 5634 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5635 | "column" : 42, |
| 5636 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5637 | } |
| 5638 | } |
| 5639 | ] |
| 5640 | }, |
| 5641 | { |
| 5642 | "name" : "egress.process_int_transit.int_set_header_0407_i2", |
| 5643 | "id" : 36, |
| 5644 | "runtime_data" : [], |
| 5645 | "primitives" : [ |
| 5646 | { |
| 5647 | "op" : "add_header", |
| 5648 | "parameters" : [ |
| 5649 | { |
| 5650 | "type" : "header", |
| 5651 | "value" : "int_level2_port_ids" |
| 5652 | } |
| 5653 | ], |
| 5654 | "source_info" : { |
| 5655 | "filename" : "include/int_transit.p4", |
| 5656 | "line" : 70, |
| 5657 | "column" : 8, |
| 5658 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 5659 | } |
| 5660 | }, |
| 5661 | { |
| 5662 | "op" : "assign", |
| 5663 | "parameters" : [ |
| 5664 | { |
| 5665 | "type" : "field", |
| 5666 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 5667 | }, |
| 5668 | { |
| 5669 | "type" : "expression", |
| 5670 | "value" : { |
| 5671 | "type" : "expression", |
| 5672 | "value" : { |
| 5673 | "op" : "&", |
| 5674 | "left" : { |
| 5675 | "type" : "field", |
| 5676 | "value" : ["standard_metadata", "ingress_port"] |
| 5677 | }, |
| 5678 | "right" : { |
| 5679 | "type" : "hexstr", |
| 5680 | "value" : "0xffffffff" |
| 5681 | } |
| 5682 | } |
| 5683 | } |
| 5684 | } |
| 5685 | ], |
| 5686 | "source_info" : { |
| 5687 | "filename" : "include/int_transit.p4", |
| 5688 | "line" : 72, |
| 5689 | "column" : 8, |
| 5690 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 5691 | } |
| 5692 | }, |
| 5693 | { |
| 5694 | "op" : "assign", |
| 5695 | "parameters" : [ |
| 5696 | { |
| 5697 | "type" : "field", |
| 5698 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 5699 | }, |
| 5700 | { |
| 5701 | "type" : "expression", |
| 5702 | "value" : { |
| 5703 | "type" : "expression", |
| 5704 | "value" : { |
| 5705 | "op" : "&", |
| 5706 | "left" : { |
| 5707 | "type" : "field", |
| 5708 | "value" : ["standard_metadata", "egress_port"] |
| 5709 | }, |
| 5710 | "right" : { |
| 5711 | "type" : "hexstr", |
| 5712 | "value" : "0xffffffff" |
| 5713 | } |
| 5714 | } |
| 5715 | } |
| 5716 | } |
| 5717 | ], |
| 5718 | "source_info" : { |
| 5719 | "filename" : "include/int_transit.p4", |
| 5720 | "line" : 73, |
| 5721 | "column" : 8, |
| 5722 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 5723 | } |
| 5724 | }, |
| 5725 | { |
| 5726 | "op" : "assign", |
| 5727 | "parameters" : [ |
| 5728 | { |
| 5729 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5730 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5731 | }, |
| 5732 | { |
| 5733 | "type" : "expression", |
| 5734 | "value" : { |
| 5735 | "type" : "expression", |
| 5736 | "value" : { |
| 5737 | "op" : "&", |
| 5738 | "left" : { |
| 5739 | "type" : "expression", |
| 5740 | "value" : { |
| 5741 | "op" : "+", |
| 5742 | "left" : { |
| 5743 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5744 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5745 | }, |
| 5746 | "right" : { |
| 5747 | "type" : "hexstr", |
| 5748 | "value" : "0x02" |
| 5749 | } |
| 5750 | } |
| 5751 | }, |
| 5752 | "right" : { |
| 5753 | "type" : "hexstr", |
| 5754 | "value" : "0xff" |
| 5755 | } |
| 5756 | } |
| 5757 | } |
| 5758 | } |
| 5759 | ], |
| 5760 | "source_info" : { |
| 5761 | "filename" : "include/int_transit.p4", |
| 5762 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5763 | "column" : 42, |
| 5764 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5765 | } |
| 5766 | }, |
| 5767 | { |
| 5768 | "op" : "assign", |
| 5769 | "parameters" : [ |
| 5770 | { |
| 5771 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5772 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5773 | }, |
| 5774 | { |
| 5775 | "type" : "expression", |
| 5776 | "value" : { |
| 5777 | "type" : "expression", |
| 5778 | "value" : { |
| 5779 | "op" : "&", |
| 5780 | "left" : { |
| 5781 | "type" : "expression", |
| 5782 | "value" : { |
| 5783 | "op" : "+", |
| 5784 | "left" : { |
| 5785 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5786 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5787 | }, |
| 5788 | "right" : { |
| 5789 | "type" : "hexstr", |
| 5790 | "value" : "0x0008" |
| 5791 | } |
| 5792 | } |
| 5793 | }, |
| 5794 | "right" : { |
| 5795 | "type" : "hexstr", |
| 5796 | "value" : "0xffff" |
| 5797 | } |
| 5798 | } |
| 5799 | } |
| 5800 | } |
| 5801 | ], |
| 5802 | "source_info" : { |
| 5803 | "filename" : "include/int_transit.p4", |
| 5804 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5805 | "column" : 42, |
| 5806 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5807 | } |
| 5808 | } |
| 5809 | ] |
| 5810 | }, |
| 5811 | { |
| 5812 | "name" : "egress.process_int_transit.int_set_header_0407_i3", |
| 5813 | "id" : 37, |
| 5814 | "runtime_data" : [], |
| 5815 | "primitives" : [ |
| 5816 | { |
| 5817 | "op" : "add_header", |
| 5818 | "parameters" : [ |
| 5819 | { |
| 5820 | "type" : "header", |
| 5821 | "value" : "int_egress_tx_util" |
| 5822 | } |
| 5823 | ], |
| 5824 | "source_info" : { |
| 5825 | "filename" : "include/int_transit.p4", |
| 5826 | "line" : 78, |
| 5827 | "column" : 8, |
| 5828 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 5829 | } |
| 5830 | }, |
| 5831 | { |
| 5832 | "op" : "assign", |
| 5833 | "parameters" : [ |
| 5834 | { |
| 5835 | "type" : "field", |
| 5836 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 5837 | }, |
| 5838 | { |
| 5839 | "type" : "hexstr", |
| 5840 | "value" : "0x00000000" |
| 5841 | } |
| 5842 | ], |
| 5843 | "source_info" : { |
| 5844 | "filename" : "include/int_transit.p4", |
| 5845 | "line" : 79, |
| 5846 | "column" : 8, |
| 5847 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 5848 | } |
| 5849 | }, |
| 5850 | { |
| 5851 | "op" : "add_header", |
| 5852 | "parameters" : [ |
| 5853 | { |
| 5854 | "type" : "header", |
| 5855 | "value" : "int_level2_port_ids" |
| 5856 | } |
| 5857 | ], |
| 5858 | "source_info" : { |
| 5859 | "filename" : "include/int_transit.p4", |
| 5860 | "line" : 70, |
| 5861 | "column" : 8, |
| 5862 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 5863 | } |
| 5864 | }, |
| 5865 | { |
| 5866 | "op" : "assign", |
| 5867 | "parameters" : [ |
| 5868 | { |
| 5869 | "type" : "field", |
| 5870 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 5871 | }, |
| 5872 | { |
| 5873 | "type" : "expression", |
| 5874 | "value" : { |
| 5875 | "type" : "expression", |
| 5876 | "value" : { |
| 5877 | "op" : "&", |
| 5878 | "left" : { |
| 5879 | "type" : "field", |
| 5880 | "value" : ["standard_metadata", "ingress_port"] |
| 5881 | }, |
| 5882 | "right" : { |
| 5883 | "type" : "hexstr", |
| 5884 | "value" : "0xffffffff" |
| 5885 | } |
| 5886 | } |
| 5887 | } |
| 5888 | } |
| 5889 | ], |
| 5890 | "source_info" : { |
| 5891 | "filename" : "include/int_transit.p4", |
| 5892 | "line" : 72, |
| 5893 | "column" : 8, |
| 5894 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 5895 | } |
| 5896 | }, |
| 5897 | { |
| 5898 | "op" : "assign", |
| 5899 | "parameters" : [ |
| 5900 | { |
| 5901 | "type" : "field", |
| 5902 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 5903 | }, |
| 5904 | { |
| 5905 | "type" : "expression", |
| 5906 | "value" : { |
| 5907 | "type" : "expression", |
| 5908 | "value" : { |
| 5909 | "op" : "&", |
| 5910 | "left" : { |
| 5911 | "type" : "field", |
| 5912 | "value" : ["standard_metadata", "egress_port"] |
| 5913 | }, |
| 5914 | "right" : { |
| 5915 | "type" : "hexstr", |
| 5916 | "value" : "0xffffffff" |
| 5917 | } |
| 5918 | } |
| 5919 | } |
| 5920 | } |
| 5921 | ], |
| 5922 | "source_info" : { |
| 5923 | "filename" : "include/int_transit.p4", |
| 5924 | "line" : 73, |
| 5925 | "column" : 8, |
| 5926 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 5927 | } |
| 5928 | }, |
| 5929 | { |
| 5930 | "op" : "assign", |
| 5931 | "parameters" : [ |
| 5932 | { |
| 5933 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5934 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5935 | }, |
| 5936 | { |
| 5937 | "type" : "expression", |
| 5938 | "value" : { |
| 5939 | "type" : "expression", |
| 5940 | "value" : { |
| 5941 | "op" : "&", |
| 5942 | "left" : { |
| 5943 | "type" : "expression", |
| 5944 | "value" : { |
| 5945 | "op" : "+", |
| 5946 | "left" : { |
| 5947 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5948 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5949 | }, |
| 5950 | "right" : { |
| 5951 | "type" : "hexstr", |
| 5952 | "value" : "0x03" |
| 5953 | } |
| 5954 | } |
| 5955 | }, |
| 5956 | "right" : { |
| 5957 | "type" : "hexstr", |
| 5958 | "value" : "0xff" |
| 5959 | } |
| 5960 | } |
| 5961 | } |
| 5962 | } |
| 5963 | ], |
| 5964 | "source_info" : { |
| 5965 | "filename" : "include/int_transit.p4", |
| 5966 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5967 | "column" : 42, |
| 5968 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5969 | } |
| 5970 | }, |
| 5971 | { |
| 5972 | "op" : "assign", |
| 5973 | "parameters" : [ |
| 5974 | { |
| 5975 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5976 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5977 | }, |
| 5978 | { |
| 5979 | "type" : "expression", |
| 5980 | "value" : { |
| 5981 | "type" : "expression", |
| 5982 | "value" : { |
| 5983 | "op" : "&", |
| 5984 | "left" : { |
| 5985 | "type" : "expression", |
| 5986 | "value" : { |
| 5987 | "op" : "+", |
| 5988 | "left" : { |
| 5989 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 5990 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 5991 | }, |
| 5992 | "right" : { |
| 5993 | "type" : "hexstr", |
| 5994 | "value" : "0x000c" |
| 5995 | } |
| 5996 | } |
| 5997 | }, |
| 5998 | "right" : { |
| 5999 | "type" : "hexstr", |
| 6000 | "value" : "0xffff" |
| 6001 | } |
| 6002 | } |
| 6003 | } |
| 6004 | } |
| 6005 | ], |
| 6006 | "source_info" : { |
| 6007 | "filename" : "include/int_transit.p4", |
| 6008 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6009 | "column" : 42, |
| 6010 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6011 | } |
| 6012 | } |
| 6013 | ] |
| 6014 | }, |
| 6015 | { |
| 6016 | "name" : "egress.process_int_transit.int_set_header_0407_i4", |
| 6017 | "id" : 38, |
| 6018 | "runtime_data" : [], |
| 6019 | "primitives" : [ |
| 6020 | { |
| 6021 | "op" : "add_header", |
| 6022 | "parameters" : [ |
| 6023 | { |
| 6024 | "type" : "header", |
| 6025 | "value" : "int_egress_tstamp" |
| 6026 | } |
| 6027 | ], |
| 6028 | "source_info" : { |
| 6029 | "filename" : "include/int_transit.p4", |
| 6030 | "line" : 64, |
| 6031 | "column" : 8, |
| 6032 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 6033 | } |
| 6034 | }, |
| 6035 | { |
| 6036 | "op" : "assign", |
| 6037 | "parameters" : [ |
| 6038 | { |
| 6039 | "type" : "field", |
| 6040 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 6041 | }, |
| 6042 | { |
| 6043 | "type" : "expression", |
| 6044 | "value" : { |
| 6045 | "type" : "expression", |
| 6046 | "value" : { |
| 6047 | "op" : "&", |
| 6048 | "left" : { |
| 6049 | "type" : "field", |
| 6050 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 6051 | }, |
| 6052 | "right" : { |
| 6053 | "type" : "hexstr", |
| 6054 | "value" : "0xffffffff" |
| 6055 | } |
| 6056 | } |
| 6057 | } |
| 6058 | } |
| 6059 | ], |
| 6060 | "source_info" : { |
| 6061 | "filename" : "include/int_transit.p4", |
| 6062 | "line" : 65, |
| 6063 | "column" : 8, |
| 6064 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 6065 | } |
| 6066 | }, |
| 6067 | { |
| 6068 | "op" : "assign", |
| 6069 | "parameters" : [ |
| 6070 | { |
| 6071 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6072 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6073 | }, |
| 6074 | { |
| 6075 | "type" : "expression", |
| 6076 | "value" : { |
| 6077 | "type" : "expression", |
| 6078 | "value" : { |
| 6079 | "op" : "&", |
| 6080 | "left" : { |
| 6081 | "type" : "expression", |
| 6082 | "value" : { |
| 6083 | "op" : "+", |
| 6084 | "left" : { |
| 6085 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6086 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6087 | }, |
| 6088 | "right" : { |
| 6089 | "type" : "hexstr", |
| 6090 | "value" : "0x01" |
| 6091 | } |
| 6092 | } |
| 6093 | }, |
| 6094 | "right" : { |
| 6095 | "type" : "hexstr", |
| 6096 | "value" : "0xff" |
| 6097 | } |
| 6098 | } |
| 6099 | } |
| 6100 | } |
| 6101 | ], |
| 6102 | "source_info" : { |
| 6103 | "filename" : "include/int_transit.p4", |
| 6104 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6105 | "column" : 42, |
| 6106 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6107 | } |
| 6108 | }, |
| 6109 | { |
| 6110 | "op" : "assign", |
| 6111 | "parameters" : [ |
| 6112 | { |
| 6113 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6114 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6115 | }, |
| 6116 | { |
| 6117 | "type" : "expression", |
| 6118 | "value" : { |
| 6119 | "type" : "expression", |
| 6120 | "value" : { |
| 6121 | "op" : "&", |
| 6122 | "left" : { |
| 6123 | "type" : "expression", |
| 6124 | "value" : { |
| 6125 | "op" : "+", |
| 6126 | "left" : { |
| 6127 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6128 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6129 | }, |
| 6130 | "right" : { |
| 6131 | "type" : "hexstr", |
| 6132 | "value" : "0x0004" |
| 6133 | } |
| 6134 | } |
| 6135 | }, |
| 6136 | "right" : { |
| 6137 | "type" : "hexstr", |
| 6138 | "value" : "0xffff" |
| 6139 | } |
| 6140 | } |
| 6141 | } |
| 6142 | } |
| 6143 | ], |
| 6144 | "source_info" : { |
| 6145 | "filename" : "include/int_transit.p4", |
| 6146 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6147 | "column" : 42, |
| 6148 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6149 | } |
| 6150 | } |
| 6151 | ] |
| 6152 | }, |
| 6153 | { |
| 6154 | "name" : "egress.process_int_transit.int_set_header_0407_i5", |
| 6155 | "id" : 39, |
| 6156 | "runtime_data" : [], |
| 6157 | "primitives" : [ |
| 6158 | { |
| 6159 | "op" : "add_header", |
| 6160 | "parameters" : [ |
| 6161 | { |
| 6162 | "type" : "header", |
| 6163 | "value" : "int_egress_tx_util" |
| 6164 | } |
| 6165 | ], |
| 6166 | "source_info" : { |
| 6167 | "filename" : "include/int_transit.p4", |
| 6168 | "line" : 78, |
| 6169 | "column" : 8, |
| 6170 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 6171 | } |
| 6172 | }, |
| 6173 | { |
| 6174 | "op" : "assign", |
| 6175 | "parameters" : [ |
| 6176 | { |
| 6177 | "type" : "field", |
| 6178 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 6179 | }, |
| 6180 | { |
| 6181 | "type" : "hexstr", |
| 6182 | "value" : "0x00000000" |
| 6183 | } |
| 6184 | ], |
| 6185 | "source_info" : { |
| 6186 | "filename" : "include/int_transit.p4", |
| 6187 | "line" : 79, |
| 6188 | "column" : 8, |
| 6189 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 6190 | } |
| 6191 | }, |
| 6192 | { |
| 6193 | "op" : "add_header", |
| 6194 | "parameters" : [ |
| 6195 | { |
| 6196 | "type" : "header", |
| 6197 | "value" : "int_egress_tstamp" |
| 6198 | } |
| 6199 | ], |
| 6200 | "source_info" : { |
| 6201 | "filename" : "include/int_transit.p4", |
| 6202 | "line" : 64, |
| 6203 | "column" : 8, |
| 6204 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 6205 | } |
| 6206 | }, |
| 6207 | { |
| 6208 | "op" : "assign", |
| 6209 | "parameters" : [ |
| 6210 | { |
| 6211 | "type" : "field", |
| 6212 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 6213 | }, |
| 6214 | { |
| 6215 | "type" : "expression", |
| 6216 | "value" : { |
| 6217 | "type" : "expression", |
| 6218 | "value" : { |
| 6219 | "op" : "&", |
| 6220 | "left" : { |
| 6221 | "type" : "field", |
| 6222 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 6223 | }, |
| 6224 | "right" : { |
| 6225 | "type" : "hexstr", |
| 6226 | "value" : "0xffffffff" |
| 6227 | } |
| 6228 | } |
| 6229 | } |
| 6230 | } |
| 6231 | ], |
| 6232 | "source_info" : { |
| 6233 | "filename" : "include/int_transit.p4", |
| 6234 | "line" : 65, |
| 6235 | "column" : 8, |
| 6236 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 6237 | } |
| 6238 | }, |
| 6239 | { |
| 6240 | "op" : "assign", |
| 6241 | "parameters" : [ |
| 6242 | { |
| 6243 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6244 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6245 | }, |
| 6246 | { |
| 6247 | "type" : "expression", |
| 6248 | "value" : { |
| 6249 | "type" : "expression", |
| 6250 | "value" : { |
| 6251 | "op" : "&", |
| 6252 | "left" : { |
| 6253 | "type" : "expression", |
| 6254 | "value" : { |
| 6255 | "op" : "+", |
| 6256 | "left" : { |
| 6257 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6258 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6259 | }, |
| 6260 | "right" : { |
| 6261 | "type" : "hexstr", |
| 6262 | "value" : "0x02" |
| 6263 | } |
| 6264 | } |
| 6265 | }, |
| 6266 | "right" : { |
| 6267 | "type" : "hexstr", |
| 6268 | "value" : "0xff" |
| 6269 | } |
| 6270 | } |
| 6271 | } |
| 6272 | } |
| 6273 | ], |
| 6274 | "source_info" : { |
| 6275 | "filename" : "include/int_transit.p4", |
| 6276 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6277 | "column" : 42, |
| 6278 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6279 | } |
| 6280 | }, |
| 6281 | { |
| 6282 | "op" : "assign", |
| 6283 | "parameters" : [ |
| 6284 | { |
| 6285 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6286 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6287 | }, |
| 6288 | { |
| 6289 | "type" : "expression", |
| 6290 | "value" : { |
| 6291 | "type" : "expression", |
| 6292 | "value" : { |
| 6293 | "op" : "&", |
| 6294 | "left" : { |
| 6295 | "type" : "expression", |
| 6296 | "value" : { |
| 6297 | "op" : "+", |
| 6298 | "left" : { |
| 6299 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6300 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6301 | }, |
| 6302 | "right" : { |
| 6303 | "type" : "hexstr", |
| 6304 | "value" : "0x0008" |
| 6305 | } |
| 6306 | } |
| 6307 | }, |
| 6308 | "right" : { |
| 6309 | "type" : "hexstr", |
| 6310 | "value" : "0xffff" |
| 6311 | } |
| 6312 | } |
| 6313 | } |
| 6314 | } |
| 6315 | ], |
| 6316 | "source_info" : { |
| 6317 | "filename" : "include/int_transit.p4", |
| 6318 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6319 | "column" : 42, |
| 6320 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6321 | } |
| 6322 | } |
| 6323 | ] |
| 6324 | }, |
| 6325 | { |
| 6326 | "name" : "egress.process_int_transit.int_set_header_0407_i6", |
| 6327 | "id" : 40, |
| 6328 | "runtime_data" : [], |
| 6329 | "primitives" : [ |
| 6330 | { |
| 6331 | "op" : "add_header", |
| 6332 | "parameters" : [ |
| 6333 | { |
| 6334 | "type" : "header", |
| 6335 | "value" : "int_level2_port_ids" |
| 6336 | } |
| 6337 | ], |
| 6338 | "source_info" : { |
| 6339 | "filename" : "include/int_transit.p4", |
| 6340 | "line" : 70, |
| 6341 | "column" : 8, |
| 6342 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 6343 | } |
| 6344 | }, |
| 6345 | { |
| 6346 | "op" : "assign", |
| 6347 | "parameters" : [ |
| 6348 | { |
| 6349 | "type" : "field", |
| 6350 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 6351 | }, |
| 6352 | { |
| 6353 | "type" : "expression", |
| 6354 | "value" : { |
| 6355 | "type" : "expression", |
| 6356 | "value" : { |
| 6357 | "op" : "&", |
| 6358 | "left" : { |
| 6359 | "type" : "field", |
| 6360 | "value" : ["standard_metadata", "ingress_port"] |
| 6361 | }, |
| 6362 | "right" : { |
| 6363 | "type" : "hexstr", |
| 6364 | "value" : "0xffffffff" |
| 6365 | } |
| 6366 | } |
| 6367 | } |
| 6368 | } |
| 6369 | ], |
| 6370 | "source_info" : { |
| 6371 | "filename" : "include/int_transit.p4", |
| 6372 | "line" : 72, |
| 6373 | "column" : 8, |
| 6374 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 6375 | } |
| 6376 | }, |
| 6377 | { |
| 6378 | "op" : "assign", |
| 6379 | "parameters" : [ |
| 6380 | { |
| 6381 | "type" : "field", |
| 6382 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 6383 | }, |
| 6384 | { |
| 6385 | "type" : "expression", |
| 6386 | "value" : { |
| 6387 | "type" : "expression", |
| 6388 | "value" : { |
| 6389 | "op" : "&", |
| 6390 | "left" : { |
| 6391 | "type" : "field", |
| 6392 | "value" : ["standard_metadata", "egress_port"] |
| 6393 | }, |
| 6394 | "right" : { |
| 6395 | "type" : "hexstr", |
| 6396 | "value" : "0xffffffff" |
| 6397 | } |
| 6398 | } |
| 6399 | } |
| 6400 | } |
| 6401 | ], |
| 6402 | "source_info" : { |
| 6403 | "filename" : "include/int_transit.p4", |
| 6404 | "line" : 73, |
| 6405 | "column" : 8, |
| 6406 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 6407 | } |
| 6408 | }, |
| 6409 | { |
| 6410 | "op" : "add_header", |
| 6411 | "parameters" : [ |
| 6412 | { |
| 6413 | "type" : "header", |
| 6414 | "value" : "int_egress_tstamp" |
| 6415 | } |
| 6416 | ], |
| 6417 | "source_info" : { |
| 6418 | "filename" : "include/int_transit.p4", |
| 6419 | "line" : 64, |
| 6420 | "column" : 8, |
| 6421 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 6422 | } |
| 6423 | }, |
| 6424 | { |
| 6425 | "op" : "assign", |
| 6426 | "parameters" : [ |
| 6427 | { |
| 6428 | "type" : "field", |
| 6429 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 6430 | }, |
| 6431 | { |
| 6432 | "type" : "expression", |
| 6433 | "value" : { |
| 6434 | "type" : "expression", |
| 6435 | "value" : { |
| 6436 | "op" : "&", |
| 6437 | "left" : { |
| 6438 | "type" : "field", |
| 6439 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 6440 | }, |
| 6441 | "right" : { |
| 6442 | "type" : "hexstr", |
| 6443 | "value" : "0xffffffff" |
| 6444 | } |
| 6445 | } |
| 6446 | } |
| 6447 | } |
| 6448 | ], |
| 6449 | "source_info" : { |
| 6450 | "filename" : "include/int_transit.p4", |
| 6451 | "line" : 65, |
| 6452 | "column" : 8, |
| 6453 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 6454 | } |
| 6455 | }, |
| 6456 | { |
| 6457 | "op" : "assign", |
| 6458 | "parameters" : [ |
| 6459 | { |
| 6460 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6461 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6462 | }, |
| 6463 | { |
| 6464 | "type" : "expression", |
| 6465 | "value" : { |
| 6466 | "type" : "expression", |
| 6467 | "value" : { |
| 6468 | "op" : "&", |
| 6469 | "left" : { |
| 6470 | "type" : "expression", |
| 6471 | "value" : { |
| 6472 | "op" : "+", |
| 6473 | "left" : { |
| 6474 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6475 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6476 | }, |
| 6477 | "right" : { |
| 6478 | "type" : "hexstr", |
| 6479 | "value" : "0x03" |
| 6480 | } |
| 6481 | } |
| 6482 | }, |
| 6483 | "right" : { |
| 6484 | "type" : "hexstr", |
| 6485 | "value" : "0xff" |
| 6486 | } |
| 6487 | } |
| 6488 | } |
| 6489 | } |
| 6490 | ], |
| 6491 | "source_info" : { |
| 6492 | "filename" : "include/int_transit.p4", |
| 6493 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6494 | "column" : 42, |
| 6495 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6496 | } |
| 6497 | }, |
| 6498 | { |
| 6499 | "op" : "assign", |
| 6500 | "parameters" : [ |
| 6501 | { |
| 6502 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6503 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6504 | }, |
| 6505 | { |
| 6506 | "type" : "expression", |
| 6507 | "value" : { |
| 6508 | "type" : "expression", |
| 6509 | "value" : { |
| 6510 | "op" : "&", |
| 6511 | "left" : { |
| 6512 | "type" : "expression", |
| 6513 | "value" : { |
| 6514 | "op" : "+", |
| 6515 | "left" : { |
| 6516 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6517 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6518 | }, |
| 6519 | "right" : { |
| 6520 | "type" : "hexstr", |
| 6521 | "value" : "0x000c" |
| 6522 | } |
| 6523 | } |
| 6524 | }, |
| 6525 | "right" : { |
| 6526 | "type" : "hexstr", |
| 6527 | "value" : "0xffff" |
| 6528 | } |
| 6529 | } |
| 6530 | } |
| 6531 | } |
| 6532 | ], |
| 6533 | "source_info" : { |
| 6534 | "filename" : "include/int_transit.p4", |
| 6535 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6536 | "column" : 42, |
| 6537 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6538 | } |
| 6539 | } |
| 6540 | ] |
| 6541 | }, |
| 6542 | { |
| 6543 | "name" : "egress.process_int_transit.int_set_header_0407_i7", |
| 6544 | "id" : 41, |
| 6545 | "runtime_data" : [], |
| 6546 | "primitives" : [ |
| 6547 | { |
| 6548 | "op" : "add_header", |
| 6549 | "parameters" : [ |
| 6550 | { |
| 6551 | "type" : "header", |
| 6552 | "value" : "int_egress_tx_util" |
| 6553 | } |
| 6554 | ], |
| 6555 | "source_info" : { |
| 6556 | "filename" : "include/int_transit.p4", |
| 6557 | "line" : 78, |
| 6558 | "column" : 8, |
| 6559 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 6560 | } |
| 6561 | }, |
| 6562 | { |
| 6563 | "op" : "assign", |
| 6564 | "parameters" : [ |
| 6565 | { |
| 6566 | "type" : "field", |
| 6567 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 6568 | }, |
| 6569 | { |
| 6570 | "type" : "hexstr", |
| 6571 | "value" : "0x00000000" |
| 6572 | } |
| 6573 | ], |
| 6574 | "source_info" : { |
| 6575 | "filename" : "include/int_transit.p4", |
| 6576 | "line" : 79, |
| 6577 | "column" : 8, |
| 6578 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 6579 | } |
| 6580 | }, |
| 6581 | { |
| 6582 | "op" : "add_header", |
| 6583 | "parameters" : [ |
| 6584 | { |
| 6585 | "type" : "header", |
| 6586 | "value" : "int_level2_port_ids" |
| 6587 | } |
| 6588 | ], |
| 6589 | "source_info" : { |
| 6590 | "filename" : "include/int_transit.p4", |
| 6591 | "line" : 70, |
| 6592 | "column" : 8, |
| 6593 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 6594 | } |
| 6595 | }, |
| 6596 | { |
| 6597 | "op" : "assign", |
| 6598 | "parameters" : [ |
| 6599 | { |
| 6600 | "type" : "field", |
| 6601 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 6602 | }, |
| 6603 | { |
| 6604 | "type" : "expression", |
| 6605 | "value" : { |
| 6606 | "type" : "expression", |
| 6607 | "value" : { |
| 6608 | "op" : "&", |
| 6609 | "left" : { |
| 6610 | "type" : "field", |
| 6611 | "value" : ["standard_metadata", "ingress_port"] |
| 6612 | }, |
| 6613 | "right" : { |
| 6614 | "type" : "hexstr", |
| 6615 | "value" : "0xffffffff" |
| 6616 | } |
| 6617 | } |
| 6618 | } |
| 6619 | } |
| 6620 | ], |
| 6621 | "source_info" : { |
| 6622 | "filename" : "include/int_transit.p4", |
| 6623 | "line" : 72, |
| 6624 | "column" : 8, |
| 6625 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 6626 | } |
| 6627 | }, |
| 6628 | { |
| 6629 | "op" : "assign", |
| 6630 | "parameters" : [ |
| 6631 | { |
| 6632 | "type" : "field", |
| 6633 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 6634 | }, |
| 6635 | { |
| 6636 | "type" : "expression", |
| 6637 | "value" : { |
| 6638 | "type" : "expression", |
| 6639 | "value" : { |
| 6640 | "op" : "&", |
| 6641 | "left" : { |
| 6642 | "type" : "field", |
| 6643 | "value" : ["standard_metadata", "egress_port"] |
| 6644 | }, |
| 6645 | "right" : { |
| 6646 | "type" : "hexstr", |
| 6647 | "value" : "0xffffffff" |
| 6648 | } |
| 6649 | } |
| 6650 | } |
| 6651 | } |
| 6652 | ], |
| 6653 | "source_info" : { |
| 6654 | "filename" : "include/int_transit.p4", |
| 6655 | "line" : 73, |
| 6656 | "column" : 8, |
| 6657 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 6658 | } |
| 6659 | }, |
| 6660 | { |
| 6661 | "op" : "add_header", |
| 6662 | "parameters" : [ |
| 6663 | { |
| 6664 | "type" : "header", |
| 6665 | "value" : "int_egress_tstamp" |
| 6666 | } |
| 6667 | ], |
| 6668 | "source_info" : { |
| 6669 | "filename" : "include/int_transit.p4", |
| 6670 | "line" : 64, |
| 6671 | "column" : 8, |
| 6672 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 6673 | } |
| 6674 | }, |
| 6675 | { |
| 6676 | "op" : "assign", |
| 6677 | "parameters" : [ |
| 6678 | { |
| 6679 | "type" : "field", |
| 6680 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 6681 | }, |
| 6682 | { |
| 6683 | "type" : "expression", |
| 6684 | "value" : { |
| 6685 | "type" : "expression", |
| 6686 | "value" : { |
| 6687 | "op" : "&", |
| 6688 | "left" : { |
| 6689 | "type" : "field", |
| 6690 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 6691 | }, |
| 6692 | "right" : { |
| 6693 | "type" : "hexstr", |
| 6694 | "value" : "0xffffffff" |
| 6695 | } |
| 6696 | } |
| 6697 | } |
| 6698 | } |
| 6699 | ], |
| 6700 | "source_info" : { |
| 6701 | "filename" : "include/int_transit.p4", |
| 6702 | "line" : 65, |
| 6703 | "column" : 8, |
| 6704 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 6705 | } |
| 6706 | }, |
| 6707 | { |
| 6708 | "op" : "assign", |
| 6709 | "parameters" : [ |
| 6710 | { |
| 6711 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6712 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6713 | }, |
| 6714 | { |
| 6715 | "type" : "expression", |
| 6716 | "value" : { |
| 6717 | "type" : "expression", |
| 6718 | "value" : { |
| 6719 | "op" : "&", |
| 6720 | "left" : { |
| 6721 | "type" : "expression", |
| 6722 | "value" : { |
| 6723 | "op" : "+", |
| 6724 | "left" : { |
| 6725 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6726 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6727 | }, |
| 6728 | "right" : { |
| 6729 | "type" : "hexstr", |
| 6730 | "value" : "0x04" |
| 6731 | } |
| 6732 | } |
| 6733 | }, |
| 6734 | "right" : { |
| 6735 | "type" : "hexstr", |
| 6736 | "value" : "0xff" |
| 6737 | } |
| 6738 | } |
| 6739 | } |
| 6740 | } |
| 6741 | ], |
| 6742 | "source_info" : { |
| 6743 | "filename" : "include/int_transit.p4", |
| 6744 | "line" : 105, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6745 | "column" : 42, |
| 6746 | "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6747 | } |
| 6748 | }, |
| 6749 | { |
| 6750 | "op" : "assign", |
| 6751 | "parameters" : [ |
| 6752 | { |
| 6753 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6754 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6755 | }, |
| 6756 | { |
| 6757 | "type" : "expression", |
| 6758 | "value" : { |
| 6759 | "type" : "expression", |
| 6760 | "value" : { |
| 6761 | "op" : "&", |
| 6762 | "left" : { |
| 6763 | "type" : "expression", |
| 6764 | "value" : { |
| 6765 | "op" : "+", |
| 6766 | "left" : { |
| 6767 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6768 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6769 | }, |
| 6770 | "right" : { |
| 6771 | "type" : "hexstr", |
| 6772 | "value" : "0x0010" |
| 6773 | } |
| 6774 | } |
| 6775 | }, |
| 6776 | "right" : { |
| 6777 | "type" : "hexstr", |
| 6778 | "value" : "0xffff" |
| 6779 | } |
| 6780 | } |
| 6781 | } |
| 6782 | } |
| 6783 | ], |
| 6784 | "source_info" : { |
| 6785 | "filename" : "include/int_transit.p4", |
| 6786 | "line" : 106, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6787 | "column" : 41, |
| 6788 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6789 | } |
| 6790 | } |
| 6791 | ] |
| 6792 | }, |
| 6793 | { |
| 6794 | "name" : "egress.process_int_transit.int_set_header_0407_i8", |
| 6795 | "id" : 42, |
| 6796 | "runtime_data" : [], |
| 6797 | "primitives" : [ |
| 6798 | { |
| 6799 | "op" : "add_header", |
| 6800 | "parameters" : [ |
| 6801 | { |
| 6802 | "type" : "header", |
| 6803 | "value" : "int_ingress_tstamp" |
| 6804 | } |
| 6805 | ], |
| 6806 | "source_info" : { |
| 6807 | "filename" : "include/int_transit.p4", |
| 6808 | "line" : 58, |
| 6809 | "column" : 8, |
| 6810 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 6811 | } |
| 6812 | }, |
| 6813 | { |
| 6814 | "op" : "assign", |
| 6815 | "parameters" : [ |
| 6816 | { |
| 6817 | "type" : "field", |
| 6818 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 6819 | }, |
| 6820 | { |
| 6821 | "type" : "expression", |
| 6822 | "value" : { |
| 6823 | "type" : "expression", |
| 6824 | "value" : { |
| 6825 | "op" : "&", |
| 6826 | "left" : { |
| 6827 | "type" : "field", |
| 6828 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 6829 | }, |
| 6830 | "right" : { |
| 6831 | "type" : "hexstr", |
| 6832 | "value" : "0xffffffff" |
| 6833 | } |
| 6834 | } |
| 6835 | } |
| 6836 | } |
| 6837 | ], |
| 6838 | "source_info" : { |
| 6839 | "filename" : "include/int_transit.p4", |
| 6840 | "line" : 59, |
| 6841 | "column" : 8, |
| 6842 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 6843 | } |
| 6844 | }, |
| 6845 | { |
| 6846 | "op" : "assign", |
| 6847 | "parameters" : [ |
| 6848 | { |
| 6849 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6850 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6851 | }, |
| 6852 | { |
| 6853 | "type" : "expression", |
| 6854 | "value" : { |
| 6855 | "type" : "expression", |
| 6856 | "value" : { |
| 6857 | "op" : "&", |
| 6858 | "left" : { |
| 6859 | "type" : "expression", |
| 6860 | "value" : { |
| 6861 | "op" : "+", |
| 6862 | "left" : { |
| 6863 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6864 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6865 | }, |
| 6866 | "right" : { |
| 6867 | "type" : "hexstr", |
| 6868 | "value" : "0x01" |
| 6869 | } |
| 6870 | } |
| 6871 | }, |
| 6872 | "right" : { |
| 6873 | "type" : "hexstr", |
| 6874 | "value" : "0xff" |
| 6875 | } |
| 6876 | } |
| 6877 | } |
| 6878 | } |
| 6879 | ], |
| 6880 | "source_info" : { |
| 6881 | "filename" : "include/int_transit.p4", |
| 6882 | "line" : 87, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6883 | "column" : 42, |
| 6884 | "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6885 | } |
| 6886 | }, |
| 6887 | { |
| 6888 | "op" : "assign", |
| 6889 | "parameters" : [ |
| 6890 | { |
| 6891 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6892 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6893 | }, |
| 6894 | { |
| 6895 | "type" : "expression", |
| 6896 | "value" : { |
| 6897 | "type" : "expression", |
| 6898 | "value" : { |
| 6899 | "op" : "&", |
| 6900 | "left" : { |
| 6901 | "type" : "expression", |
| 6902 | "value" : { |
| 6903 | "op" : "+", |
| 6904 | "left" : { |
| 6905 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6906 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6907 | }, |
| 6908 | "right" : { |
| 6909 | "type" : "hexstr", |
| 6910 | "value" : "0x0004" |
| 6911 | } |
| 6912 | } |
| 6913 | }, |
| 6914 | "right" : { |
| 6915 | "type" : "hexstr", |
| 6916 | "value" : "0xffff" |
| 6917 | } |
| 6918 | } |
| 6919 | } |
| 6920 | } |
| 6921 | ], |
| 6922 | "source_info" : { |
| 6923 | "filename" : "include/int_transit.p4", |
| 6924 | "line" : 88, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 6925 | "column" : 42, |
| 6926 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 6927 | } |
| 6928 | } |
| 6929 | ] |
| 6930 | }, |
| 6931 | { |
| 6932 | "name" : "egress.process_int_transit.int_set_header_0407_i9", |
| 6933 | "id" : 43, |
| 6934 | "runtime_data" : [], |
| 6935 | "primitives" : [ |
| 6936 | { |
| 6937 | "op" : "add_header", |
| 6938 | "parameters" : [ |
| 6939 | { |
| 6940 | "type" : "header", |
| 6941 | "value" : "int_egress_tx_util" |
| 6942 | } |
| 6943 | ], |
| 6944 | "source_info" : { |
| 6945 | "filename" : "include/int_transit.p4", |
| 6946 | "line" : 78, |
| 6947 | "column" : 8, |
| 6948 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 6949 | } |
| 6950 | }, |
| 6951 | { |
| 6952 | "op" : "assign", |
| 6953 | "parameters" : [ |
| 6954 | { |
| 6955 | "type" : "field", |
| 6956 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 6957 | }, |
| 6958 | { |
| 6959 | "type" : "hexstr", |
| 6960 | "value" : "0x00000000" |
| 6961 | } |
| 6962 | ], |
| 6963 | "source_info" : { |
| 6964 | "filename" : "include/int_transit.p4", |
| 6965 | "line" : 79, |
| 6966 | "column" : 8, |
| 6967 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 6968 | } |
| 6969 | }, |
| 6970 | { |
| 6971 | "op" : "add_header", |
| 6972 | "parameters" : [ |
| 6973 | { |
| 6974 | "type" : "header", |
| 6975 | "value" : "int_ingress_tstamp" |
| 6976 | } |
| 6977 | ], |
| 6978 | "source_info" : { |
| 6979 | "filename" : "include/int_transit.p4", |
| 6980 | "line" : 58, |
| 6981 | "column" : 8, |
| 6982 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 6983 | } |
| 6984 | }, |
| 6985 | { |
| 6986 | "op" : "assign", |
| 6987 | "parameters" : [ |
| 6988 | { |
| 6989 | "type" : "field", |
| 6990 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 6991 | }, |
| 6992 | { |
| 6993 | "type" : "expression", |
| 6994 | "value" : { |
| 6995 | "type" : "expression", |
| 6996 | "value" : { |
| 6997 | "op" : "&", |
| 6998 | "left" : { |
| 6999 | "type" : "field", |
| 7000 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 7001 | }, |
| 7002 | "right" : { |
| 7003 | "type" : "hexstr", |
| 7004 | "value" : "0xffffffff" |
| 7005 | } |
| 7006 | } |
| 7007 | } |
| 7008 | } |
| 7009 | ], |
| 7010 | "source_info" : { |
| 7011 | "filename" : "include/int_transit.p4", |
| 7012 | "line" : 59, |
| 7013 | "column" : 8, |
| 7014 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 7015 | } |
| 7016 | }, |
| 7017 | { |
| 7018 | "op" : "assign", |
| 7019 | "parameters" : [ |
| 7020 | { |
| 7021 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7022 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7023 | }, |
| 7024 | { |
| 7025 | "type" : "expression", |
| 7026 | "value" : { |
| 7027 | "type" : "expression", |
| 7028 | "value" : { |
| 7029 | "op" : "&", |
| 7030 | "left" : { |
| 7031 | "type" : "expression", |
| 7032 | "value" : { |
| 7033 | "op" : "+", |
| 7034 | "left" : { |
| 7035 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7036 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7037 | }, |
| 7038 | "right" : { |
| 7039 | "type" : "hexstr", |
| 7040 | "value" : "0x02" |
| 7041 | } |
| 7042 | } |
| 7043 | }, |
| 7044 | "right" : { |
| 7045 | "type" : "hexstr", |
| 7046 | "value" : "0xff" |
| 7047 | } |
| 7048 | } |
| 7049 | } |
| 7050 | } |
| 7051 | ], |
| 7052 | "source_info" : { |
| 7053 | "filename" : "include/int_transit.p4", |
| 7054 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7055 | "column" : 42, |
| 7056 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7057 | } |
| 7058 | }, |
| 7059 | { |
| 7060 | "op" : "assign", |
| 7061 | "parameters" : [ |
| 7062 | { |
| 7063 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7064 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7065 | }, |
| 7066 | { |
| 7067 | "type" : "expression", |
| 7068 | "value" : { |
| 7069 | "type" : "expression", |
| 7070 | "value" : { |
| 7071 | "op" : "&", |
| 7072 | "left" : { |
| 7073 | "type" : "expression", |
| 7074 | "value" : { |
| 7075 | "op" : "+", |
| 7076 | "left" : { |
| 7077 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7078 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7079 | }, |
| 7080 | "right" : { |
| 7081 | "type" : "hexstr", |
| 7082 | "value" : "0x0008" |
| 7083 | } |
| 7084 | } |
| 7085 | }, |
| 7086 | "right" : { |
| 7087 | "type" : "hexstr", |
| 7088 | "value" : "0xffff" |
| 7089 | } |
| 7090 | } |
| 7091 | } |
| 7092 | } |
| 7093 | ], |
| 7094 | "source_info" : { |
| 7095 | "filename" : "include/int_transit.p4", |
| 7096 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7097 | "column" : 42, |
| 7098 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7099 | } |
| 7100 | } |
| 7101 | ] |
| 7102 | }, |
| 7103 | { |
| 7104 | "name" : "egress.process_int_transit.int_set_header_0407_i10", |
| 7105 | "id" : 44, |
| 7106 | "runtime_data" : [], |
| 7107 | "primitives" : [ |
| 7108 | { |
| 7109 | "op" : "add_header", |
| 7110 | "parameters" : [ |
| 7111 | { |
| 7112 | "type" : "header", |
| 7113 | "value" : "int_level2_port_ids" |
| 7114 | } |
| 7115 | ], |
| 7116 | "source_info" : { |
| 7117 | "filename" : "include/int_transit.p4", |
| 7118 | "line" : 70, |
| 7119 | "column" : 8, |
| 7120 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 7121 | } |
| 7122 | }, |
| 7123 | { |
| 7124 | "op" : "assign", |
| 7125 | "parameters" : [ |
| 7126 | { |
| 7127 | "type" : "field", |
| 7128 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 7129 | }, |
| 7130 | { |
| 7131 | "type" : "expression", |
| 7132 | "value" : { |
| 7133 | "type" : "expression", |
| 7134 | "value" : { |
| 7135 | "op" : "&", |
| 7136 | "left" : { |
| 7137 | "type" : "field", |
| 7138 | "value" : ["standard_metadata", "ingress_port"] |
| 7139 | }, |
| 7140 | "right" : { |
| 7141 | "type" : "hexstr", |
| 7142 | "value" : "0xffffffff" |
| 7143 | } |
| 7144 | } |
| 7145 | } |
| 7146 | } |
| 7147 | ], |
| 7148 | "source_info" : { |
| 7149 | "filename" : "include/int_transit.p4", |
| 7150 | "line" : 72, |
| 7151 | "column" : 8, |
| 7152 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 7153 | } |
| 7154 | }, |
| 7155 | { |
| 7156 | "op" : "assign", |
| 7157 | "parameters" : [ |
| 7158 | { |
| 7159 | "type" : "field", |
| 7160 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 7161 | }, |
| 7162 | { |
| 7163 | "type" : "expression", |
| 7164 | "value" : { |
| 7165 | "type" : "expression", |
| 7166 | "value" : { |
| 7167 | "op" : "&", |
| 7168 | "left" : { |
| 7169 | "type" : "field", |
| 7170 | "value" : ["standard_metadata", "egress_port"] |
| 7171 | }, |
| 7172 | "right" : { |
| 7173 | "type" : "hexstr", |
| 7174 | "value" : "0xffffffff" |
| 7175 | } |
| 7176 | } |
| 7177 | } |
| 7178 | } |
| 7179 | ], |
| 7180 | "source_info" : { |
| 7181 | "filename" : "include/int_transit.p4", |
| 7182 | "line" : 73, |
| 7183 | "column" : 8, |
| 7184 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 7185 | } |
| 7186 | }, |
| 7187 | { |
| 7188 | "op" : "add_header", |
| 7189 | "parameters" : [ |
| 7190 | { |
| 7191 | "type" : "header", |
| 7192 | "value" : "int_ingress_tstamp" |
| 7193 | } |
| 7194 | ], |
| 7195 | "source_info" : { |
| 7196 | "filename" : "include/int_transit.p4", |
| 7197 | "line" : 58, |
| 7198 | "column" : 8, |
| 7199 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 7200 | } |
| 7201 | }, |
| 7202 | { |
| 7203 | "op" : "assign", |
| 7204 | "parameters" : [ |
| 7205 | { |
| 7206 | "type" : "field", |
| 7207 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 7208 | }, |
| 7209 | { |
| 7210 | "type" : "expression", |
| 7211 | "value" : { |
| 7212 | "type" : "expression", |
| 7213 | "value" : { |
| 7214 | "op" : "&", |
| 7215 | "left" : { |
| 7216 | "type" : "field", |
| 7217 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 7218 | }, |
| 7219 | "right" : { |
| 7220 | "type" : "hexstr", |
| 7221 | "value" : "0xffffffff" |
| 7222 | } |
| 7223 | } |
| 7224 | } |
| 7225 | } |
| 7226 | ], |
| 7227 | "source_info" : { |
| 7228 | "filename" : "include/int_transit.p4", |
| 7229 | "line" : 59, |
| 7230 | "column" : 8, |
| 7231 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 7232 | } |
| 7233 | }, |
| 7234 | { |
| 7235 | "op" : "assign", |
| 7236 | "parameters" : [ |
| 7237 | { |
| 7238 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7239 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7240 | }, |
| 7241 | { |
| 7242 | "type" : "expression", |
| 7243 | "value" : { |
| 7244 | "type" : "expression", |
| 7245 | "value" : { |
| 7246 | "op" : "&", |
| 7247 | "left" : { |
| 7248 | "type" : "expression", |
| 7249 | "value" : { |
| 7250 | "op" : "+", |
| 7251 | "left" : { |
| 7252 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7253 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7254 | }, |
| 7255 | "right" : { |
| 7256 | "type" : "hexstr", |
| 7257 | "value" : "0x03" |
| 7258 | } |
| 7259 | } |
| 7260 | }, |
| 7261 | "right" : { |
| 7262 | "type" : "hexstr", |
| 7263 | "value" : "0xff" |
| 7264 | } |
| 7265 | } |
| 7266 | } |
| 7267 | } |
| 7268 | ], |
| 7269 | "source_info" : { |
| 7270 | "filename" : "include/int_transit.p4", |
| 7271 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7272 | "column" : 42, |
| 7273 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7274 | } |
| 7275 | }, |
| 7276 | { |
| 7277 | "op" : "assign", |
| 7278 | "parameters" : [ |
| 7279 | { |
| 7280 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7281 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7282 | }, |
| 7283 | { |
| 7284 | "type" : "expression", |
| 7285 | "value" : { |
| 7286 | "type" : "expression", |
| 7287 | "value" : { |
| 7288 | "op" : "&", |
| 7289 | "left" : { |
| 7290 | "type" : "expression", |
| 7291 | "value" : { |
| 7292 | "op" : "+", |
| 7293 | "left" : { |
| 7294 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7295 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7296 | }, |
| 7297 | "right" : { |
| 7298 | "type" : "hexstr", |
| 7299 | "value" : "0x000c" |
| 7300 | } |
| 7301 | } |
| 7302 | }, |
| 7303 | "right" : { |
| 7304 | "type" : "hexstr", |
| 7305 | "value" : "0xffff" |
| 7306 | } |
| 7307 | } |
| 7308 | } |
| 7309 | } |
| 7310 | ], |
| 7311 | "source_info" : { |
| 7312 | "filename" : "include/int_transit.p4", |
| 7313 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7314 | "column" : 42, |
| 7315 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7316 | } |
| 7317 | } |
| 7318 | ] |
| 7319 | }, |
| 7320 | { |
| 7321 | "name" : "egress.process_int_transit.int_set_header_0407_i11", |
| 7322 | "id" : 45, |
| 7323 | "runtime_data" : [], |
| 7324 | "primitives" : [ |
| 7325 | { |
| 7326 | "op" : "add_header", |
| 7327 | "parameters" : [ |
| 7328 | { |
| 7329 | "type" : "header", |
| 7330 | "value" : "int_egress_tx_util" |
| 7331 | } |
| 7332 | ], |
| 7333 | "source_info" : { |
| 7334 | "filename" : "include/int_transit.p4", |
| 7335 | "line" : 78, |
| 7336 | "column" : 8, |
| 7337 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 7338 | } |
| 7339 | }, |
| 7340 | { |
| 7341 | "op" : "assign", |
| 7342 | "parameters" : [ |
| 7343 | { |
| 7344 | "type" : "field", |
| 7345 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 7346 | }, |
| 7347 | { |
| 7348 | "type" : "hexstr", |
| 7349 | "value" : "0x00000000" |
| 7350 | } |
| 7351 | ], |
| 7352 | "source_info" : { |
| 7353 | "filename" : "include/int_transit.p4", |
| 7354 | "line" : 79, |
| 7355 | "column" : 8, |
| 7356 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 7357 | } |
| 7358 | }, |
| 7359 | { |
| 7360 | "op" : "add_header", |
| 7361 | "parameters" : [ |
| 7362 | { |
| 7363 | "type" : "header", |
| 7364 | "value" : "int_level2_port_ids" |
| 7365 | } |
| 7366 | ], |
| 7367 | "source_info" : { |
| 7368 | "filename" : "include/int_transit.p4", |
| 7369 | "line" : 70, |
| 7370 | "column" : 8, |
| 7371 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 7372 | } |
| 7373 | }, |
| 7374 | { |
| 7375 | "op" : "assign", |
| 7376 | "parameters" : [ |
| 7377 | { |
| 7378 | "type" : "field", |
| 7379 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 7380 | }, |
| 7381 | { |
| 7382 | "type" : "expression", |
| 7383 | "value" : { |
| 7384 | "type" : "expression", |
| 7385 | "value" : { |
| 7386 | "op" : "&", |
| 7387 | "left" : { |
| 7388 | "type" : "field", |
| 7389 | "value" : ["standard_metadata", "ingress_port"] |
| 7390 | }, |
| 7391 | "right" : { |
| 7392 | "type" : "hexstr", |
| 7393 | "value" : "0xffffffff" |
| 7394 | } |
| 7395 | } |
| 7396 | } |
| 7397 | } |
| 7398 | ], |
| 7399 | "source_info" : { |
| 7400 | "filename" : "include/int_transit.p4", |
| 7401 | "line" : 72, |
| 7402 | "column" : 8, |
| 7403 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 7404 | } |
| 7405 | }, |
| 7406 | { |
| 7407 | "op" : "assign", |
| 7408 | "parameters" : [ |
| 7409 | { |
| 7410 | "type" : "field", |
| 7411 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 7412 | }, |
| 7413 | { |
| 7414 | "type" : "expression", |
| 7415 | "value" : { |
| 7416 | "type" : "expression", |
| 7417 | "value" : { |
| 7418 | "op" : "&", |
| 7419 | "left" : { |
| 7420 | "type" : "field", |
| 7421 | "value" : ["standard_metadata", "egress_port"] |
| 7422 | }, |
| 7423 | "right" : { |
| 7424 | "type" : "hexstr", |
| 7425 | "value" : "0xffffffff" |
| 7426 | } |
| 7427 | } |
| 7428 | } |
| 7429 | } |
| 7430 | ], |
| 7431 | "source_info" : { |
| 7432 | "filename" : "include/int_transit.p4", |
| 7433 | "line" : 73, |
| 7434 | "column" : 8, |
| 7435 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 7436 | } |
| 7437 | }, |
| 7438 | { |
| 7439 | "op" : "add_header", |
| 7440 | "parameters" : [ |
| 7441 | { |
| 7442 | "type" : "header", |
| 7443 | "value" : "int_ingress_tstamp" |
| 7444 | } |
| 7445 | ], |
| 7446 | "source_info" : { |
| 7447 | "filename" : "include/int_transit.p4", |
| 7448 | "line" : 58, |
| 7449 | "column" : 8, |
| 7450 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 7451 | } |
| 7452 | }, |
| 7453 | { |
| 7454 | "op" : "assign", |
| 7455 | "parameters" : [ |
| 7456 | { |
| 7457 | "type" : "field", |
| 7458 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 7459 | }, |
| 7460 | { |
| 7461 | "type" : "expression", |
| 7462 | "value" : { |
| 7463 | "type" : "expression", |
| 7464 | "value" : { |
| 7465 | "op" : "&", |
| 7466 | "left" : { |
| 7467 | "type" : "field", |
| 7468 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 7469 | }, |
| 7470 | "right" : { |
| 7471 | "type" : "hexstr", |
| 7472 | "value" : "0xffffffff" |
| 7473 | } |
| 7474 | } |
| 7475 | } |
| 7476 | } |
| 7477 | ], |
| 7478 | "source_info" : { |
| 7479 | "filename" : "include/int_transit.p4", |
| 7480 | "line" : 59, |
| 7481 | "column" : 8, |
| 7482 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 7483 | } |
| 7484 | }, |
| 7485 | { |
| 7486 | "op" : "assign", |
| 7487 | "parameters" : [ |
| 7488 | { |
| 7489 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7490 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7491 | }, |
| 7492 | { |
| 7493 | "type" : "expression", |
| 7494 | "value" : { |
| 7495 | "type" : "expression", |
| 7496 | "value" : { |
| 7497 | "op" : "&", |
| 7498 | "left" : { |
| 7499 | "type" : "expression", |
| 7500 | "value" : { |
| 7501 | "op" : "+", |
| 7502 | "left" : { |
| 7503 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7504 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7505 | }, |
| 7506 | "right" : { |
| 7507 | "type" : "hexstr", |
| 7508 | "value" : "0x04" |
| 7509 | } |
| 7510 | } |
| 7511 | }, |
| 7512 | "right" : { |
| 7513 | "type" : "hexstr", |
| 7514 | "value" : "0xff" |
| 7515 | } |
| 7516 | } |
| 7517 | } |
| 7518 | } |
| 7519 | ], |
| 7520 | "source_info" : { |
| 7521 | "filename" : "include/int_transit.p4", |
| 7522 | "line" : 105, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7523 | "column" : 42, |
| 7524 | "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7525 | } |
| 7526 | }, |
| 7527 | { |
| 7528 | "op" : "assign", |
| 7529 | "parameters" : [ |
| 7530 | { |
| 7531 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7532 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7533 | }, |
| 7534 | { |
| 7535 | "type" : "expression", |
| 7536 | "value" : { |
| 7537 | "type" : "expression", |
| 7538 | "value" : { |
| 7539 | "op" : "&", |
| 7540 | "left" : { |
| 7541 | "type" : "expression", |
| 7542 | "value" : { |
| 7543 | "op" : "+", |
| 7544 | "left" : { |
| 7545 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7546 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7547 | }, |
| 7548 | "right" : { |
| 7549 | "type" : "hexstr", |
| 7550 | "value" : "0x0010" |
| 7551 | } |
| 7552 | } |
| 7553 | }, |
| 7554 | "right" : { |
| 7555 | "type" : "hexstr", |
| 7556 | "value" : "0xffff" |
| 7557 | } |
| 7558 | } |
| 7559 | } |
| 7560 | } |
| 7561 | ], |
| 7562 | "source_info" : { |
| 7563 | "filename" : "include/int_transit.p4", |
| 7564 | "line" : 106, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7565 | "column" : 41, |
| 7566 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7567 | } |
| 7568 | } |
| 7569 | ] |
| 7570 | }, |
| 7571 | { |
| 7572 | "name" : "egress.process_int_transit.int_set_header_0407_i12", |
| 7573 | "id" : 46, |
| 7574 | "runtime_data" : [], |
| 7575 | "primitives" : [ |
| 7576 | { |
| 7577 | "op" : "add_header", |
| 7578 | "parameters" : [ |
| 7579 | { |
| 7580 | "type" : "header", |
| 7581 | "value" : "int_egress_tstamp" |
| 7582 | } |
| 7583 | ], |
| 7584 | "source_info" : { |
| 7585 | "filename" : "include/int_transit.p4", |
| 7586 | "line" : 64, |
| 7587 | "column" : 8, |
| 7588 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 7589 | } |
| 7590 | }, |
| 7591 | { |
| 7592 | "op" : "assign", |
| 7593 | "parameters" : [ |
| 7594 | { |
| 7595 | "type" : "field", |
| 7596 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 7597 | }, |
| 7598 | { |
| 7599 | "type" : "expression", |
| 7600 | "value" : { |
| 7601 | "type" : "expression", |
| 7602 | "value" : { |
| 7603 | "op" : "&", |
| 7604 | "left" : { |
| 7605 | "type" : "field", |
| 7606 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 7607 | }, |
| 7608 | "right" : { |
| 7609 | "type" : "hexstr", |
| 7610 | "value" : "0xffffffff" |
| 7611 | } |
| 7612 | } |
| 7613 | } |
| 7614 | } |
| 7615 | ], |
| 7616 | "source_info" : { |
| 7617 | "filename" : "include/int_transit.p4", |
| 7618 | "line" : 65, |
| 7619 | "column" : 8, |
| 7620 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 7621 | } |
| 7622 | }, |
| 7623 | { |
| 7624 | "op" : "add_header", |
| 7625 | "parameters" : [ |
| 7626 | { |
| 7627 | "type" : "header", |
| 7628 | "value" : "int_ingress_tstamp" |
| 7629 | } |
| 7630 | ], |
| 7631 | "source_info" : { |
| 7632 | "filename" : "include/int_transit.p4", |
| 7633 | "line" : 58, |
| 7634 | "column" : 8, |
| 7635 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 7636 | } |
| 7637 | }, |
| 7638 | { |
| 7639 | "op" : "assign", |
| 7640 | "parameters" : [ |
| 7641 | { |
| 7642 | "type" : "field", |
| 7643 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 7644 | }, |
| 7645 | { |
| 7646 | "type" : "expression", |
| 7647 | "value" : { |
| 7648 | "type" : "expression", |
| 7649 | "value" : { |
| 7650 | "op" : "&", |
| 7651 | "left" : { |
| 7652 | "type" : "field", |
| 7653 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 7654 | }, |
| 7655 | "right" : { |
| 7656 | "type" : "hexstr", |
| 7657 | "value" : "0xffffffff" |
| 7658 | } |
| 7659 | } |
| 7660 | } |
| 7661 | } |
| 7662 | ], |
| 7663 | "source_info" : { |
| 7664 | "filename" : "include/int_transit.p4", |
| 7665 | "line" : 59, |
| 7666 | "column" : 8, |
| 7667 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 7668 | } |
| 7669 | }, |
| 7670 | { |
| 7671 | "op" : "assign", |
| 7672 | "parameters" : [ |
| 7673 | { |
| 7674 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7675 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7676 | }, |
| 7677 | { |
| 7678 | "type" : "expression", |
| 7679 | "value" : { |
| 7680 | "type" : "expression", |
| 7681 | "value" : { |
| 7682 | "op" : "&", |
| 7683 | "left" : { |
| 7684 | "type" : "expression", |
| 7685 | "value" : { |
| 7686 | "op" : "+", |
| 7687 | "left" : { |
| 7688 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7689 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7690 | }, |
| 7691 | "right" : { |
| 7692 | "type" : "hexstr", |
| 7693 | "value" : "0x02" |
| 7694 | } |
| 7695 | } |
| 7696 | }, |
| 7697 | "right" : { |
| 7698 | "type" : "hexstr", |
| 7699 | "value" : "0xff" |
| 7700 | } |
| 7701 | } |
| 7702 | } |
| 7703 | } |
| 7704 | ], |
| 7705 | "source_info" : { |
| 7706 | "filename" : "include/int_transit.p4", |
| 7707 | "line" : 93, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7708 | "column" : 42, |
| 7709 | "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7710 | } |
| 7711 | }, |
| 7712 | { |
| 7713 | "op" : "assign", |
| 7714 | "parameters" : [ |
| 7715 | { |
| 7716 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7717 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7718 | }, |
| 7719 | { |
| 7720 | "type" : "expression", |
| 7721 | "value" : { |
| 7722 | "type" : "expression", |
| 7723 | "value" : { |
| 7724 | "op" : "&", |
| 7725 | "left" : { |
| 7726 | "type" : "expression", |
| 7727 | "value" : { |
| 7728 | "op" : "+", |
| 7729 | "left" : { |
| 7730 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7731 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7732 | }, |
| 7733 | "right" : { |
| 7734 | "type" : "hexstr", |
| 7735 | "value" : "0x0008" |
| 7736 | } |
| 7737 | } |
| 7738 | }, |
| 7739 | "right" : { |
| 7740 | "type" : "hexstr", |
| 7741 | "value" : "0xffff" |
| 7742 | } |
| 7743 | } |
| 7744 | } |
| 7745 | } |
| 7746 | ], |
| 7747 | "source_info" : { |
| 7748 | "filename" : "include/int_transit.p4", |
| 7749 | "line" : 94, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7750 | "column" : 42, |
| 7751 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7752 | } |
| 7753 | } |
| 7754 | ] |
| 7755 | }, |
| 7756 | { |
| 7757 | "name" : "egress.process_int_transit.int_set_header_0407_i13", |
| 7758 | "id" : 47, |
| 7759 | "runtime_data" : [], |
| 7760 | "primitives" : [ |
| 7761 | { |
| 7762 | "op" : "add_header", |
| 7763 | "parameters" : [ |
| 7764 | { |
| 7765 | "type" : "header", |
| 7766 | "value" : "int_egress_tx_util" |
| 7767 | } |
| 7768 | ], |
| 7769 | "source_info" : { |
| 7770 | "filename" : "include/int_transit.p4", |
| 7771 | "line" : 78, |
| 7772 | "column" : 8, |
| 7773 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 7774 | } |
| 7775 | }, |
| 7776 | { |
| 7777 | "op" : "assign", |
| 7778 | "parameters" : [ |
| 7779 | { |
| 7780 | "type" : "field", |
| 7781 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 7782 | }, |
| 7783 | { |
| 7784 | "type" : "hexstr", |
| 7785 | "value" : "0x00000000" |
| 7786 | } |
| 7787 | ], |
| 7788 | "source_info" : { |
| 7789 | "filename" : "include/int_transit.p4", |
| 7790 | "line" : 79, |
| 7791 | "column" : 8, |
| 7792 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 7793 | } |
| 7794 | }, |
| 7795 | { |
| 7796 | "op" : "add_header", |
| 7797 | "parameters" : [ |
| 7798 | { |
| 7799 | "type" : "header", |
| 7800 | "value" : "int_egress_tstamp" |
| 7801 | } |
| 7802 | ], |
| 7803 | "source_info" : { |
| 7804 | "filename" : "include/int_transit.p4", |
| 7805 | "line" : 64, |
| 7806 | "column" : 8, |
| 7807 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 7808 | } |
| 7809 | }, |
| 7810 | { |
| 7811 | "op" : "assign", |
| 7812 | "parameters" : [ |
| 7813 | { |
| 7814 | "type" : "field", |
| 7815 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 7816 | }, |
| 7817 | { |
| 7818 | "type" : "expression", |
| 7819 | "value" : { |
| 7820 | "type" : "expression", |
| 7821 | "value" : { |
| 7822 | "op" : "&", |
| 7823 | "left" : { |
| 7824 | "type" : "field", |
| 7825 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 7826 | }, |
| 7827 | "right" : { |
| 7828 | "type" : "hexstr", |
| 7829 | "value" : "0xffffffff" |
| 7830 | } |
| 7831 | } |
| 7832 | } |
| 7833 | } |
| 7834 | ], |
| 7835 | "source_info" : { |
| 7836 | "filename" : "include/int_transit.p4", |
| 7837 | "line" : 65, |
| 7838 | "column" : 8, |
| 7839 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 7840 | } |
| 7841 | }, |
| 7842 | { |
| 7843 | "op" : "add_header", |
| 7844 | "parameters" : [ |
| 7845 | { |
| 7846 | "type" : "header", |
| 7847 | "value" : "int_ingress_tstamp" |
| 7848 | } |
| 7849 | ], |
| 7850 | "source_info" : { |
| 7851 | "filename" : "include/int_transit.p4", |
| 7852 | "line" : 58, |
| 7853 | "column" : 8, |
| 7854 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 7855 | } |
| 7856 | }, |
| 7857 | { |
| 7858 | "op" : "assign", |
| 7859 | "parameters" : [ |
| 7860 | { |
| 7861 | "type" : "field", |
| 7862 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 7863 | }, |
| 7864 | { |
| 7865 | "type" : "expression", |
| 7866 | "value" : { |
| 7867 | "type" : "expression", |
| 7868 | "value" : { |
| 7869 | "op" : "&", |
| 7870 | "left" : { |
| 7871 | "type" : "field", |
| 7872 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 7873 | }, |
| 7874 | "right" : { |
| 7875 | "type" : "hexstr", |
| 7876 | "value" : "0xffffffff" |
| 7877 | } |
| 7878 | } |
| 7879 | } |
| 7880 | } |
| 7881 | ], |
| 7882 | "source_info" : { |
| 7883 | "filename" : "include/int_transit.p4", |
| 7884 | "line" : 59, |
| 7885 | "column" : 8, |
| 7886 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 7887 | } |
| 7888 | }, |
| 7889 | { |
| 7890 | "op" : "assign", |
| 7891 | "parameters" : [ |
| 7892 | { |
| 7893 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7894 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7895 | }, |
| 7896 | { |
| 7897 | "type" : "expression", |
| 7898 | "value" : { |
| 7899 | "type" : "expression", |
| 7900 | "value" : { |
| 7901 | "op" : "&", |
| 7902 | "left" : { |
| 7903 | "type" : "expression", |
| 7904 | "value" : { |
| 7905 | "op" : "+", |
| 7906 | "left" : { |
| 7907 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7908 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7909 | }, |
| 7910 | "right" : { |
| 7911 | "type" : "hexstr", |
| 7912 | "value" : "0x03" |
| 7913 | } |
| 7914 | } |
| 7915 | }, |
| 7916 | "right" : { |
| 7917 | "type" : "hexstr", |
| 7918 | "value" : "0xff" |
| 7919 | } |
| 7920 | } |
| 7921 | } |
| 7922 | } |
| 7923 | ], |
| 7924 | "source_info" : { |
| 7925 | "filename" : "include/int_transit.p4", |
| 7926 | "line" : 99, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7927 | "column" : 42, |
| 7928 | "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7929 | } |
| 7930 | }, |
| 7931 | { |
| 7932 | "op" : "assign", |
| 7933 | "parameters" : [ |
| 7934 | { |
| 7935 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7936 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7937 | }, |
| 7938 | { |
| 7939 | "type" : "expression", |
| 7940 | "value" : { |
| 7941 | "type" : "expression", |
| 7942 | "value" : { |
| 7943 | "op" : "&", |
| 7944 | "left" : { |
| 7945 | "type" : "expression", |
| 7946 | "value" : { |
| 7947 | "op" : "+", |
| 7948 | "left" : { |
| 7949 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7950 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7951 | }, |
| 7952 | "right" : { |
| 7953 | "type" : "hexstr", |
| 7954 | "value" : "0x000c" |
| 7955 | } |
| 7956 | } |
| 7957 | }, |
| 7958 | "right" : { |
| 7959 | "type" : "hexstr", |
| 7960 | "value" : "0xffff" |
| 7961 | } |
| 7962 | } |
| 7963 | } |
| 7964 | } |
| 7965 | ], |
| 7966 | "source_info" : { |
| 7967 | "filename" : "include/int_transit.p4", |
| 7968 | "line" : 100, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 7969 | "column" : 42, |
| 7970 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 7971 | } |
| 7972 | } |
| 7973 | ] |
| 7974 | }, |
| 7975 | { |
| 7976 | "name" : "egress.process_int_transit.int_set_header_0407_i14", |
| 7977 | "id" : 48, |
| 7978 | "runtime_data" : [], |
| 7979 | "primitives" : [ |
| 7980 | { |
| 7981 | "op" : "add_header", |
| 7982 | "parameters" : [ |
| 7983 | { |
| 7984 | "type" : "header", |
| 7985 | "value" : "int_level2_port_ids" |
| 7986 | } |
| 7987 | ], |
| 7988 | "source_info" : { |
| 7989 | "filename" : "include/int_transit.p4", |
| 7990 | "line" : 70, |
| 7991 | "column" : 8, |
| 7992 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 7993 | } |
| 7994 | }, |
| 7995 | { |
| 7996 | "op" : "assign", |
| 7997 | "parameters" : [ |
| 7998 | { |
| 7999 | "type" : "field", |
| 8000 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 8001 | }, |
| 8002 | { |
| 8003 | "type" : "expression", |
| 8004 | "value" : { |
| 8005 | "type" : "expression", |
| 8006 | "value" : { |
| 8007 | "op" : "&", |
| 8008 | "left" : { |
| 8009 | "type" : "field", |
| 8010 | "value" : ["standard_metadata", "ingress_port"] |
| 8011 | }, |
| 8012 | "right" : { |
| 8013 | "type" : "hexstr", |
| 8014 | "value" : "0xffffffff" |
| 8015 | } |
| 8016 | } |
| 8017 | } |
| 8018 | } |
| 8019 | ], |
| 8020 | "source_info" : { |
| 8021 | "filename" : "include/int_transit.p4", |
| 8022 | "line" : 72, |
| 8023 | "column" : 8, |
| 8024 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 8025 | } |
| 8026 | }, |
| 8027 | { |
| 8028 | "op" : "assign", |
| 8029 | "parameters" : [ |
| 8030 | { |
| 8031 | "type" : "field", |
| 8032 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 8033 | }, |
| 8034 | { |
| 8035 | "type" : "expression", |
| 8036 | "value" : { |
| 8037 | "type" : "expression", |
| 8038 | "value" : { |
| 8039 | "op" : "&", |
| 8040 | "left" : { |
| 8041 | "type" : "field", |
| 8042 | "value" : ["standard_metadata", "egress_port"] |
| 8043 | }, |
| 8044 | "right" : { |
| 8045 | "type" : "hexstr", |
| 8046 | "value" : "0xffffffff" |
| 8047 | } |
| 8048 | } |
| 8049 | } |
| 8050 | } |
| 8051 | ], |
| 8052 | "source_info" : { |
| 8053 | "filename" : "include/int_transit.p4", |
| 8054 | "line" : 73, |
| 8055 | "column" : 8, |
| 8056 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 8057 | } |
| 8058 | }, |
| 8059 | { |
| 8060 | "op" : "add_header", |
| 8061 | "parameters" : [ |
| 8062 | { |
| 8063 | "type" : "header", |
| 8064 | "value" : "int_egress_tstamp" |
| 8065 | } |
| 8066 | ], |
| 8067 | "source_info" : { |
| 8068 | "filename" : "include/int_transit.p4", |
| 8069 | "line" : 64, |
| 8070 | "column" : 8, |
| 8071 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 8072 | } |
| 8073 | }, |
| 8074 | { |
| 8075 | "op" : "assign", |
| 8076 | "parameters" : [ |
| 8077 | { |
| 8078 | "type" : "field", |
| 8079 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 8080 | }, |
| 8081 | { |
| 8082 | "type" : "expression", |
| 8083 | "value" : { |
| 8084 | "type" : "expression", |
| 8085 | "value" : { |
| 8086 | "op" : "&", |
| 8087 | "left" : { |
| 8088 | "type" : "field", |
| 8089 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 8090 | }, |
| 8091 | "right" : { |
| 8092 | "type" : "hexstr", |
| 8093 | "value" : "0xffffffff" |
| 8094 | } |
| 8095 | } |
| 8096 | } |
| 8097 | } |
| 8098 | ], |
| 8099 | "source_info" : { |
| 8100 | "filename" : "include/int_transit.p4", |
| 8101 | "line" : 65, |
| 8102 | "column" : 8, |
| 8103 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 8104 | } |
| 8105 | }, |
| 8106 | { |
| 8107 | "op" : "add_header", |
| 8108 | "parameters" : [ |
| 8109 | { |
| 8110 | "type" : "header", |
| 8111 | "value" : "int_ingress_tstamp" |
| 8112 | } |
| 8113 | ], |
| 8114 | "source_info" : { |
| 8115 | "filename" : "include/int_transit.p4", |
| 8116 | "line" : 58, |
| 8117 | "column" : 8, |
| 8118 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 8119 | } |
| 8120 | }, |
| 8121 | { |
| 8122 | "op" : "assign", |
| 8123 | "parameters" : [ |
| 8124 | { |
| 8125 | "type" : "field", |
| 8126 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 8127 | }, |
| 8128 | { |
| 8129 | "type" : "expression", |
| 8130 | "value" : { |
| 8131 | "type" : "expression", |
| 8132 | "value" : { |
| 8133 | "op" : "&", |
| 8134 | "left" : { |
| 8135 | "type" : "field", |
| 8136 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 8137 | }, |
| 8138 | "right" : { |
| 8139 | "type" : "hexstr", |
| 8140 | "value" : "0xffffffff" |
| 8141 | } |
| 8142 | } |
| 8143 | } |
| 8144 | } |
| 8145 | ], |
| 8146 | "source_info" : { |
| 8147 | "filename" : "include/int_transit.p4", |
| 8148 | "line" : 59, |
| 8149 | "column" : 8, |
| 8150 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 8151 | } |
| 8152 | }, |
| 8153 | { |
| 8154 | "op" : "assign", |
| 8155 | "parameters" : [ |
| 8156 | { |
| 8157 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8158 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8159 | }, |
| 8160 | { |
| 8161 | "type" : "expression", |
| 8162 | "value" : { |
| 8163 | "type" : "expression", |
| 8164 | "value" : { |
| 8165 | "op" : "&", |
| 8166 | "left" : { |
| 8167 | "type" : "expression", |
| 8168 | "value" : { |
| 8169 | "op" : "+", |
| 8170 | "left" : { |
| 8171 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8172 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8173 | }, |
| 8174 | "right" : { |
| 8175 | "type" : "hexstr", |
| 8176 | "value" : "0x04" |
| 8177 | } |
| 8178 | } |
| 8179 | }, |
| 8180 | "right" : { |
| 8181 | "type" : "hexstr", |
| 8182 | "value" : "0xff" |
| 8183 | } |
| 8184 | } |
| 8185 | } |
| 8186 | } |
| 8187 | ], |
| 8188 | "source_info" : { |
| 8189 | "filename" : "include/int_transit.p4", |
| 8190 | "line" : 105, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8191 | "column" : 42, |
| 8192 | "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8193 | } |
| 8194 | }, |
| 8195 | { |
| 8196 | "op" : "assign", |
| 8197 | "parameters" : [ |
| 8198 | { |
| 8199 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8200 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8201 | }, |
| 8202 | { |
| 8203 | "type" : "expression", |
| 8204 | "value" : { |
| 8205 | "type" : "expression", |
| 8206 | "value" : { |
| 8207 | "op" : "&", |
| 8208 | "left" : { |
| 8209 | "type" : "expression", |
| 8210 | "value" : { |
| 8211 | "op" : "+", |
| 8212 | "left" : { |
| 8213 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8214 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8215 | }, |
| 8216 | "right" : { |
| 8217 | "type" : "hexstr", |
| 8218 | "value" : "0x0010" |
| 8219 | } |
| 8220 | } |
| 8221 | }, |
| 8222 | "right" : { |
| 8223 | "type" : "hexstr", |
| 8224 | "value" : "0xffff" |
| 8225 | } |
| 8226 | } |
| 8227 | } |
| 8228 | } |
| 8229 | ], |
| 8230 | "source_info" : { |
| 8231 | "filename" : "include/int_transit.p4", |
| 8232 | "line" : 106, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8233 | "column" : 41, |
| 8234 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8235 | } |
| 8236 | } |
| 8237 | ] |
| 8238 | }, |
| 8239 | { |
| 8240 | "name" : "egress.process_int_transit.int_set_header_0407_i15", |
| 8241 | "id" : 49, |
| 8242 | "runtime_data" : [], |
| 8243 | "primitives" : [ |
| 8244 | { |
| 8245 | "op" : "add_header", |
| 8246 | "parameters" : [ |
| 8247 | { |
| 8248 | "type" : "header", |
| 8249 | "value" : "int_egress_tx_util" |
| 8250 | } |
| 8251 | ], |
| 8252 | "source_info" : { |
| 8253 | "filename" : "include/int_transit.p4", |
| 8254 | "line" : 78, |
| 8255 | "column" : 8, |
| 8256 | "source_fragment" : "hdr.int_egress_tx_util.setValid()" |
| 8257 | } |
| 8258 | }, |
| 8259 | { |
| 8260 | "op" : "assign", |
| 8261 | "parameters" : [ |
| 8262 | { |
| 8263 | "type" : "field", |
| 8264 | "value" : ["int_egress_tx_util", "egress_port_tx_util"] |
| 8265 | }, |
| 8266 | { |
| 8267 | "type" : "hexstr", |
| 8268 | "value" : "0x00000000" |
| 8269 | } |
| 8270 | ], |
| 8271 | "source_info" : { |
| 8272 | "filename" : "include/int_transit.p4", |
| 8273 | "line" : 79, |
| 8274 | "column" : 8, |
| 8275 | "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..." |
| 8276 | } |
| 8277 | }, |
| 8278 | { |
| 8279 | "op" : "add_header", |
| 8280 | "parameters" : [ |
| 8281 | { |
| 8282 | "type" : "header", |
| 8283 | "value" : "int_level2_port_ids" |
| 8284 | } |
| 8285 | ], |
| 8286 | "source_info" : { |
| 8287 | "filename" : "include/int_transit.p4", |
| 8288 | "line" : 70, |
| 8289 | "column" : 8, |
| 8290 | "source_fragment" : "hdr.int_level2_port_ids.setValid()" |
| 8291 | } |
| 8292 | }, |
| 8293 | { |
| 8294 | "op" : "assign", |
| 8295 | "parameters" : [ |
| 8296 | { |
| 8297 | "type" : "field", |
| 8298 | "value" : ["int_level2_port_ids", "ingress_port_id"] |
| 8299 | }, |
| 8300 | { |
| 8301 | "type" : "expression", |
| 8302 | "value" : { |
| 8303 | "type" : "expression", |
| 8304 | "value" : { |
| 8305 | "op" : "&", |
| 8306 | "left" : { |
| 8307 | "type" : "field", |
| 8308 | "value" : ["standard_metadata", "ingress_port"] |
| 8309 | }, |
| 8310 | "right" : { |
| 8311 | "type" : "hexstr", |
| 8312 | "value" : "0xffffffff" |
| 8313 | } |
| 8314 | } |
| 8315 | } |
| 8316 | } |
| 8317 | ], |
| 8318 | "source_info" : { |
| 8319 | "filename" : "include/int_transit.p4", |
| 8320 | "line" : 72, |
| 8321 | "column" : 8, |
| 8322 | "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port" |
| 8323 | } |
| 8324 | }, |
| 8325 | { |
| 8326 | "op" : "assign", |
| 8327 | "parameters" : [ |
| 8328 | { |
| 8329 | "type" : "field", |
| 8330 | "value" : ["int_level2_port_ids", "egress_port_id"] |
| 8331 | }, |
| 8332 | { |
| 8333 | "type" : "expression", |
| 8334 | "value" : { |
| 8335 | "type" : "expression", |
| 8336 | "value" : { |
| 8337 | "op" : "&", |
| 8338 | "left" : { |
| 8339 | "type" : "field", |
| 8340 | "value" : ["standard_metadata", "egress_port"] |
| 8341 | }, |
| 8342 | "right" : { |
| 8343 | "type" : "hexstr", |
| 8344 | "value" : "0xffffffff" |
| 8345 | } |
| 8346 | } |
| 8347 | } |
| 8348 | } |
| 8349 | ], |
| 8350 | "source_info" : { |
| 8351 | "filename" : "include/int_transit.p4", |
| 8352 | "line" : 73, |
| 8353 | "column" : 8, |
| 8354 | "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port" |
| 8355 | } |
| 8356 | }, |
| 8357 | { |
| 8358 | "op" : "add_header", |
| 8359 | "parameters" : [ |
| 8360 | { |
| 8361 | "type" : "header", |
| 8362 | "value" : "int_egress_tstamp" |
| 8363 | } |
| 8364 | ], |
| 8365 | "source_info" : { |
| 8366 | "filename" : "include/int_transit.p4", |
| 8367 | "line" : 64, |
| 8368 | "column" : 8, |
| 8369 | "source_fragment" : "hdr.int_egress_tstamp.setValid()" |
| 8370 | } |
| 8371 | }, |
| 8372 | { |
| 8373 | "op" : "assign", |
| 8374 | "parameters" : [ |
| 8375 | { |
| 8376 | "type" : "field", |
| 8377 | "value" : ["int_egress_tstamp", "egress_tstamp"] |
| 8378 | }, |
| 8379 | { |
| 8380 | "type" : "expression", |
| 8381 | "value" : { |
| 8382 | "type" : "expression", |
| 8383 | "value" : { |
| 8384 | "op" : "&", |
| 8385 | "left" : { |
| 8386 | "type" : "field", |
| 8387 | "value" : ["standard_metadata", "egress_global_timestamp"] |
| 8388 | }, |
| 8389 | "right" : { |
| 8390 | "type" : "hexstr", |
| 8391 | "value" : "0xffffffff" |
| 8392 | } |
| 8393 | } |
| 8394 | } |
| 8395 | } |
| 8396 | ], |
| 8397 | "source_info" : { |
| 8398 | "filename" : "include/int_transit.p4", |
| 8399 | "line" : 65, |
| 8400 | "column" : 8, |
| 8401 | "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..." |
| 8402 | } |
| 8403 | }, |
| 8404 | { |
| 8405 | "op" : "add_header", |
| 8406 | "parameters" : [ |
| 8407 | { |
| 8408 | "type" : "header", |
| 8409 | "value" : "int_ingress_tstamp" |
| 8410 | } |
| 8411 | ], |
| 8412 | "source_info" : { |
| 8413 | "filename" : "include/int_transit.p4", |
| 8414 | "line" : 58, |
| 8415 | "column" : 8, |
| 8416 | "source_fragment" : "hdr.int_ingress_tstamp.setValid()" |
| 8417 | } |
| 8418 | }, |
| 8419 | { |
| 8420 | "op" : "assign", |
| 8421 | "parameters" : [ |
| 8422 | { |
| 8423 | "type" : "field", |
| 8424 | "value" : ["int_ingress_tstamp", "ingress_tstamp"] |
| 8425 | }, |
| 8426 | { |
| 8427 | "type" : "expression", |
| 8428 | "value" : { |
| 8429 | "type" : "expression", |
| 8430 | "value" : { |
| 8431 | "op" : "&", |
| 8432 | "left" : { |
| 8433 | "type" : "field", |
| 8434 | "value" : ["standard_metadata", "ingress_global_timestamp"] |
| 8435 | }, |
| 8436 | "right" : { |
| 8437 | "type" : "hexstr", |
| 8438 | "value" : "0xffffffff" |
| 8439 | } |
| 8440 | } |
| 8441 | } |
| 8442 | } |
| 8443 | ], |
| 8444 | "source_info" : { |
| 8445 | "filename" : "include/int_transit.p4", |
| 8446 | "line" : 59, |
| 8447 | "column" : 8, |
| 8448 | "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..." |
| 8449 | } |
| 8450 | }, |
| 8451 | { |
| 8452 | "op" : "assign", |
| 8453 | "parameters" : [ |
| 8454 | { |
| 8455 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8456 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8457 | }, |
| 8458 | { |
| 8459 | "type" : "expression", |
| 8460 | "value" : { |
| 8461 | "type" : "expression", |
| 8462 | "value" : { |
| 8463 | "op" : "&", |
| 8464 | "left" : { |
| 8465 | "type" : "expression", |
| 8466 | "value" : { |
| 8467 | "op" : "+", |
| 8468 | "left" : { |
| 8469 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8470 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8471 | }, |
| 8472 | "right" : { |
| 8473 | "type" : "hexstr", |
| 8474 | "value" : "0x05" |
| 8475 | } |
| 8476 | } |
| 8477 | }, |
| 8478 | "right" : { |
| 8479 | "type" : "hexstr", |
| 8480 | "value" : "0xff" |
| 8481 | } |
| 8482 | } |
| 8483 | } |
| 8484 | } |
| 8485 | ], |
| 8486 | "source_info" : { |
| 8487 | "filename" : "include/int_transit.p4", |
| 8488 | "line" : 111, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8489 | "column" : 42, |
| 8490 | "source_fragment" : "= local_metadata.int_meta.new_words + 5; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8491 | } |
| 8492 | }, |
| 8493 | { |
| 8494 | "op" : "assign", |
| 8495 | "parameters" : [ |
| 8496 | { |
| 8497 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8498 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8499 | }, |
| 8500 | { |
| 8501 | "type" : "expression", |
| 8502 | "value" : { |
| 8503 | "type" : "expression", |
| 8504 | "value" : { |
| 8505 | "op" : "&", |
| 8506 | "left" : { |
| 8507 | "type" : "expression", |
| 8508 | "value" : { |
| 8509 | "op" : "+", |
| 8510 | "left" : { |
| 8511 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8512 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8513 | }, |
| 8514 | "right" : { |
| 8515 | "type" : "hexstr", |
| 8516 | "value" : "0x0014" |
| 8517 | } |
| 8518 | } |
| 8519 | }, |
| 8520 | "right" : { |
| 8521 | "type" : "hexstr", |
| 8522 | "value" : "0xffff" |
| 8523 | } |
| 8524 | } |
| 8525 | } |
| 8526 | } |
| 8527 | ], |
| 8528 | "source_info" : { |
| 8529 | "filename" : "include/int_transit.p4", |
| 8530 | "line" : 112, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 8531 | "column" : 42, |
| 8532 | "source_fragment" : "= local_metadata.int_meta.new_bytes + 20; ..." |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8533 | } |
| 8534 | } |
| 8535 | ] |
| 8536 | }, |
| 8537 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8538 | "name" : "egress.process_int_report.do_report_encapsulation", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8539 | "id" : 50, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8540 | "runtime_data" : [ |
| 8541 | { |
| 8542 | "name" : "src_mac", |
| 8543 | "bitwidth" : 48 |
| 8544 | }, |
| 8545 | { |
| 8546 | "name" : "mon_mac", |
| 8547 | "bitwidth" : 48 |
| 8548 | }, |
| 8549 | { |
| 8550 | "name" : "src_ip", |
| 8551 | "bitwidth" : 32 |
| 8552 | }, |
| 8553 | { |
| 8554 | "name" : "mon_ip", |
| 8555 | "bitwidth" : 32 |
| 8556 | }, |
| 8557 | { |
| 8558 | "name" : "mon_port", |
| 8559 | "bitwidth" : 16 |
| 8560 | } |
| 8561 | ], |
| 8562 | "primitives" : [ |
| 8563 | { |
| 8564 | "op" : "add_header", |
| 8565 | "parameters" : [ |
| 8566 | { |
| 8567 | "type" : "header", |
| 8568 | "value" : "report_ethernet" |
| 8569 | } |
| 8570 | ], |
| 8571 | "source_info" : { |
| 8572 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8573 | "line" : 55, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8574 | "column" : 8, |
| 8575 | "source_fragment" : "hdr.report_ethernet.setValid()" |
| 8576 | } |
| 8577 | }, |
| 8578 | { |
| 8579 | "op" : "assign", |
| 8580 | "parameters" : [ |
| 8581 | { |
| 8582 | "type" : "field", |
| 8583 | "value" : ["report_ethernet", "dst_addr"] |
| 8584 | }, |
| 8585 | { |
| 8586 | "type" : "runtime_data", |
| 8587 | "value" : 1 |
| 8588 | } |
| 8589 | ], |
| 8590 | "source_info" : { |
| 8591 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8592 | "line" : 56, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8593 | "column" : 8, |
| 8594 | "source_fragment" : "hdr.report_ethernet.dst_addr = mon_mac" |
| 8595 | } |
| 8596 | }, |
| 8597 | { |
| 8598 | "op" : "assign", |
| 8599 | "parameters" : [ |
| 8600 | { |
| 8601 | "type" : "field", |
| 8602 | "value" : ["report_ethernet", "src_addr"] |
| 8603 | }, |
| 8604 | { |
| 8605 | "type" : "runtime_data", |
| 8606 | "value" : 0 |
| 8607 | } |
| 8608 | ], |
| 8609 | "source_info" : { |
| 8610 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8611 | "line" : 57, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8612 | "column" : 8, |
| 8613 | "source_fragment" : "hdr.report_ethernet.src_addr = src_mac" |
| 8614 | } |
| 8615 | }, |
| 8616 | { |
| 8617 | "op" : "assign", |
| 8618 | "parameters" : [ |
| 8619 | { |
| 8620 | "type" : "field", |
| 8621 | "value" : ["report_ethernet", "ether_type"] |
| 8622 | }, |
| 8623 | { |
| 8624 | "type" : "hexstr", |
| 8625 | "value" : "0x0800" |
| 8626 | } |
| 8627 | ], |
| 8628 | "source_info" : { |
| 8629 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8630 | "line" : 58, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8631 | "column" : 8, |
| 8632 | "source_fragment" : "hdr.report_ethernet.ether_type = 0x0800" |
| 8633 | } |
| 8634 | }, |
| 8635 | { |
| 8636 | "op" : "add_header", |
| 8637 | "parameters" : [ |
| 8638 | { |
| 8639 | "type" : "header", |
| 8640 | "value" : "report_ipv4" |
| 8641 | } |
| 8642 | ], |
| 8643 | "source_info" : { |
| 8644 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8645 | "line" : 61, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8646 | "column" : 8, |
| 8647 | "source_fragment" : "hdr.report_ipv4.setValid()" |
| 8648 | } |
| 8649 | }, |
| 8650 | { |
| 8651 | "op" : "assign", |
| 8652 | "parameters" : [ |
| 8653 | { |
| 8654 | "type" : "field", |
| 8655 | "value" : ["report_ipv4", "version"] |
| 8656 | }, |
| 8657 | { |
| 8658 | "type" : "hexstr", |
| 8659 | "value" : "0x04" |
| 8660 | } |
| 8661 | ], |
| 8662 | "source_info" : { |
| 8663 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8664 | "line" : 62, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8665 | "column" : 8, |
| 8666 | "source_fragment" : "hdr.report_ipv4.version = 4w4" |
| 8667 | } |
| 8668 | }, |
| 8669 | { |
| 8670 | "op" : "assign", |
| 8671 | "parameters" : [ |
| 8672 | { |
| 8673 | "type" : "field", |
| 8674 | "value" : ["report_ipv4", "ihl"] |
| 8675 | }, |
| 8676 | { |
| 8677 | "type" : "hexstr", |
| 8678 | "value" : "0x05" |
| 8679 | } |
| 8680 | ], |
| 8681 | "source_info" : { |
| 8682 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8683 | "line" : 63, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8684 | "column" : 8, |
| 8685 | "source_fragment" : "hdr.report_ipv4.ihl = 4w5" |
| 8686 | } |
| 8687 | }, |
| 8688 | { |
| 8689 | "op" : "assign", |
| 8690 | "parameters" : [ |
| 8691 | { |
| 8692 | "type" : "field", |
| 8693 | "value" : ["report_ipv4", "dscp"] |
| 8694 | }, |
| 8695 | { |
| 8696 | "type" : "hexstr", |
| 8697 | "value" : "0x00" |
| 8698 | } |
| 8699 | ], |
| 8700 | "source_info" : { |
| 8701 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8702 | "line" : 64, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8703 | "column" : 8, |
| 8704 | "source_fragment" : "hdr.report_ipv4.dscp = 6w0" |
| 8705 | } |
| 8706 | }, |
| 8707 | { |
| 8708 | "op" : "assign", |
| 8709 | "parameters" : [ |
| 8710 | { |
| 8711 | "type" : "field", |
| 8712 | "value" : ["report_ipv4", "ecn"] |
| 8713 | }, |
| 8714 | { |
| 8715 | "type" : "hexstr", |
| 8716 | "value" : "0x00" |
| 8717 | } |
| 8718 | ], |
| 8719 | "source_info" : { |
| 8720 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8721 | "line" : 65, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8722 | "column" : 8, |
| 8723 | "source_fragment" : "hdr.report_ipv4.ecn = 2w0" |
| 8724 | } |
| 8725 | }, |
| 8726 | { |
| 8727 | "op" : "assign", |
| 8728 | "parameters" : [ |
| 8729 | { |
| 8730 | "type" : "field", |
| 8731 | "value" : ["report_ipv4", "len"] |
| 8732 | }, |
| 8733 | { |
| 8734 | "type" : "expression", |
| 8735 | "value" : { |
| 8736 | "type" : "expression", |
| 8737 | "value" : { |
| 8738 | "op" : "&", |
| 8739 | "left" : { |
| 8740 | "type" : "expression", |
| 8741 | "value" : { |
| 8742 | "op" : "+", |
| 8743 | "left" : { |
| 8744 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8745 | "value" : "0x0056" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8746 | }, |
| 8747 | "right" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8748 | "type" : "expression", |
| 8749 | "value" : { |
| 8750 | "op" : "&", |
| 8751 | "left" : { |
| 8752 | "type" : "expression", |
| 8753 | "value" : { |
| 8754 | "op" : "<<", |
| 8755 | "left" : { |
| 8756 | "type" : "expression", |
| 8757 | "value" : { |
| 8758 | "op" : "&", |
| 8759 | "left" : { |
| 8760 | "type" : "field", |
| 8761 | "value" : ["intl4_shim", "len"] |
| 8762 | }, |
| 8763 | "right" : { |
| 8764 | "type" : "hexstr", |
| 8765 | "value" : "0xffff" |
| 8766 | } |
| 8767 | } |
| 8768 | }, |
| 8769 | "right" : { |
| 8770 | "type" : "hexstr", |
| 8771 | "value" : "0x2" |
| 8772 | } |
| 8773 | } |
| 8774 | }, |
| 8775 | "right" : { |
| 8776 | "type" : "hexstr", |
| 8777 | "value" : "0xffff" |
| 8778 | } |
| 8779 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8780 | } |
| 8781 | } |
| 8782 | }, |
| 8783 | "right" : { |
| 8784 | "type" : "hexstr", |
| 8785 | "value" : "0xffff" |
| 8786 | } |
| 8787 | } |
| 8788 | } |
| 8789 | } |
| 8790 | ], |
| 8791 | "source_info" : { |
| 8792 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8793 | "line" : 67, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8794 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8795 | "source_fragment" : "hdr.report_ipv4.len = (bit<16>) IPV4_MIN_HEAD_LEN + (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..." |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8796 | } |
| 8797 | }, |
| 8798 | { |
| 8799 | "op" : "assign", |
| 8800 | "parameters" : [ |
| 8801 | { |
| 8802 | "type" : "field", |
| 8803 | "value" : ["report_ipv4", "identification"] |
| 8804 | }, |
| 8805 | { |
| 8806 | "type" : "hexstr", |
| 8807 | "value" : "0x0000" |
| 8808 | } |
| 8809 | ], |
| 8810 | "source_info" : { |
| 8811 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8812 | "line" : 70, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8813 | "column" : 8, |
| 8814 | "source_fragment" : "hdr.report_ipv4.identification = 0" |
| 8815 | } |
| 8816 | }, |
| 8817 | { |
| 8818 | "op" : "assign", |
| 8819 | "parameters" : [ |
| 8820 | { |
| 8821 | "type" : "field", |
| 8822 | "value" : ["report_ipv4", "flags"] |
| 8823 | }, |
| 8824 | { |
| 8825 | "type" : "hexstr", |
| 8826 | "value" : "0x00" |
| 8827 | } |
| 8828 | ], |
| 8829 | "source_info" : { |
| 8830 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8831 | "line" : 71, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8832 | "column" : 8, |
| 8833 | "source_fragment" : "hdr.report_ipv4.flags = 0" |
| 8834 | } |
| 8835 | }, |
| 8836 | { |
| 8837 | "op" : "assign", |
| 8838 | "parameters" : [ |
| 8839 | { |
| 8840 | "type" : "field", |
| 8841 | "value" : ["report_ipv4", "frag_offset"] |
| 8842 | }, |
| 8843 | { |
| 8844 | "type" : "hexstr", |
| 8845 | "value" : "0x0000" |
| 8846 | } |
| 8847 | ], |
| 8848 | "source_info" : { |
| 8849 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8850 | "line" : 72, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8851 | "column" : 8, |
| 8852 | "source_fragment" : "hdr.report_ipv4.frag_offset = 0" |
| 8853 | } |
| 8854 | }, |
| 8855 | { |
| 8856 | "op" : "assign", |
| 8857 | "parameters" : [ |
| 8858 | { |
| 8859 | "type" : "field", |
| 8860 | "value" : ["report_ipv4", "ttl"] |
| 8861 | }, |
| 8862 | { |
| 8863 | "type" : "hexstr", |
| 8864 | "value" : "0x40" |
| 8865 | } |
| 8866 | ], |
| 8867 | "source_info" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8868 | "filename" : "include/int_definitions.p4", |
| 8869 | "line" : 37, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8870 | "column" : 30, |
| 8871 | "source_fragment" : "64; ..." |
| 8872 | } |
| 8873 | }, |
| 8874 | { |
| 8875 | "op" : "assign", |
| 8876 | "parameters" : [ |
| 8877 | { |
| 8878 | "type" : "field", |
| 8879 | "value" : ["report_ipv4", "protocol"] |
| 8880 | }, |
| 8881 | { |
| 8882 | "type" : "hexstr", |
| 8883 | "value" : "0x11" |
| 8884 | } |
| 8885 | ], |
| 8886 | "source_info" : { |
| 8887 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8888 | "line" : 74, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8889 | "column" : 8, |
| 8890 | "source_fragment" : "hdr.report_ipv4.protocol = 8w17" |
| 8891 | } |
| 8892 | }, |
| 8893 | { |
| 8894 | "op" : "assign", |
| 8895 | "parameters" : [ |
| 8896 | { |
| 8897 | "type" : "field", |
| 8898 | "value" : ["report_ipv4", "src_addr"] |
| 8899 | }, |
| 8900 | { |
| 8901 | "type" : "runtime_data", |
| 8902 | "value" : 2 |
| 8903 | } |
| 8904 | ], |
| 8905 | "source_info" : { |
| 8906 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8907 | "line" : 75, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8908 | "column" : 8, |
| 8909 | "source_fragment" : "hdr.report_ipv4.src_addr = src_ip" |
| 8910 | } |
| 8911 | }, |
| 8912 | { |
| 8913 | "op" : "assign", |
| 8914 | "parameters" : [ |
| 8915 | { |
| 8916 | "type" : "field", |
| 8917 | "value" : ["report_ipv4", "dst_addr"] |
| 8918 | }, |
| 8919 | { |
| 8920 | "type" : "runtime_data", |
| 8921 | "value" : 3 |
| 8922 | } |
| 8923 | ], |
| 8924 | "source_info" : { |
| 8925 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8926 | "line" : 76, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8927 | "column" : 8, |
| 8928 | "source_fragment" : "hdr.report_ipv4.dst_addr = mon_ip" |
| 8929 | } |
| 8930 | }, |
| 8931 | { |
| 8932 | "op" : "add_header", |
| 8933 | "parameters" : [ |
| 8934 | { |
| 8935 | "type" : "header", |
| 8936 | "value" : "report_udp" |
| 8937 | } |
| 8938 | ], |
| 8939 | "source_info" : { |
| 8940 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8941 | "line" : 79, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8942 | "column" : 8, |
| 8943 | "source_fragment" : "hdr.report_udp.setValid()" |
| 8944 | } |
| 8945 | }, |
| 8946 | { |
| 8947 | "op" : "assign", |
| 8948 | "parameters" : [ |
| 8949 | { |
| 8950 | "type" : "field", |
| 8951 | "value" : ["report_udp", "src_port"] |
| 8952 | }, |
| 8953 | { |
| 8954 | "type" : "hexstr", |
| 8955 | "value" : "0x0000" |
| 8956 | } |
| 8957 | ], |
| 8958 | "source_info" : { |
| 8959 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8960 | "line" : 80, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8961 | "column" : 8, |
| 8962 | "source_fragment" : "hdr.report_udp.src_port = 0" |
| 8963 | } |
| 8964 | }, |
| 8965 | { |
| 8966 | "op" : "assign", |
| 8967 | "parameters" : [ |
| 8968 | { |
| 8969 | "type" : "field", |
| 8970 | "value" : ["report_udp", "dst_port"] |
| 8971 | }, |
| 8972 | { |
| 8973 | "type" : "runtime_data", |
| 8974 | "value" : 4 |
| 8975 | } |
| 8976 | ], |
| 8977 | "source_info" : { |
| 8978 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 8979 | "line" : 81, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 8980 | "column" : 8, |
| 8981 | "source_fragment" : "hdr.report_udp.dst_port = mon_port" |
| 8982 | } |
| 8983 | }, |
| 8984 | { |
| 8985 | "op" : "assign", |
| 8986 | "parameters" : [ |
| 8987 | { |
| 8988 | "type" : "field", |
| 8989 | "value" : ["report_udp", "length_"] |
| 8990 | }, |
| 8991 | { |
| 8992 | "type" : "expression", |
| 8993 | "value" : { |
| 8994 | "type" : "expression", |
| 8995 | "value" : { |
| 8996 | "op" : "&", |
| 8997 | "left" : { |
| 8998 | "type" : "expression", |
| 8999 | "value" : { |
| 9000 | "op" : "+", |
| 9001 | "left" : { |
| 9002 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9003 | "value" : "0x0042" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9004 | }, |
| 9005 | "right" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9006 | "type" : "expression", |
| 9007 | "value" : { |
| 9008 | "op" : "&", |
| 9009 | "left" : { |
| 9010 | "type" : "expression", |
| 9011 | "value" : { |
| 9012 | "op" : "<<", |
| 9013 | "left" : { |
| 9014 | "type" : "expression", |
| 9015 | "value" : { |
| 9016 | "op" : "&", |
| 9017 | "left" : { |
| 9018 | "type" : "field", |
| 9019 | "value" : ["intl4_shim", "len"] |
| 9020 | }, |
| 9021 | "right" : { |
| 9022 | "type" : "hexstr", |
| 9023 | "value" : "0xffff" |
| 9024 | } |
| 9025 | } |
| 9026 | }, |
| 9027 | "right" : { |
| 9028 | "type" : "hexstr", |
| 9029 | "value" : "0x2" |
| 9030 | } |
| 9031 | } |
| 9032 | }, |
| 9033 | "right" : { |
| 9034 | "type" : "hexstr", |
| 9035 | "value" : "0xffff" |
| 9036 | } |
| 9037 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9038 | } |
| 9039 | } |
| 9040 | }, |
| 9041 | "right" : { |
| 9042 | "type" : "hexstr", |
| 9043 | "value" : "0xffff" |
| 9044 | } |
| 9045 | } |
| 9046 | } |
| 9047 | } |
| 9048 | ], |
| 9049 | "source_info" : { |
| 9050 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9051 | "line" : 82, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9052 | "column" : 8, |
| 9053 | "source_fragment" : "hdr.report_udp.length_ = (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..." |
| 9054 | } |
| 9055 | }, |
| 9056 | { |
| 9057 | "op" : "assign", |
| 9058 | "parameters" : [ |
| 9059 | { |
| 9060 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9061 | "value" : ["scalars", "local_metadata_t._compute_checksum11"] |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9062 | }, |
| 9063 | { |
| 9064 | "type" : "expression", |
| 9065 | "value" : { |
| 9066 | "type" : "expression", |
| 9067 | "value" : { |
| 9068 | "op" : "b2d", |
| 9069 | "left" : null, |
| 9070 | "right" : { |
| 9071 | "type" : "bool", |
| 9072 | "value" : true |
| 9073 | } |
| 9074 | } |
| 9075 | } |
| 9076 | } |
| 9077 | ], |
| 9078 | "source_info" : { |
| 9079 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9080 | "line" : 86, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9081 | "column" : 40, |
| 9082 | "source_fragment" : "= true; ..." |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9083 | } |
| 9084 | }, |
| 9085 | { |
| 9086 | "op" : "add_header", |
| 9087 | "parameters" : [ |
| 9088 | { |
| 9089 | "type" : "header", |
| 9090 | "value" : "report_fixed_header" |
| 9091 | } |
| 9092 | ], |
| 9093 | "source_info" : { |
| 9094 | "filename" : "include/int_report.p4", |
| 9095 | "line" : 32, |
| 9096 | "column" : 8, |
| 9097 | "source_fragment" : "hdr.report_fixed_header.setValid()" |
| 9098 | } |
| 9099 | }, |
| 9100 | { |
| 9101 | "op" : "assign", |
| 9102 | "parameters" : [ |
| 9103 | { |
| 9104 | "type" : "field", |
| 9105 | "value" : ["report_fixed_header", "ver"] |
| 9106 | }, |
| 9107 | { |
| 9108 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9109 | "value" : "0x01" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9110 | } |
| 9111 | ], |
| 9112 | "source_info" : { |
| 9113 | "filename" : "include/int_report.p4", |
| 9114 | "line" : 33, |
| 9115 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9116 | "source_fragment" : "hdr.report_fixed_header.ver = 1" |
| 9117 | } |
| 9118 | }, |
| 9119 | { |
| 9120 | "op" : "assign", |
| 9121 | "parameters" : [ |
| 9122 | { |
| 9123 | "type" : "field", |
| 9124 | "value" : ["report_fixed_header", "len"] |
| 9125 | }, |
| 9126 | { |
| 9127 | "type" : "hexstr", |
| 9128 | "value" : "0x04" |
| 9129 | } |
| 9130 | ], |
| 9131 | "source_info" : { |
| 9132 | "filename" : "include/int_report.p4", |
| 9133 | "line" : 34, |
| 9134 | "column" : 8, |
| 9135 | "source_fragment" : "hdr.report_fixed_header.len = 4" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9136 | } |
| 9137 | }, |
| 9138 | { |
| 9139 | "op" : "assign", |
| 9140 | "parameters" : [ |
| 9141 | { |
| 9142 | "type" : "field", |
| 9143 | "value" : ["report_fixed_header", "nproto"] |
| 9144 | }, |
| 9145 | { |
| 9146 | "type" : "hexstr", |
| 9147 | "value" : "0x00" |
| 9148 | } |
| 9149 | ], |
| 9150 | "source_info" : { |
| 9151 | "filename" : "include/telemetry_report_headers.p4", |
| 9152 | "line" : 21, |
| 9153 | "column" : 31, |
| 9154 | "source_fragment" : "0; ..." |
| 9155 | } |
| 9156 | }, |
| 9157 | { |
| 9158 | "op" : "assign", |
| 9159 | "parameters" : [ |
| 9160 | { |
| 9161 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9162 | "value" : ["report_fixed_header", "rep_md_bits"] |
| 9163 | }, |
| 9164 | { |
| 9165 | "type" : "hexstr", |
| 9166 | "value" : "0x00" |
| 9167 | } |
| 9168 | ], |
| 9169 | "source_info" : { |
| 9170 | "filename" : "include/int_report.p4", |
| 9171 | "line" : 37, |
| 9172 | "column" : 8, |
| 9173 | "source_fragment" : "hdr.report_fixed_header.rep_md_bits = 0" |
| 9174 | } |
| 9175 | }, |
| 9176 | { |
| 9177 | "op" : "assign", |
| 9178 | "parameters" : [ |
| 9179 | { |
| 9180 | "type" : "field", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9181 | "value" : ["report_fixed_header", "d"] |
| 9182 | }, |
| 9183 | { |
| 9184 | "type" : "hexstr", |
| 9185 | "value" : "0x00" |
| 9186 | } |
| 9187 | ], |
| 9188 | "source_info" : { |
| 9189 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9190 | "line" : 38, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9191 | "column" : 8, |
| 9192 | "source_fragment" : "hdr.report_fixed_header.d = 0" |
| 9193 | } |
| 9194 | }, |
| 9195 | { |
| 9196 | "op" : "assign", |
| 9197 | "parameters" : [ |
| 9198 | { |
| 9199 | "type" : "field", |
| 9200 | "value" : ["report_fixed_header", "q"] |
| 9201 | }, |
| 9202 | { |
| 9203 | "type" : "hexstr", |
| 9204 | "value" : "0x00" |
| 9205 | } |
| 9206 | ], |
| 9207 | "source_info" : { |
| 9208 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9209 | "line" : 39, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9210 | "column" : 8, |
| 9211 | "source_fragment" : "hdr.report_fixed_header.q = 0" |
| 9212 | } |
| 9213 | }, |
| 9214 | { |
| 9215 | "op" : "assign", |
| 9216 | "parameters" : [ |
| 9217 | { |
| 9218 | "type" : "field", |
| 9219 | "value" : ["report_fixed_header", "f"] |
| 9220 | }, |
| 9221 | { |
| 9222 | "type" : "hexstr", |
| 9223 | "value" : "0x01" |
| 9224 | } |
| 9225 | ], |
| 9226 | "source_info" : { |
| 9227 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9228 | "line" : 40, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9229 | "column" : 8, |
| 9230 | "source_fragment" : "hdr.report_fixed_header.f = 1" |
| 9231 | } |
| 9232 | }, |
| 9233 | { |
| 9234 | "op" : "assign", |
| 9235 | "parameters" : [ |
| 9236 | { |
| 9237 | "type" : "field", |
| 9238 | "value" : ["report_fixed_header", "rsvd"] |
| 9239 | }, |
| 9240 | { |
| 9241 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9242 | "value" : "0x00" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9243 | } |
| 9244 | ], |
| 9245 | "source_info" : { |
| 9246 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9247 | "line" : 41, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9248 | "column" : 8, |
| 9249 | "source_fragment" : "hdr.report_fixed_header.rsvd = 0" |
| 9250 | } |
| 9251 | }, |
| 9252 | { |
| 9253 | "op" : "assign", |
| 9254 | "parameters" : [ |
| 9255 | { |
| 9256 | "type" : "field", |
| 9257 | "value" : ["report_fixed_header", "hw_id"] |
| 9258 | }, |
| 9259 | { |
| 9260 | "type" : "hexstr", |
| 9261 | "value" : "0x01" |
| 9262 | } |
| 9263 | ], |
| 9264 | "source_info" : { |
| 9265 | "filename" : "include/int_definitions.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9266 | "line" : 36, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9267 | "column" : 21, |
| 9268 | "source_fragment" : "1; ..." |
| 9269 | } |
| 9270 | }, |
| 9271 | { |
| 9272 | "op" : "assign", |
| 9273 | "parameters" : [ |
| 9274 | { |
| 9275 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9276 | "value" : ["report_fixed_header", "sw_id"] |
| 9277 | }, |
| 9278 | { |
| 9279 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9280 | "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9281 | } |
| 9282 | ], |
| 9283 | "source_info" : { |
| 9284 | "filename" : "include/int_report.p4", |
| 9285 | "line" : 44, |
| 9286 | "column" : 8, |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9287 | "source_fragment" : "hdr.report_fixed_header.sw_id = local_metadata.int_meta.switch_id; ..." |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9288 | } |
| 9289 | }, |
| 9290 | { |
| 9291 | "op" : "assign", |
| 9292 | "parameters" : [ |
| 9293 | { |
| 9294 | "type" : "field", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9295 | "value" : ["report_fixed_header", "seq_no"] |
| 9296 | }, |
| 9297 | { |
| 9298 | "type" : "hexstr", |
| 9299 | "value" : "0x00000000" |
| 9300 | } |
| 9301 | ], |
| 9302 | "source_info" : { |
| 9303 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9304 | "line" : 46, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9305 | "column" : 8, |
| 9306 | "source_fragment" : "hdr.report_fixed_header.seq_no = 0" |
| 9307 | } |
| 9308 | }, |
| 9309 | { |
| 9310 | "op" : "assign", |
| 9311 | "parameters" : [ |
| 9312 | { |
| 9313 | "type" : "field", |
| 9314 | "value" : ["report_fixed_header", "ingress_tstamp"] |
| 9315 | }, |
| 9316 | { |
| 9317 | "type" : "field", |
| 9318 | "value" : ["standard_metadata", "enq_timestamp"] |
| 9319 | } |
| 9320 | ], |
| 9321 | "source_info" : { |
| 9322 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9323 | "line" : 48, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9324 | "column" : 8, |
| 9325 | "source_fragment" : "hdr.report_fixed_header.ingress_tstamp = (bit<32>) standard_metadata.enq_timestamp" |
| 9326 | } |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9327 | }, |
| 9328 | { |
| 9329 | "op" : "assign", |
| 9330 | "parameters" : [ |
| 9331 | { |
| 9332 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9333 | "value" : ["scalars", "tmp_1"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9334 | }, |
| 9335 | { |
| 9336 | "type" : "expression", |
| 9337 | "value" : { |
| 9338 | "type" : "expression", |
| 9339 | "value" : { |
| 9340 | "op" : "&", |
| 9341 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9342 | "type" : "expression", |
| 9343 | "value" : { |
| 9344 | "op" : "+", |
| 9345 | "left" : { |
| 9346 | "type" : "expression", |
| 9347 | "value" : { |
| 9348 | "op" : "&", |
| 9349 | "left" : { |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9350 | "type" : "expression", |
| 9351 | "value" : { |
| 9352 | "op" : "&", |
| 9353 | "left" : { |
| 9354 | "type" : "expression", |
| 9355 | "value" : { |
| 9356 | "op" : "+", |
| 9357 | "left" : { |
| 9358 | "type" : "hexstr", |
| 9359 | "value" : "0x0056" |
| 9360 | }, |
| 9361 | "right" : { |
| 9362 | "type" : "expression", |
| 9363 | "value" : { |
| 9364 | "op" : "&", |
| 9365 | "left" : { |
| 9366 | "type" : "expression", |
| 9367 | "value" : { |
| 9368 | "op" : "<<", |
| 9369 | "left" : { |
| 9370 | "type" : "expression", |
| 9371 | "value" : { |
| 9372 | "op" : "&", |
| 9373 | "left" : { |
| 9374 | "type" : "field", |
| 9375 | "value" : ["intl4_shim", "len"] |
| 9376 | }, |
| 9377 | "right" : { |
| 9378 | "type" : "hexstr", |
| 9379 | "value" : "0xffff" |
| 9380 | } |
| 9381 | } |
| 9382 | }, |
| 9383 | "right" : { |
| 9384 | "type" : "hexstr", |
| 9385 | "value" : "0x2" |
| 9386 | } |
| 9387 | } |
| 9388 | }, |
| 9389 | "right" : { |
| 9390 | "type" : "hexstr", |
| 9391 | "value" : "0xffff" |
| 9392 | } |
| 9393 | } |
| 9394 | } |
| 9395 | } |
| 9396 | }, |
| 9397 | "right" : { |
| 9398 | "type" : "hexstr", |
| 9399 | "value" : "0xffff" |
| 9400 | } |
| 9401 | } |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9402 | }, |
| 9403 | "right" : { |
| 9404 | "type" : "hexstr", |
| 9405 | "value" : "0xffffffff" |
| 9406 | } |
| 9407 | } |
| 9408 | }, |
| 9409 | "right" : { |
| 9410 | "type" : "hexstr", |
| 9411 | "value" : "0x0000000e" |
| 9412 | } |
| 9413 | } |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9414 | }, |
| 9415 | "right" : { |
| 9416 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9417 | "value" : "0xffffffff" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9418 | } |
| 9419 | } |
| 9420 | } |
| 9421 | } |
| 9422 | ], |
| 9423 | "source_info" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9424 | "filename" : "include/int_report.p4", |
| 9425 | "line" : 89, |
| 9426 | "column" : 17, |
| 9427 | "source_fragment" : "(bit<32>)hdr.report_ipv4.len + (bit<32>) ETH_HEADER_LEN" |
| 9428 | } |
| 9429 | }, |
| 9430 | { |
| 9431 | "op" : "truncate", |
| 9432 | "parameters" : [ |
| 9433 | { |
| 9434 | "type" : "field", |
| 9435 | "value" : ["scalars", "tmp_1"] |
| 9436 | } |
| 9437 | ], |
| 9438 | "source_info" : { |
| 9439 | "filename" : "include/int_report.p4", |
| 9440 | "line" : 89, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9441 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9442 | "source_fragment" : "truncate((bit<32>)hdr.report_ipv4.len + (bit<32>) ETH_HEADER_LEN)" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9443 | } |
| 9444 | } |
| 9445 | ] |
| 9446 | }, |
| 9447 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9448 | "name" : "egress.process_int_sink.restore_header", |
| 9449 | "id" : 51, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9450 | "runtime_data" : [], |
| 9451 | "primitives" : [ |
| 9452 | { |
| 9453 | "op" : "assign", |
| 9454 | "parameters" : [ |
| 9455 | { |
| 9456 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9457 | "value" : ["ipv4", "dscp"] |
| 9458 | }, |
| 9459 | { |
| 9460 | "type" : "field", |
| 9461 | "value" : ["intl4_shim", "dscp"] |
| 9462 | } |
| 9463 | ], |
| 9464 | "source_info" : { |
| 9465 | "filename" : "include/int_sink.p4", |
| 9466 | "line" : 27, |
| 9467 | "column" : 8, |
| 9468 | "source_fragment" : "hdr.ipv4.dscp = hdr.intl4_shim.dscp" |
| 9469 | } |
| 9470 | }, |
| 9471 | { |
| 9472 | "op" : "assign", |
| 9473 | "parameters" : [ |
| 9474 | { |
| 9475 | "type" : "field", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9476 | "value" : ["ipv4", "len"] |
| 9477 | }, |
| 9478 | { |
| 9479 | "type" : "expression", |
| 9480 | "value" : { |
| 9481 | "type" : "expression", |
| 9482 | "value" : { |
| 9483 | "op" : "&", |
| 9484 | "left" : { |
| 9485 | "type" : "expression", |
| 9486 | "value" : { |
| 9487 | "op" : "-", |
| 9488 | "left" : { |
| 9489 | "type" : "field", |
| 9490 | "value" : ["ipv4", "len"] |
| 9491 | }, |
| 9492 | "right" : { |
| 9493 | "type" : "expression", |
| 9494 | "value" : { |
| 9495 | "op" : "&", |
| 9496 | "left" : { |
| 9497 | "type" : "expression", |
| 9498 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9499 | "op" : "<<", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9500 | "left" : { |
| 9501 | "type" : "expression", |
| 9502 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9503 | "op" : "&", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9504 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9505 | "type" : "field", |
| 9506 | "value" : ["intl4_shim", "len"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9507 | }, |
| 9508 | "right" : { |
| 9509 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9510 | "value" : "0xffff" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9511 | } |
| 9512 | } |
| 9513 | }, |
| 9514 | "right" : { |
| 9515 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9516 | "value" : "0x2" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9517 | } |
| 9518 | } |
| 9519 | }, |
| 9520 | "right" : { |
| 9521 | "type" : "hexstr", |
| 9522 | "value" : "0xffff" |
| 9523 | } |
| 9524 | } |
| 9525 | } |
| 9526 | } |
| 9527 | }, |
| 9528 | "right" : { |
| 9529 | "type" : "hexstr", |
| 9530 | "value" : "0xffff" |
| 9531 | } |
| 9532 | } |
| 9533 | } |
| 9534 | } |
| 9535 | ], |
| 9536 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9537 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9538 | "line" : 30, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9539 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9540 | "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len - len_bytes" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9541 | } |
| 9542 | }, |
| 9543 | { |
| 9544 | "op" : "assign", |
| 9545 | "parameters" : [ |
| 9546 | { |
| 9547 | "type" : "field", |
| 9548 | "value" : ["udp", "length_"] |
| 9549 | }, |
| 9550 | { |
| 9551 | "type" : "expression", |
| 9552 | "value" : { |
| 9553 | "type" : "expression", |
| 9554 | "value" : { |
| 9555 | "op" : "&", |
| 9556 | "left" : { |
| 9557 | "type" : "expression", |
| 9558 | "value" : { |
| 9559 | "op" : "-", |
| 9560 | "left" : { |
| 9561 | "type" : "field", |
| 9562 | "value" : ["udp", "length_"] |
| 9563 | }, |
| 9564 | "right" : { |
| 9565 | "type" : "expression", |
| 9566 | "value" : { |
| 9567 | "op" : "&", |
| 9568 | "left" : { |
| 9569 | "type" : "expression", |
| 9570 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9571 | "op" : "<<", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9572 | "left" : { |
| 9573 | "type" : "expression", |
| 9574 | "value" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9575 | "op" : "&", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9576 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9577 | "type" : "field", |
| 9578 | "value" : ["intl4_shim", "len"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9579 | }, |
| 9580 | "right" : { |
| 9581 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9582 | "value" : "0xffff" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9583 | } |
| 9584 | } |
| 9585 | }, |
| 9586 | "right" : { |
| 9587 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9588 | "value" : "0x2" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9589 | } |
| 9590 | } |
| 9591 | }, |
| 9592 | "right" : { |
| 9593 | "type" : "hexstr", |
| 9594 | "value" : "0xffff" |
| 9595 | } |
| 9596 | } |
| 9597 | } |
| 9598 | } |
| 9599 | }, |
| 9600 | "right" : { |
| 9601 | "type" : "hexstr", |
| 9602 | "value" : "0xffff" |
| 9603 | } |
| 9604 | } |
| 9605 | } |
| 9606 | } |
| 9607 | ], |
| 9608 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9609 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9610 | "line" : 31, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9611 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9612 | "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ - len_bytes" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9613 | } |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9614 | } |
| 9615 | ] |
| 9616 | }, |
| 9617 | { |
| 9618 | "name" : "egress.process_int_sink.int_sink", |
| 9619 | "id" : 52, |
| 9620 | "runtime_data" : [], |
| 9621 | "primitives" : [ |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9622 | { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9623 | "op" : "remove_header", |
| 9624 | "parameters" : [ |
| 9625 | { |
| 9626 | "type" : "header", |
| 9627 | "value" : "int_header" |
| 9628 | } |
| 9629 | ], |
| 9630 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9631 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9632 | "line" : 37, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9633 | "column" : 8, |
| 9634 | "source_fragment" : "hdr.int_header.setInvalid()" |
| 9635 | } |
| 9636 | }, |
| 9637 | { |
| 9638 | "op" : "remove_header", |
| 9639 | "parameters" : [ |
| 9640 | { |
| 9641 | "type" : "header", |
| 9642 | "value" : "int_data" |
| 9643 | } |
| 9644 | ], |
| 9645 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9646 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9647 | "line" : 38, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9648 | "column" : 8, |
| 9649 | "source_fragment" : "hdr.int_data.setInvalid()" |
| 9650 | } |
| 9651 | }, |
| 9652 | { |
| 9653 | "op" : "remove_header", |
| 9654 | "parameters" : [ |
| 9655 | { |
| 9656 | "type" : "header", |
| 9657 | "value" : "intl4_shim" |
| 9658 | } |
| 9659 | ], |
| 9660 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9661 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9662 | "line" : 39, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9663 | "column" : 8, |
| 9664 | "source_fragment" : "hdr.intl4_shim.setInvalid()" |
| 9665 | } |
| 9666 | }, |
| 9667 | { |
| 9668 | "op" : "remove_header", |
| 9669 | "parameters" : [ |
| 9670 | { |
| 9671 | "type" : "header", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9672 | "value" : "int_switch_id" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9673 | } |
| 9674 | ], |
| 9675 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9676 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9677 | "line" : 40, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9678 | "column" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9679 | "source_fragment" : "hdr.int_switch_id.setInvalid()" |
| 9680 | } |
| 9681 | }, |
| 9682 | { |
| 9683 | "op" : "remove_header", |
| 9684 | "parameters" : [ |
| 9685 | { |
| 9686 | "type" : "header", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9687 | "value" : "int_level1_port_ids" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9688 | } |
| 9689 | ], |
| 9690 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9691 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9692 | "line" : 41, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9693 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9694 | "source_fragment" : "hdr.int_level1_port_ids.setInvalid()" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9695 | } |
| 9696 | }, |
| 9697 | { |
| 9698 | "op" : "remove_header", |
| 9699 | "parameters" : [ |
| 9700 | { |
| 9701 | "type" : "header", |
| 9702 | "value" : "int_hop_latency" |
| 9703 | } |
| 9704 | ], |
| 9705 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9706 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9707 | "line" : 42, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9708 | "column" : 8, |
| 9709 | "source_fragment" : "hdr.int_hop_latency.setInvalid()" |
| 9710 | } |
| 9711 | }, |
| 9712 | { |
| 9713 | "op" : "remove_header", |
| 9714 | "parameters" : [ |
| 9715 | { |
| 9716 | "type" : "header", |
| 9717 | "value" : "int_q_occupancy" |
| 9718 | } |
| 9719 | ], |
| 9720 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9721 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9722 | "line" : 43, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9723 | "column" : 8, |
| 9724 | "source_fragment" : "hdr.int_q_occupancy.setInvalid()" |
| 9725 | } |
| 9726 | }, |
| 9727 | { |
| 9728 | "op" : "remove_header", |
| 9729 | "parameters" : [ |
| 9730 | { |
| 9731 | "type" : "header", |
| 9732 | "value" : "int_ingress_tstamp" |
| 9733 | } |
| 9734 | ], |
| 9735 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9736 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9737 | "line" : 44, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9738 | "column" : 8, |
| 9739 | "source_fragment" : "hdr.int_ingress_tstamp.setInvalid()" |
| 9740 | } |
| 9741 | }, |
| 9742 | { |
| 9743 | "op" : "remove_header", |
| 9744 | "parameters" : [ |
| 9745 | { |
| 9746 | "type" : "header", |
| 9747 | "value" : "int_egress_tstamp" |
| 9748 | } |
| 9749 | ], |
| 9750 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9751 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9752 | "line" : 45, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9753 | "column" : 8, |
| 9754 | "source_fragment" : "hdr.int_egress_tstamp.setInvalid()" |
| 9755 | } |
| 9756 | }, |
| 9757 | { |
| 9758 | "op" : "remove_header", |
| 9759 | "parameters" : [ |
| 9760 | { |
| 9761 | "type" : "header", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9762 | "value" : "int_level2_port_ids" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9763 | } |
| 9764 | ], |
| 9765 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9766 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9767 | "line" : 46, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9768 | "column" : 8, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9769 | "source_fragment" : "hdr.int_level2_port_ids.setInvalid()" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9770 | } |
| 9771 | }, |
| 9772 | { |
| 9773 | "op" : "remove_header", |
| 9774 | "parameters" : [ |
| 9775 | { |
| 9776 | "type" : "header", |
| 9777 | "value" : "int_egress_tx_util" |
| 9778 | } |
| 9779 | ], |
| 9780 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 9781 | "filename" : "include/int_sink.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9782 | "line" : 47, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 9783 | "column" : 8, |
| 9784 | "source_fragment" : "hdr.int_egress_tx_util.setInvalid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 9785 | } |
| 9786 | } |
| 9787 | ] |
| 9788 | }, |
| 9789 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 9790 | "name" : "act_2", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9791 | "id" : 53, |
| 9792 | "runtime_data" : [], |
| 9793 | "primitives" : [ |
| 9794 | { |
| 9795 | "op" : "assign", |
| 9796 | "parameters" : [ |
| 9797 | { |
| 9798 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9799 | "value" : ["scalars", "process_int_transit_hasReturned"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9800 | }, |
| 9801 | { |
| 9802 | "type" : "expression", |
| 9803 | "value" : { |
| 9804 | "type" : "expression", |
| 9805 | "value" : { |
| 9806 | "op" : "b2d", |
| 9807 | "left" : null, |
| 9808 | "right" : { |
| 9809 | "type" : "bool", |
| 9810 | "value" : false |
| 9811 | } |
| 9812 | } |
| 9813 | } |
| 9814 | } |
| 9815 | ] |
| 9816 | } |
| 9817 | ] |
| 9818 | }, |
| 9819 | { |
| 9820 | "name" : "act_3", |
| 9821 | "id" : 54, |
| 9822 | "runtime_data" : [], |
| 9823 | "primitives" : [ |
| 9824 | { |
| 9825 | "op" : "assign", |
| 9826 | "parameters" : [ |
| 9827 | { |
| 9828 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9829 | "value" : ["scalars", "process_int_transit_hasReturned"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9830 | }, |
| 9831 | { |
| 9832 | "type" : "expression", |
| 9833 | "value" : { |
| 9834 | "type" : "expression", |
| 9835 | "value" : { |
| 9836 | "op" : "b2d", |
| 9837 | "left" : null, |
| 9838 | "right" : { |
| 9839 | "type" : "bool", |
| 9840 | "value" : true |
| 9841 | } |
| 9842 | } |
| 9843 | } |
| 9844 | } |
| 9845 | ], |
| 9846 | "source_info" : { |
| 9847 | "filename" : "include/int_transit.p4", |
| 9848 | "line" : 416, |
| 9849 | "column" : 12, |
| 9850 | "source_fragment" : "return" |
| 9851 | } |
| 9852 | } |
| 9853 | ] |
| 9854 | }, |
| 9855 | { |
| 9856 | "name" : "act_4", |
| 9857 | "id" : 55, |
| 9858 | "runtime_data" : [], |
| 9859 | "primitives" : [ |
| 9860 | { |
| 9861 | "op" : "assign", |
| 9862 | "parameters" : [ |
| 9863 | { |
| 9864 | "type" : "field", |
| 9865 | "value" : ["ipv4", "len"] |
| 9866 | }, |
| 9867 | { |
| 9868 | "type" : "expression", |
| 9869 | "value" : { |
| 9870 | "type" : "expression", |
| 9871 | "value" : { |
| 9872 | "op" : "&", |
| 9873 | "left" : { |
| 9874 | "type" : "expression", |
| 9875 | "value" : { |
| 9876 | "op" : "+", |
| 9877 | "left" : { |
| 9878 | "type" : "field", |
| 9879 | "value" : ["ipv4", "len"] |
| 9880 | }, |
| 9881 | "right" : { |
| 9882 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9883 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9884 | } |
| 9885 | } |
| 9886 | }, |
| 9887 | "right" : { |
| 9888 | "type" : "hexstr", |
| 9889 | "value" : "0xffff" |
| 9890 | } |
| 9891 | } |
| 9892 | } |
| 9893 | } |
| 9894 | ], |
| 9895 | "source_info" : { |
| 9896 | "filename" : "include/int_transit.p4", |
| 9897 | "line" : 426, |
| 9898 | "column" : 12, |
| 9899 | "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + local_metadata.int_meta.new_bytes" |
| 9900 | } |
| 9901 | } |
| 9902 | ] |
| 9903 | }, |
| 9904 | { |
| 9905 | "name" : "act_5", |
| 9906 | "id" : 56, |
| 9907 | "runtime_data" : [], |
| 9908 | "primitives" : [ |
| 9909 | { |
| 9910 | "op" : "assign", |
| 9911 | "parameters" : [ |
| 9912 | { |
| 9913 | "type" : "field", |
| 9914 | "value" : ["int_header", "remaining_hop_cnt"] |
| 9915 | }, |
| 9916 | { |
| 9917 | "type" : "expression", |
| 9918 | "value" : { |
| 9919 | "type" : "expression", |
| 9920 | "value" : { |
| 9921 | "op" : "&", |
| 9922 | "left" : { |
| 9923 | "type" : "expression", |
| 9924 | "value" : { |
| 9925 | "op" : "+", |
| 9926 | "left" : { |
| 9927 | "type" : "field", |
| 9928 | "value" : ["int_header", "remaining_hop_cnt"] |
| 9929 | }, |
| 9930 | "right" : { |
| 9931 | "type" : "hexstr", |
| 9932 | "value" : "0xff" |
| 9933 | } |
| 9934 | } |
| 9935 | }, |
| 9936 | "right" : { |
| 9937 | "type" : "hexstr", |
| 9938 | "value" : "0xff" |
| 9939 | } |
| 9940 | } |
| 9941 | } |
| 9942 | } |
| 9943 | ], |
| 9944 | "source_info" : { |
| 9945 | "filename" : "include/int_transit.p4", |
| 9946 | "line" : 422, |
| 9947 | "column" : 8, |
| 9948 | "source_fragment" : "hdr.int_header.remaining_hop_cnt = hdr.int_header.remaining_hop_cnt - 1" |
| 9949 | } |
| 9950 | } |
| 9951 | ] |
| 9952 | }, |
| 9953 | { |
| 9954 | "name" : "act_6", |
| 9955 | "id" : 57, |
| 9956 | "runtime_data" : [], |
| 9957 | "primitives" : [ |
| 9958 | { |
| 9959 | "op" : "assign", |
| 9960 | "parameters" : [ |
| 9961 | { |
| 9962 | "type" : "field", |
| 9963 | "value" : ["udp", "length_"] |
| 9964 | }, |
| 9965 | { |
| 9966 | "type" : "expression", |
| 9967 | "value" : { |
| 9968 | "type" : "expression", |
| 9969 | "value" : { |
| 9970 | "op" : "&", |
| 9971 | "left" : { |
| 9972 | "type" : "expression", |
| 9973 | "value" : { |
| 9974 | "op" : "+", |
| 9975 | "left" : { |
| 9976 | "type" : "field", |
| 9977 | "value" : ["udp", "length_"] |
| 9978 | }, |
| 9979 | "right" : { |
| 9980 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 9981 | "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 9982 | } |
| 9983 | } |
| 9984 | }, |
| 9985 | "right" : { |
| 9986 | "type" : "hexstr", |
| 9987 | "value" : "0xffff" |
| 9988 | } |
| 9989 | } |
| 9990 | } |
| 9991 | } |
| 9992 | ], |
| 9993 | "source_info" : { |
| 9994 | "filename" : "include/int_transit.p4", |
| 9995 | "line" : 429, |
| 9996 | "column" : 12, |
| 9997 | "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + local_metadata.int_meta.new_bytes" |
| 9998 | } |
| 9999 | } |
| 10000 | ] |
| 10001 | }, |
| 10002 | { |
| 10003 | "name" : "act_7", |
| 10004 | "id" : 58, |
| 10005 | "runtime_data" : [], |
| 10006 | "primitives" : [ |
| 10007 | { |
| 10008 | "op" : "assign", |
| 10009 | "parameters" : [ |
| 10010 | { |
| 10011 | "type" : "field", |
| 10012 | "value" : ["intl4_shim", "len"] |
| 10013 | }, |
| 10014 | { |
| 10015 | "type" : "expression", |
| 10016 | "value" : { |
| 10017 | "type" : "expression", |
| 10018 | "value" : { |
| 10019 | "op" : "&", |
| 10020 | "left" : { |
| 10021 | "type" : "expression", |
| 10022 | "value" : { |
| 10023 | "op" : "+", |
| 10024 | "left" : { |
| 10025 | "type" : "field", |
| 10026 | "value" : ["intl4_shim", "len"] |
| 10027 | }, |
| 10028 | "right" : { |
| 10029 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10030 | "value" : ["scalars", "local_metadata_t._int_meta_new_words6"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10031 | } |
| 10032 | } |
| 10033 | }, |
| 10034 | "right" : { |
| 10035 | "type" : "hexstr", |
| 10036 | "value" : "0xff" |
| 10037 | } |
| 10038 | } |
| 10039 | } |
| 10040 | } |
| 10041 | ], |
| 10042 | "source_info" : { |
| 10043 | "filename" : "include/int_transit.p4", |
| 10044 | "line" : 432, |
| 10045 | "column" : 12, |
| 10046 | "source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + local_metadata.int_meta.new_words" |
| 10047 | } |
| 10048 | } |
| 10049 | ] |
| 10050 | }, |
| 10051 | { |
| 10052 | "name" : "act_8", |
| 10053 | "id" : 59, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10054 | "runtime_data" : [], |
| 10055 | "primitives" : [ |
| 10056 | { |
| 10057 | "op" : "add_header", |
| 10058 | "parameters" : [ |
| 10059 | { |
| 10060 | "type" : "header", |
| 10061 | "value" : "packet_in" |
| 10062 | } |
| 10063 | ], |
| 10064 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10065 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10066 | "line" : 38, |
| 10067 | "column" : 12, |
| 10068 | "source_fragment" : "hdr.packet_in.setValid()" |
| 10069 | } |
| 10070 | }, |
| 10071 | { |
| 10072 | "op" : "assign", |
| 10073 | "parameters" : [ |
| 10074 | { |
| 10075 | "type" : "field", |
| 10076 | "value" : ["packet_in", "ingress_port"] |
| 10077 | }, |
| 10078 | { |
| 10079 | "type" : "field", |
| 10080 | "value" : ["standard_metadata", "ingress_port"] |
| 10081 | } |
| 10082 | ], |
| 10083 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10084 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10085 | "line" : 39, |
| 10086 | "column" : 12, |
| 10087 | "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port" |
| 10088 | } |
| 10089 | } |
| 10090 | ] |
| 10091 | }, |
| 10092 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10093 | "name" : "act_9", |
| 10094 | "id" : 60, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10095 | "runtime_data" : [], |
| 10096 | "primitives" : [ |
| 10097 | { |
| 10098 | "op" : "assign", |
| 10099 | "parameters" : [ |
| 10100 | { |
| 10101 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10102 | "value" : ["scalars", "tmp_2"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10103 | }, |
| 10104 | { |
| 10105 | "type" : "expression", |
| 10106 | "value" : { |
| 10107 | "type" : "expression", |
| 10108 | "value" : { |
| 10109 | "op" : "&", |
| 10110 | "left" : { |
| 10111 | "type" : "field", |
| 10112 | "value" : ["standard_metadata", "egress_port"] |
| 10113 | }, |
| 10114 | "right" : { |
| 10115 | "type" : "hexstr", |
| 10116 | "value" : "0xffffffff" |
| 10117 | } |
| 10118 | } |
| 10119 | } |
| 10120 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 10121 | ], |
| 10122 | "source_info" : { |
| 10123 | "filename" : "include/port_counters.p4", |
| 10124 | "line" : 39, |
| 10125 | "column" : 34, |
| 10126 | "source_fragment" : "(bit<32>) standard_metadata.egress_port" |
| 10127 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10128 | }, |
| 10129 | { |
| 10130 | "op" : "count", |
| 10131 | "parameters" : [ |
| 10132 | { |
| 10133 | "type" : "counter_array", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10134 | "value" : "egress.port_counters_egress.egress_port_counter" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10135 | }, |
| 10136 | { |
| 10137 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10138 | "value" : ["scalars", "tmp_2"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10139 | } |
| 10140 | ], |
| 10141 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10142 | "filename" : "include/port_counters.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10143 | "line" : 39, |
| 10144 | "column" : 8, |
| 10145 | "source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)" |
| 10146 | } |
| 10147 | } |
| 10148 | ] |
| 10149 | } |
| 10150 | ], |
| 10151 | "pipelines" : [ |
| 10152 | { |
| 10153 | "name" : "ingress", |
| 10154 | "id" : 0, |
| 10155 | "source_info" : { |
| 10156 | "filename" : "int.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10157 | "line" : 37, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10158 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10159 | "source_fragment" : "ingress" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10160 | }, |
| 10161 | "init_table" : "tbl_act", |
| 10162 | "tables" : [ |
| 10163 | { |
| 10164 | "name" : "tbl_act", |
| 10165 | "id" : 0, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10166 | "source_info" : { |
| 10167 | "filename" : "include/port_counters.p4", |
| 10168 | "line" : 29, |
| 10169 | "column" : 8, |
| 10170 | "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)" |
| 10171 | }, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10172 | "key" : [], |
| 10173 | "match_type" : "exact", |
| 10174 | "type" : "simple", |
| 10175 | "max_size" : 1024, |
| 10176 | "with_counters" : false, |
| 10177 | "support_timeout" : false, |
| 10178 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10179 | "action_ids" : [11], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10180 | "actions" : ["act_0"], |
| 10181 | "base_default_next" : "node_3", |
| 10182 | "next_tables" : { |
| 10183 | "act_0" : "node_3" |
| 10184 | }, |
| 10185 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10186 | "action_id" : 11, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10187 | "action_const" : true, |
| 10188 | "action_data" : [], |
| 10189 | "action_entry_const" : true |
| 10190 | } |
| 10191 | }, |
| 10192 | { |
| 10193 | "name" : "tbl_act_0", |
| 10194 | "id" : 1, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10195 | "source_info" : { |
| 10196 | "filename" : "include/packet_io.p4", |
| 10197 | "line" : 27, |
| 10198 | "column" : 42, |
| 10199 | "source_fragment" : "= hdr.packet_out.egress_port; ..." |
| 10200 | }, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10201 | "key" : [], |
| 10202 | "match_type" : "exact", |
| 10203 | "type" : "simple", |
| 10204 | "max_size" : 1024, |
| 10205 | "with_counters" : false, |
| 10206 | "support_timeout" : false, |
| 10207 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10208 | "action_ids" : [10], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10209 | "actions" : ["act"], |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10210 | "base_default_next" : "ingress.table0_control.table0", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10211 | "next_tables" : { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10212 | "act" : "ingress.table0_control.table0" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10213 | }, |
| 10214 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10215 | "action_id" : 10, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10216 | "action_const" : true, |
| 10217 | "action_data" : [], |
| 10218 | "action_entry_const" : true |
| 10219 | } |
| 10220 | }, |
| 10221 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10222 | "name" : "ingress.table0_control.table0", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10223 | "id" : 2, |
| 10224 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10225 | "filename" : "include/table0.p4", |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10226 | "line" : 45, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10227 | "column" : 10, |
| 10228 | "source_fragment" : "table0" |
| 10229 | }, |
| 10230 | "key" : [ |
| 10231 | { |
| 10232 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10233 | "name" : "standard_metadata.ingress_port", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10234 | "target" : ["standard_metadata", "ingress_port"], |
| 10235 | "mask" : null |
| 10236 | }, |
| 10237 | { |
| 10238 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10239 | "name" : "hdr.ethernet.src_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10240 | "target" : ["ethernet", "src_addr"], |
| 10241 | "mask" : null |
| 10242 | }, |
| 10243 | { |
| 10244 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10245 | "name" : "hdr.ethernet.dst_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10246 | "target" : ["ethernet", "dst_addr"], |
| 10247 | "mask" : null |
| 10248 | }, |
| 10249 | { |
| 10250 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10251 | "name" : "hdr.ethernet.ether_type", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10252 | "target" : ["ethernet", "ether_type"], |
| 10253 | "mask" : null |
| 10254 | }, |
| 10255 | { |
| 10256 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10257 | "name" : "hdr.ipv4.src_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10258 | "target" : ["ipv4", "src_addr"], |
| 10259 | "mask" : null |
| 10260 | }, |
| 10261 | { |
| 10262 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10263 | "name" : "hdr.ipv4.dst_addr", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10264 | "target" : ["ipv4", "dst_addr"], |
| 10265 | "mask" : null |
| 10266 | }, |
| 10267 | { |
| 10268 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10269 | "name" : "hdr.ipv4.protocol", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10270 | "target" : ["ipv4", "protocol"], |
| 10271 | "mask" : null |
| 10272 | }, |
| 10273 | { |
| 10274 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10275 | "name" : "local_metadata.l4_src_port", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10276 | "target" : ["scalars", "local_metadata_t._l4_src_port0"], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10277 | "mask" : null |
| 10278 | }, |
| 10279 | { |
| 10280 | "match_type" : "ternary", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10281 | "name" : "local_metadata.l4_dst_port", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10282 | "target" : ["scalars", "local_metadata_t._l4_dst_port1"], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10283 | "mask" : null |
| 10284 | } |
| 10285 | ], |
| 10286 | "match_type" : "ternary", |
| 10287 | "type" : "simple", |
| 10288 | "max_size" : 1024, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10289 | "with_counters" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10290 | "support_timeout" : false, |
| 10291 | "direct_meters" : null, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10292 | "action_ids" : [5, 4, 3, 6], |
| 10293 | "actions" : ["ingress.table0_control.set_egress_port", "ingress.table0_control.send_to_cpu", "ingress.table0_control.set_next_hop_id", "ingress.table0_control.drop"], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10294 | "base_default_next" : "ingress.process_int_source_sink.tb_set_source", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10295 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10296 | "ingress.table0_control.set_egress_port" : "ingress.process_int_source_sink.tb_set_source", |
| 10297 | "ingress.table0_control.send_to_cpu" : "ingress.process_int_source_sink.tb_set_source", |
| 10298 | "ingress.table0_control.set_next_hop_id" : "ingress.process_int_source_sink.tb_set_source", |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10299 | "ingress.table0_control.drop" : "ingress.process_int_source_sink.tb_set_source" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10300 | }, |
| 10301 | "default_entry" : { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10302 | "action_id" : 6, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10303 | "action_const" : true, |
| 10304 | "action_data" : [], |
| 10305 | "action_entry_const" : true |
| 10306 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10307 | }, |
| 10308 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10309 | "name" : "ingress.process_int_source_sink.tb_set_source", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10310 | "id" : 3, |
| 10311 | "source_info" : { |
| 10312 | "filename" : "include/int_source.p4", |
| 10313 | "line" : 101, |
| 10314 | "column" : 10, |
| 10315 | "source_fragment" : "tb_set_source" |
| 10316 | }, |
| 10317 | "key" : [ |
| 10318 | { |
| 10319 | "match_type" : "exact", |
| 10320 | "name" : "standard_metadata.ingress_port", |
| 10321 | "target" : ["standard_metadata", "ingress_port"], |
| 10322 | "mask" : null |
| 10323 | } |
| 10324 | ], |
| 10325 | "match_type" : "exact", |
| 10326 | "type" : "simple", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10327 | "max_size" : 511, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10328 | "with_counters" : true, |
| 10329 | "support_timeout" : false, |
| 10330 | "direct_meters" : null, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10331 | "action_ids" : [7, 0], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10332 | "actions" : ["ingress.process_int_source_sink.int_set_source", "nop"], |
| 10333 | "base_default_next" : "ingress.process_int_source_sink.tb_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10334 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10335 | "ingress.process_int_source_sink.int_set_source" : "ingress.process_int_source_sink.tb_set_sink", |
| 10336 | "nop" : "ingress.process_int_source_sink.tb_set_sink" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10337 | }, |
| 10338 | "default_entry" : { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10339 | "action_id" : 0, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10340 | "action_const" : true, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10341 | "action_data" : [], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10342 | "action_entry_const" : true |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10343 | } |
| 10344 | }, |
| 10345 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10346 | "name" : "ingress.process_int_source_sink.tb_set_sink", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10347 | "id" : 4, |
| 10348 | "source_info" : { |
| 10349 | "filename" : "include/int_source.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10350 | "line" : 113, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10351 | "column" : 10, |
| 10352 | "source_fragment" : "tb_set_sink" |
| 10353 | }, |
| 10354 | "key" : [ |
| 10355 | { |
| 10356 | "match_type" : "exact", |
| 10357 | "name" : "standard_metadata.egress_spec", |
| 10358 | "target" : ["standard_metadata", "egress_spec"], |
| 10359 | "mask" : null |
| 10360 | } |
| 10361 | ], |
| 10362 | "match_type" : "exact", |
| 10363 | "type" : "simple", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10364 | "max_size" : 511, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10365 | "with_counters" : true, |
| 10366 | "support_timeout" : false, |
| 10367 | "direct_meters" : null, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10368 | "action_ids" : [8, 1], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10369 | "actions" : ["ingress.process_int_source_sink.int_set_sink", "nop"], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10370 | "base_default_next" : "node_8", |
| 10371 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10372 | "ingress.process_int_source_sink.int_set_sink" : "node_8", |
| 10373 | "nop" : "node_8" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10374 | }, |
| 10375 | "default_entry" : { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10376 | "action_id" : 1, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10377 | "action_const" : true, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10378 | "action_data" : [], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10379 | "action_entry_const" : true |
| 10380 | } |
| 10381 | }, |
| 10382 | { |
| 10383 | "name" : "ingress.process_int_source.tb_int_source", |
| 10384 | "id" : 5, |
| 10385 | "source_info" : { |
| 10386 | "filename" : "include/int_source.p4", |
| 10387 | "line" : 63, |
| 10388 | "column" : 10, |
| 10389 | "source_fragment" : "tb_int_source" |
| 10390 | }, |
| 10391 | "key" : [ |
| 10392 | { |
| 10393 | "match_type" : "ternary", |
| 10394 | "name" : "hdr.ipv4.src_addr", |
| 10395 | "target" : ["ipv4", "src_addr"], |
| 10396 | "mask" : null |
| 10397 | }, |
| 10398 | { |
| 10399 | "match_type" : "ternary", |
| 10400 | "name" : "hdr.ipv4.dst_addr", |
| 10401 | "target" : ["ipv4", "dst_addr"], |
| 10402 | "mask" : null |
| 10403 | }, |
| 10404 | { |
| 10405 | "match_type" : "ternary", |
| 10406 | "name" : "local_metadata.l4_src_port", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10407 | "target" : ["scalars", "local_metadata_t._l4_src_port0"], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10408 | "mask" : null |
| 10409 | }, |
| 10410 | { |
| 10411 | "match_type" : "ternary", |
| 10412 | "name" : "local_metadata.l4_dst_port", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10413 | "target" : ["scalars", "local_metadata_t._l4_dst_port1"], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10414 | "mask" : null |
| 10415 | } |
| 10416 | ], |
| 10417 | "match_type" : "ternary", |
| 10418 | "type" : "simple", |
| 10419 | "max_size" : 1024, |
| 10420 | "with_counters" : true, |
| 10421 | "support_timeout" : false, |
| 10422 | "direct_meters" : null, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10423 | "action_ids" : [9, 2], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10424 | "actions" : ["ingress.process_int_source.int_source_dscp", "nop"], |
| 10425 | "base_default_next" : "node_10", |
| 10426 | "next_tables" : { |
| 10427 | "ingress.process_int_source.int_source_dscp" : "node_10", |
| 10428 | "nop" : "node_10" |
| 10429 | }, |
| 10430 | "default_entry" : { |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10431 | "action_id" : 2, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10432 | "action_const" : true, |
| 10433 | "action_data" : [], |
| 10434 | "action_entry_const" : true |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10435 | } |
| 10436 | }, |
| 10437 | { |
| 10438 | "name" : "tbl_act_1", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10439 | "id" : 6, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10440 | "source_info" : { |
| 10441 | "filename" : "int.p4", |
| 10442 | "line" : 56, |
| 10443 | "column" : 12, |
| 10444 | "source_fragment" : "clone3(CloneType.I2E, REPORT_MIRROR_SESSION_ID, standard_metadata)" |
| 10445 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10446 | "key" : [], |
| 10447 | "match_type" : "exact", |
| 10448 | "type" : "simple", |
| 10449 | "max_size" : 1024, |
| 10450 | "with_counters" : false, |
| 10451 | "support_timeout" : false, |
| 10452 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10453 | "action_ids" : [12], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10454 | "actions" : ["act_1"], |
| 10455 | "base_default_next" : null, |
| 10456 | "next_tables" : { |
| 10457 | "act_1" : null |
| 10458 | }, |
| 10459 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10460 | "action_id" : 12, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10461 | "action_const" : true, |
| 10462 | "action_data" : [], |
| 10463 | "action_entry_const" : true |
| 10464 | } |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10465 | } |
| 10466 | ], |
| 10467 | "action_profiles" : [], |
| 10468 | "conditionals" : [ |
| 10469 | { |
| 10470 | "name" : "node_3", |
| 10471 | "id" : 0, |
| 10472 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10473 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10474 | "line" : 26, |
| 10475 | "column" : 12, |
| 10476 | "source_fragment" : "standard_metadata.ingress_port == CPU_PORT" |
| 10477 | }, |
| 10478 | "expression" : { |
| 10479 | "type" : "expression", |
| 10480 | "value" : { |
| 10481 | "op" : "==", |
| 10482 | "left" : { |
| 10483 | "type" : "field", |
| 10484 | "value" : ["standard_metadata", "ingress_port"] |
| 10485 | }, |
| 10486 | "right" : { |
| 10487 | "type" : "hexstr", |
| 10488 | "value" : "0x00ff" |
| 10489 | } |
| 10490 | } |
| 10491 | }, |
| 10492 | "true_next" : "tbl_act_0", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10493 | "false_next" : "ingress.table0_control.table0" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10494 | }, |
| 10495 | { |
| 10496 | "name" : "node_8", |
| 10497 | "id" : 1, |
| 10498 | "source_info" : { |
| 10499 | "filename" : "int.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10500 | "line" : 48, |
| 10501 | "column" : 12, |
| 10502 | "source_fragment" : "local_metadata.int_meta.source == true" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10503 | }, |
| 10504 | "expression" : { |
| 10505 | "type" : "expression", |
| 10506 | "value" : { |
| 10507 | "op" : "==", |
| 10508 | "left" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10509 | "type" : "expression", |
| 10510 | "value" : { |
| 10511 | "op" : "d2b", |
| 10512 | "left" : null, |
| 10513 | "right" : { |
| 10514 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10515 | "value" : ["scalars", "local_metadata_t._int_meta_source7"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10516 | } |
| 10517 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10518 | }, |
| 10519 | "right" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10520 | "type" : "bool", |
| 10521 | "value" : true |
| 10522 | } |
| 10523 | } |
| 10524 | }, |
| 10525 | "true_next" : "ingress.process_int_source.tb_int_source", |
| 10526 | "false_next" : "node_10" |
| 10527 | }, |
| 10528 | { |
| 10529 | "name" : "node_10", |
| 10530 | "id" : 2, |
| 10531 | "source_info" : { |
| 10532 | "filename" : "int.p4", |
| 10533 | "line" : 52, |
| 10534 | "column" : 12, |
| 10535 | "source_fragment" : "local_metadata.int_meta.sink == true && hdr.int_header.isValid()" |
| 10536 | }, |
| 10537 | "expression" : { |
| 10538 | "type" : "expression", |
| 10539 | "value" : { |
| 10540 | "op" : "and", |
| 10541 | "left" : { |
| 10542 | "type" : "expression", |
| 10543 | "value" : { |
| 10544 | "op" : "==", |
| 10545 | "left" : { |
| 10546 | "type" : "expression", |
| 10547 | "value" : { |
| 10548 | "op" : "d2b", |
| 10549 | "left" : null, |
| 10550 | "right" : { |
| 10551 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 10552 | "value" : ["scalars", "local_metadata_t._int_meta_sink8"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10553 | } |
| 10554 | } |
| 10555 | }, |
| 10556 | "right" : { |
| 10557 | "type" : "bool", |
| 10558 | "value" : true |
| 10559 | } |
| 10560 | } |
| 10561 | }, |
| 10562 | "right" : { |
| 10563 | "type" : "expression", |
| 10564 | "value" : { |
| 10565 | "op" : "d2b", |
| 10566 | "left" : null, |
| 10567 | "right" : { |
| 10568 | "type" : "field", |
| 10569 | "value" : ["int_header", "$valid$"] |
| 10570 | } |
| 10571 | } |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10572 | } |
| 10573 | } |
| 10574 | }, |
| 10575 | "false_next" : null, |
| 10576 | "true_next" : "tbl_act_1" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10577 | } |
| 10578 | ] |
| 10579 | }, |
| 10580 | { |
| 10581 | "name" : "egress", |
| 10582 | "id" : 1, |
| 10583 | "source_info" : { |
| 10584 | "filename" : "int.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10585 | "line" : 62, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10586 | "column" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10587 | "source_fragment" : "egress" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10588 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10589 | "init_table" : "node_14", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10590 | "tables" : [ |
| 10591 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10592 | "name" : "tbl_act_2", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10593 | "id" : 7, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10594 | "key" : [], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10595 | "match_type" : "exact", |
| 10596 | "type" : "simple", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10597 | "max_size" : 1024, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10598 | "with_counters" : false, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10599 | "support_timeout" : false, |
| 10600 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10601 | "action_ids" : [53], |
| 10602 | "actions" : ["act_2"], |
| 10603 | "base_default_next" : "egress.process_int_transit.tb_int_insert", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10604 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10605 | "act_2" : "egress.process_int_transit.tb_int_insert" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10606 | }, |
| 10607 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10608 | "action_id" : 53, |
| 10609 | "action_const" : true, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10610 | "action_data" : [], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10611 | "action_entry_const" : true |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10612 | } |
| 10613 | }, |
| 10614 | { |
| 10615 | "name" : "egress.process_int_transit.tb_int_insert", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10616 | "id" : 8, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10617 | "source_info" : { |
| 10618 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10619 | "line" : 311, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10620 | "column" : 10, |
| 10621 | "source_fragment" : "tb_int_insert" |
| 10622 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10623 | "key" : [ |
| 10624 | { |
| 10625 | "match_type" : "exact", |
| 10626 | "name" : "int_is_valid", |
| 10627 | "target" : ["int_header", "$valid$"], |
| 10628 | "mask" : null |
| 10629 | } |
| 10630 | ], |
| 10631 | "match_type" : "exact", |
| 10632 | "type" : "simple", |
| 10633 | "max_size" : 1, |
| 10634 | "with_counters" : false, |
| 10635 | "support_timeout" : false, |
| 10636 | "direct_meters" : null, |
| 10637 | "action_ids" : [17, 13], |
| 10638 | "actions" : ["egress.process_int_transit.init_metadata", "nop"], |
| 10639 | "base_default_next" : "node_17", |
| 10640 | "next_tables" : { |
| 10641 | "egress.process_int_transit.init_metadata" : "node_17", |
| 10642 | "nop" : "node_17" |
| 10643 | }, |
| 10644 | "default_entry" : { |
| 10645 | "action_id" : 13, |
| 10646 | "action_const" : true, |
| 10647 | "action_data" : [], |
| 10648 | "action_entry_const" : true |
| 10649 | } |
| 10650 | }, |
| 10651 | { |
| 10652 | "name" : "tbl_act_3", |
| 10653 | "id" : 9, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 10654 | "source_info" : { |
| 10655 | "filename" : "include/int_transit.p4", |
| 10656 | "line" : 416, |
| 10657 | "column" : 12, |
| 10658 | "source_fragment" : "return" |
| 10659 | }, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10660 | "key" : [], |
| 10661 | "match_type" : "exact", |
| 10662 | "type" : "simple", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10663 | "max_size" : 1024, |
| 10664 | "with_counters" : false, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10665 | "support_timeout" : false, |
| 10666 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10667 | "action_ids" : [54], |
| 10668 | "actions" : ["act_3"], |
| 10669 | "base_default_next" : "node_19", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10670 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10671 | "act_3" : "node_19" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10672 | }, |
| 10673 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10674 | "action_id" : 54, |
| 10675 | "action_const" : true, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10676 | "action_data" : [], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10677 | "action_entry_const" : true |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10678 | } |
| 10679 | }, |
| 10680 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10681 | "name" : "egress.process_int_transit.tb_int_inst_0003", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10682 | "id" : 10, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10683 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10684 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10685 | "line" : 327, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10686 | "column" : 10, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10687 | "source_fragment" : "tb_int_inst_0003" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10688 | }, |
| 10689 | "key" : [ |
| 10690 | { |
| 10691 | "match_type" : "exact", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10692 | "name" : "hdr.int_header.instruction_mask_0003", |
| 10693 | "target" : ["int_header", "instruction_mask_0003"], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10694 | "mask" : null |
| 10695 | } |
| 10696 | ], |
| 10697 | "match_type" : "exact", |
| 10698 | "type" : "simple", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10699 | "max_size" : 1024, |
| 10700 | "with_counters" : false, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10701 | "support_timeout" : false, |
| 10702 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10703 | "action_ids" : [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 15], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10704 | "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"], |
| 10705 | "base_default_next" : "egress.process_int_transit.tb_int_inst_0407", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10706 | "next_tables" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 10707 | "egress.process_int_transit.int_set_header_0003_i0" : "egress.process_int_transit.tb_int_inst_0407", |
| 10708 | "egress.process_int_transit.int_set_header_0003_i1" : "egress.process_int_transit.tb_int_inst_0407", |
| 10709 | "egress.process_int_transit.int_set_header_0003_i2" : "egress.process_int_transit.tb_int_inst_0407", |
| 10710 | "egress.process_int_transit.int_set_header_0003_i3" : "egress.process_int_transit.tb_int_inst_0407", |
| 10711 | "egress.process_int_transit.int_set_header_0003_i4" : "egress.process_int_transit.tb_int_inst_0407", |
| 10712 | "egress.process_int_transit.int_set_header_0003_i5" : "egress.process_int_transit.tb_int_inst_0407", |
| 10713 | "egress.process_int_transit.int_set_header_0003_i6" : "egress.process_int_transit.tb_int_inst_0407", |
| 10714 | "egress.process_int_transit.int_set_header_0003_i7" : "egress.process_int_transit.tb_int_inst_0407", |
| 10715 | "egress.process_int_transit.int_set_header_0003_i8" : "egress.process_int_transit.tb_int_inst_0407", |
| 10716 | "egress.process_int_transit.int_set_header_0003_i9" : "egress.process_int_transit.tb_int_inst_0407", |
| 10717 | "egress.process_int_transit.int_set_header_0003_i10" : "egress.process_int_transit.tb_int_inst_0407", |
| 10718 | "egress.process_int_transit.int_set_header_0003_i11" : "egress.process_int_transit.tb_int_inst_0407", |
| 10719 | "egress.process_int_transit.int_set_header_0003_i12" : "egress.process_int_transit.tb_int_inst_0407", |
| 10720 | "egress.process_int_transit.int_set_header_0003_i13" : "egress.process_int_transit.tb_int_inst_0407", |
| 10721 | "egress.process_int_transit.int_set_header_0003_i14" : "egress.process_int_transit.tb_int_inst_0407", |
| 10722 | "egress.process_int_transit.int_set_header_0003_i15" : "egress.process_int_transit.tb_int_inst_0407", |
| 10723 | "NoAction" : "egress.process_int_transit.tb_int_inst_0407" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10724 | }, |
| 10725 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 10726 | "action_id" : 15, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10727 | "action_const" : false, |
| 10728 | "action_data" : [], |
| 10729 | "action_entry_const" : false |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 10730 | }, |
| 10731 | "entries" : [ |
| 10732 | { |
| 10733 | "source_info" : { |
| 10734 | "filename" : "include/int_transit.p4", |
| 10735 | "line" : 350, |
| 10736 | "column" : 12, |
| 10737 | "source_fragment" : "(0x0) : int_set_header_0003_i0()" |
| 10738 | }, |
| 10739 | "match_key" : [ |
| 10740 | { |
| 10741 | "match_type" : "exact", |
| 10742 | "key" : "0x00" |
| 10743 | } |
| 10744 | ], |
| 10745 | "action_entry" : { |
| 10746 | "action_id" : 18, |
| 10747 | "action_data" : [] |
| 10748 | }, |
| 10749 | "priority" : 1 |
| 10750 | }, |
| 10751 | { |
| 10752 | "source_info" : { |
| 10753 | "filename" : "include/int_transit.p4", |
| 10754 | "line" : 351, |
| 10755 | "column" : 12, |
| 10756 | "source_fragment" : "(0x1) : int_set_header_0003_i1()" |
| 10757 | }, |
| 10758 | "match_key" : [ |
| 10759 | { |
| 10760 | "match_type" : "exact", |
| 10761 | "key" : "0x01" |
| 10762 | } |
| 10763 | ], |
| 10764 | "action_entry" : { |
| 10765 | "action_id" : 19, |
| 10766 | "action_data" : [] |
| 10767 | }, |
| 10768 | "priority" : 2 |
| 10769 | }, |
| 10770 | { |
| 10771 | "source_info" : { |
| 10772 | "filename" : "include/int_transit.p4", |
| 10773 | "line" : 352, |
| 10774 | "column" : 12, |
| 10775 | "source_fragment" : "(0x2) : int_set_header_0003_i2()" |
| 10776 | }, |
| 10777 | "match_key" : [ |
| 10778 | { |
| 10779 | "match_type" : "exact", |
| 10780 | "key" : "0x02" |
| 10781 | } |
| 10782 | ], |
| 10783 | "action_entry" : { |
| 10784 | "action_id" : 20, |
| 10785 | "action_data" : [] |
| 10786 | }, |
| 10787 | "priority" : 3 |
| 10788 | }, |
| 10789 | { |
| 10790 | "source_info" : { |
| 10791 | "filename" : "include/int_transit.p4", |
| 10792 | "line" : 353, |
| 10793 | "column" : 12, |
| 10794 | "source_fragment" : "(0x3) : int_set_header_0003_i3()" |
| 10795 | }, |
| 10796 | "match_key" : [ |
| 10797 | { |
| 10798 | "match_type" : "exact", |
| 10799 | "key" : "0x03" |
| 10800 | } |
| 10801 | ], |
| 10802 | "action_entry" : { |
| 10803 | "action_id" : 21, |
| 10804 | "action_data" : [] |
| 10805 | }, |
| 10806 | "priority" : 4 |
| 10807 | }, |
| 10808 | { |
| 10809 | "source_info" : { |
| 10810 | "filename" : "include/int_transit.p4", |
| 10811 | "line" : 354, |
| 10812 | "column" : 12, |
| 10813 | "source_fragment" : "(0x4) : int_set_header_0003_i4()" |
| 10814 | }, |
| 10815 | "match_key" : [ |
| 10816 | { |
| 10817 | "match_type" : "exact", |
| 10818 | "key" : "0x04" |
| 10819 | } |
| 10820 | ], |
| 10821 | "action_entry" : { |
| 10822 | "action_id" : 22, |
| 10823 | "action_data" : [] |
| 10824 | }, |
| 10825 | "priority" : 5 |
| 10826 | }, |
| 10827 | { |
| 10828 | "source_info" : { |
| 10829 | "filename" : "include/int_transit.p4", |
| 10830 | "line" : 355, |
| 10831 | "column" : 12, |
| 10832 | "source_fragment" : "(0x5) : int_set_header_0003_i5()" |
| 10833 | }, |
| 10834 | "match_key" : [ |
| 10835 | { |
| 10836 | "match_type" : "exact", |
| 10837 | "key" : "0x05" |
| 10838 | } |
| 10839 | ], |
| 10840 | "action_entry" : { |
| 10841 | "action_id" : 23, |
| 10842 | "action_data" : [] |
| 10843 | }, |
| 10844 | "priority" : 6 |
| 10845 | }, |
| 10846 | { |
| 10847 | "source_info" : { |
| 10848 | "filename" : "include/int_transit.p4", |
| 10849 | "line" : 356, |
| 10850 | "column" : 12, |
| 10851 | "source_fragment" : "(0x6) : int_set_header_0003_i6()" |
| 10852 | }, |
| 10853 | "match_key" : [ |
| 10854 | { |
| 10855 | "match_type" : "exact", |
| 10856 | "key" : "0x06" |
| 10857 | } |
| 10858 | ], |
| 10859 | "action_entry" : { |
| 10860 | "action_id" : 24, |
| 10861 | "action_data" : [] |
| 10862 | }, |
| 10863 | "priority" : 7 |
| 10864 | }, |
| 10865 | { |
| 10866 | "source_info" : { |
| 10867 | "filename" : "include/int_transit.p4", |
| 10868 | "line" : 357, |
| 10869 | "column" : 12, |
| 10870 | "source_fragment" : "(0x7) : int_set_header_0003_i7()" |
| 10871 | }, |
| 10872 | "match_key" : [ |
| 10873 | { |
| 10874 | "match_type" : "exact", |
| 10875 | "key" : "0x07" |
| 10876 | } |
| 10877 | ], |
| 10878 | "action_entry" : { |
| 10879 | "action_id" : 25, |
| 10880 | "action_data" : [] |
| 10881 | }, |
| 10882 | "priority" : 8 |
| 10883 | }, |
| 10884 | { |
| 10885 | "source_info" : { |
| 10886 | "filename" : "include/int_transit.p4", |
| 10887 | "line" : 358, |
| 10888 | "column" : 12, |
| 10889 | "source_fragment" : "(0x8) : int_set_header_0003_i8()" |
| 10890 | }, |
| 10891 | "match_key" : [ |
| 10892 | { |
| 10893 | "match_type" : "exact", |
| 10894 | "key" : "0x08" |
| 10895 | } |
| 10896 | ], |
| 10897 | "action_entry" : { |
| 10898 | "action_id" : 26, |
| 10899 | "action_data" : [] |
| 10900 | }, |
| 10901 | "priority" : 9 |
| 10902 | }, |
| 10903 | { |
| 10904 | "source_info" : { |
| 10905 | "filename" : "include/int_transit.p4", |
| 10906 | "line" : 359, |
| 10907 | "column" : 12, |
| 10908 | "source_fragment" : "(0x9) : int_set_header_0003_i9()" |
| 10909 | }, |
| 10910 | "match_key" : [ |
| 10911 | { |
| 10912 | "match_type" : "exact", |
| 10913 | "key" : "0x09" |
| 10914 | } |
| 10915 | ], |
| 10916 | "action_entry" : { |
| 10917 | "action_id" : 27, |
| 10918 | "action_data" : [] |
| 10919 | }, |
| 10920 | "priority" : 10 |
| 10921 | }, |
| 10922 | { |
| 10923 | "source_info" : { |
| 10924 | "filename" : "include/int_transit.p4", |
| 10925 | "line" : 360, |
| 10926 | "column" : 12, |
| 10927 | "source_fragment" : "(0xA) : int_set_header_0003_i10()" |
| 10928 | }, |
| 10929 | "match_key" : [ |
| 10930 | { |
| 10931 | "match_type" : "exact", |
| 10932 | "key" : "0x0a" |
| 10933 | } |
| 10934 | ], |
| 10935 | "action_entry" : { |
| 10936 | "action_id" : 28, |
| 10937 | "action_data" : [] |
| 10938 | }, |
| 10939 | "priority" : 11 |
| 10940 | }, |
| 10941 | { |
| 10942 | "source_info" : { |
| 10943 | "filename" : "include/int_transit.p4", |
| 10944 | "line" : 361, |
| 10945 | "column" : 12, |
| 10946 | "source_fragment" : "(0xB) : int_set_header_0003_i11()" |
| 10947 | }, |
| 10948 | "match_key" : [ |
| 10949 | { |
| 10950 | "match_type" : "exact", |
| 10951 | "key" : "0x0b" |
| 10952 | } |
| 10953 | ], |
| 10954 | "action_entry" : { |
| 10955 | "action_id" : 29, |
| 10956 | "action_data" : [] |
| 10957 | }, |
| 10958 | "priority" : 12 |
| 10959 | }, |
| 10960 | { |
| 10961 | "source_info" : { |
| 10962 | "filename" : "include/int_transit.p4", |
| 10963 | "line" : 362, |
| 10964 | "column" : 12, |
| 10965 | "source_fragment" : "(0xC) : int_set_header_0003_i12()" |
| 10966 | }, |
| 10967 | "match_key" : [ |
| 10968 | { |
| 10969 | "match_type" : "exact", |
| 10970 | "key" : "0x0c" |
| 10971 | } |
| 10972 | ], |
| 10973 | "action_entry" : { |
| 10974 | "action_id" : 30, |
| 10975 | "action_data" : [] |
| 10976 | }, |
| 10977 | "priority" : 13 |
| 10978 | }, |
| 10979 | { |
| 10980 | "source_info" : { |
| 10981 | "filename" : "include/int_transit.p4", |
| 10982 | "line" : 363, |
| 10983 | "column" : 12, |
| 10984 | "source_fragment" : "(0xD) : int_set_header_0003_i13()" |
| 10985 | }, |
| 10986 | "match_key" : [ |
| 10987 | { |
| 10988 | "match_type" : "exact", |
| 10989 | "key" : "0x0d" |
| 10990 | } |
| 10991 | ], |
| 10992 | "action_entry" : { |
| 10993 | "action_id" : 31, |
| 10994 | "action_data" : [] |
| 10995 | }, |
| 10996 | "priority" : 14 |
| 10997 | }, |
| 10998 | { |
| 10999 | "source_info" : { |
| 11000 | "filename" : "include/int_transit.p4", |
| 11001 | "line" : 364, |
| 11002 | "column" : 12, |
| 11003 | "source_fragment" : "(0xE) : int_set_header_0003_i14()" |
| 11004 | }, |
| 11005 | "match_key" : [ |
| 11006 | { |
| 11007 | "match_type" : "exact", |
| 11008 | "key" : "0x0e" |
| 11009 | } |
| 11010 | ], |
| 11011 | "action_entry" : { |
| 11012 | "action_id" : 32, |
| 11013 | "action_data" : [] |
| 11014 | }, |
| 11015 | "priority" : 15 |
| 11016 | }, |
| 11017 | { |
| 11018 | "source_info" : { |
| 11019 | "filename" : "include/int_transit.p4", |
| 11020 | "line" : 365, |
| 11021 | "column" : 12, |
| 11022 | "source_fragment" : "(0xF) : int_set_header_0003_i15()" |
| 11023 | }, |
| 11024 | "match_key" : [ |
| 11025 | { |
| 11026 | "match_type" : "exact", |
| 11027 | "key" : "0x0f" |
| 11028 | } |
| 11029 | ], |
| 11030 | "action_entry" : { |
| 11031 | "action_id" : 33, |
| 11032 | "action_data" : [] |
| 11033 | }, |
| 11034 | "priority" : 16 |
| 11035 | } |
| 11036 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11037 | }, |
| 11038 | { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11039 | "name" : "egress.process_int_transit.tb_int_inst_0407", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11040 | "id" : 11, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11041 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11042 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11043 | "line" : 371, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11044 | "column" : 10, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11045 | "source_fragment" : "tb_int_inst_0407" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11046 | }, |
| 11047 | "key" : [ |
| 11048 | { |
| 11049 | "match_type" : "exact", |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11050 | "name" : "hdr.int_header.instruction_mask_0407", |
| 11051 | "target" : ["int_header", "instruction_mask_0407"], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11052 | "mask" : null |
| 11053 | } |
| 11054 | ], |
| 11055 | "match_type" : "exact", |
| 11056 | "type" : "simple", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11057 | "max_size" : 1024, |
| 11058 | "with_counters" : false, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11059 | "support_timeout" : false, |
| 11060 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11061 | "action_ids" : [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 16], |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11062 | "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"], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11063 | "base_default_next" : "tbl_act_4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11064 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11065 | "egress.process_int_transit.int_set_header_0407_i0" : "tbl_act_4", |
| 11066 | "egress.process_int_transit.int_set_header_0407_i1" : "tbl_act_4", |
| 11067 | "egress.process_int_transit.int_set_header_0407_i2" : "tbl_act_4", |
| 11068 | "egress.process_int_transit.int_set_header_0407_i3" : "tbl_act_4", |
| 11069 | "egress.process_int_transit.int_set_header_0407_i4" : "tbl_act_4", |
| 11070 | "egress.process_int_transit.int_set_header_0407_i5" : "tbl_act_4", |
| 11071 | "egress.process_int_transit.int_set_header_0407_i6" : "tbl_act_4", |
| 11072 | "egress.process_int_transit.int_set_header_0407_i7" : "tbl_act_4", |
| 11073 | "egress.process_int_transit.int_set_header_0407_i8" : "tbl_act_4", |
| 11074 | "egress.process_int_transit.int_set_header_0407_i9" : "tbl_act_4", |
| 11075 | "egress.process_int_transit.int_set_header_0407_i10" : "tbl_act_4", |
| 11076 | "egress.process_int_transit.int_set_header_0407_i11" : "tbl_act_4", |
| 11077 | "egress.process_int_transit.int_set_header_0407_i12" : "tbl_act_4", |
| 11078 | "egress.process_int_transit.int_set_header_0407_i13" : "tbl_act_4", |
| 11079 | "egress.process_int_transit.int_set_header_0407_i14" : "tbl_act_4", |
| 11080 | "egress.process_int_transit.int_set_header_0407_i15" : "tbl_act_4", |
| 11081 | "NoAction" : "tbl_act_4" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11082 | }, |
| 11083 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11084 | "action_id" : 16, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11085 | "action_const" : false, |
| 11086 | "action_data" : [], |
| 11087 | "action_entry_const" : false |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11088 | }, |
| 11089 | "entries" : [ |
| 11090 | { |
| 11091 | "source_info" : { |
| 11092 | "filename" : "include/int_transit.p4", |
| 11093 | "line" : 394, |
| 11094 | "column" : 12, |
| 11095 | "source_fragment" : "(0x0) : int_set_header_0407_i0()" |
| 11096 | }, |
| 11097 | "match_key" : [ |
| 11098 | { |
| 11099 | "match_type" : "exact", |
| 11100 | "key" : "0x00" |
| 11101 | } |
| 11102 | ], |
| 11103 | "action_entry" : { |
| 11104 | "action_id" : 34, |
| 11105 | "action_data" : [] |
| 11106 | }, |
| 11107 | "priority" : 1 |
| 11108 | }, |
| 11109 | { |
| 11110 | "source_info" : { |
| 11111 | "filename" : "include/int_transit.p4", |
| 11112 | "line" : 395, |
| 11113 | "column" : 12, |
| 11114 | "source_fragment" : "(0x1) : int_set_header_0407_i1()" |
| 11115 | }, |
| 11116 | "match_key" : [ |
| 11117 | { |
| 11118 | "match_type" : "exact", |
| 11119 | "key" : "0x01" |
| 11120 | } |
| 11121 | ], |
| 11122 | "action_entry" : { |
| 11123 | "action_id" : 35, |
| 11124 | "action_data" : [] |
| 11125 | }, |
| 11126 | "priority" : 2 |
| 11127 | }, |
| 11128 | { |
| 11129 | "source_info" : { |
| 11130 | "filename" : "include/int_transit.p4", |
| 11131 | "line" : 396, |
| 11132 | "column" : 12, |
| 11133 | "source_fragment" : "(0x2) : int_set_header_0407_i2()" |
| 11134 | }, |
| 11135 | "match_key" : [ |
| 11136 | { |
| 11137 | "match_type" : "exact", |
| 11138 | "key" : "0x02" |
| 11139 | } |
| 11140 | ], |
| 11141 | "action_entry" : { |
| 11142 | "action_id" : 36, |
| 11143 | "action_data" : [] |
| 11144 | }, |
| 11145 | "priority" : 3 |
| 11146 | }, |
| 11147 | { |
| 11148 | "source_info" : { |
| 11149 | "filename" : "include/int_transit.p4", |
| 11150 | "line" : 397, |
| 11151 | "column" : 12, |
| 11152 | "source_fragment" : "(0x3) : int_set_header_0407_i3()" |
| 11153 | }, |
| 11154 | "match_key" : [ |
| 11155 | { |
| 11156 | "match_type" : "exact", |
| 11157 | "key" : "0x03" |
| 11158 | } |
| 11159 | ], |
| 11160 | "action_entry" : { |
| 11161 | "action_id" : 37, |
| 11162 | "action_data" : [] |
| 11163 | }, |
| 11164 | "priority" : 4 |
| 11165 | }, |
| 11166 | { |
| 11167 | "source_info" : { |
| 11168 | "filename" : "include/int_transit.p4", |
| 11169 | "line" : 398, |
| 11170 | "column" : 12, |
| 11171 | "source_fragment" : "(0x4) : int_set_header_0407_i4()" |
| 11172 | }, |
| 11173 | "match_key" : [ |
| 11174 | { |
| 11175 | "match_type" : "exact", |
| 11176 | "key" : "0x04" |
| 11177 | } |
| 11178 | ], |
| 11179 | "action_entry" : { |
| 11180 | "action_id" : 38, |
| 11181 | "action_data" : [] |
| 11182 | }, |
| 11183 | "priority" : 5 |
| 11184 | }, |
| 11185 | { |
| 11186 | "source_info" : { |
| 11187 | "filename" : "include/int_transit.p4", |
| 11188 | "line" : 399, |
| 11189 | "column" : 12, |
| 11190 | "source_fragment" : "(0x5) : int_set_header_0407_i5()" |
| 11191 | }, |
| 11192 | "match_key" : [ |
| 11193 | { |
| 11194 | "match_type" : "exact", |
| 11195 | "key" : "0x05" |
| 11196 | } |
| 11197 | ], |
| 11198 | "action_entry" : { |
| 11199 | "action_id" : 39, |
| 11200 | "action_data" : [] |
| 11201 | }, |
| 11202 | "priority" : 6 |
| 11203 | }, |
| 11204 | { |
| 11205 | "source_info" : { |
| 11206 | "filename" : "include/int_transit.p4", |
| 11207 | "line" : 400, |
| 11208 | "column" : 12, |
| 11209 | "source_fragment" : "(0x6) : int_set_header_0407_i6()" |
| 11210 | }, |
| 11211 | "match_key" : [ |
| 11212 | { |
| 11213 | "match_type" : "exact", |
| 11214 | "key" : "0x06" |
| 11215 | } |
| 11216 | ], |
| 11217 | "action_entry" : { |
| 11218 | "action_id" : 40, |
| 11219 | "action_data" : [] |
| 11220 | }, |
| 11221 | "priority" : 7 |
| 11222 | }, |
| 11223 | { |
| 11224 | "source_info" : { |
| 11225 | "filename" : "include/int_transit.p4", |
| 11226 | "line" : 401, |
| 11227 | "column" : 12, |
| 11228 | "source_fragment" : "(0x7) : int_set_header_0407_i7()" |
| 11229 | }, |
| 11230 | "match_key" : [ |
| 11231 | { |
| 11232 | "match_type" : "exact", |
| 11233 | "key" : "0x07" |
| 11234 | } |
| 11235 | ], |
| 11236 | "action_entry" : { |
| 11237 | "action_id" : 41, |
| 11238 | "action_data" : [] |
| 11239 | }, |
| 11240 | "priority" : 8 |
| 11241 | }, |
| 11242 | { |
| 11243 | "source_info" : { |
| 11244 | "filename" : "include/int_transit.p4", |
| 11245 | "line" : 402, |
| 11246 | "column" : 12, |
| 11247 | "source_fragment" : "(0x8) : int_set_header_0407_i8()" |
| 11248 | }, |
| 11249 | "match_key" : [ |
| 11250 | { |
| 11251 | "match_type" : "exact", |
| 11252 | "key" : "0x08" |
| 11253 | } |
| 11254 | ], |
| 11255 | "action_entry" : { |
| 11256 | "action_id" : 42, |
| 11257 | "action_data" : [] |
| 11258 | }, |
| 11259 | "priority" : 9 |
| 11260 | }, |
| 11261 | { |
| 11262 | "source_info" : { |
| 11263 | "filename" : "include/int_transit.p4", |
| 11264 | "line" : 403, |
| 11265 | "column" : 12, |
| 11266 | "source_fragment" : "(0x9) : int_set_header_0407_i9()" |
| 11267 | }, |
| 11268 | "match_key" : [ |
| 11269 | { |
| 11270 | "match_type" : "exact", |
| 11271 | "key" : "0x09" |
| 11272 | } |
| 11273 | ], |
| 11274 | "action_entry" : { |
| 11275 | "action_id" : 43, |
| 11276 | "action_data" : [] |
| 11277 | }, |
| 11278 | "priority" : 10 |
| 11279 | }, |
| 11280 | { |
| 11281 | "source_info" : { |
| 11282 | "filename" : "include/int_transit.p4", |
| 11283 | "line" : 404, |
| 11284 | "column" : 12, |
| 11285 | "source_fragment" : "(0xA) : int_set_header_0407_i10()" |
| 11286 | }, |
| 11287 | "match_key" : [ |
| 11288 | { |
| 11289 | "match_type" : "exact", |
| 11290 | "key" : "0x0a" |
| 11291 | } |
| 11292 | ], |
| 11293 | "action_entry" : { |
| 11294 | "action_id" : 44, |
| 11295 | "action_data" : [] |
| 11296 | }, |
| 11297 | "priority" : 11 |
| 11298 | }, |
| 11299 | { |
| 11300 | "source_info" : { |
| 11301 | "filename" : "include/int_transit.p4", |
| 11302 | "line" : 405, |
| 11303 | "column" : 12, |
| 11304 | "source_fragment" : "(0xB) : int_set_header_0407_i11()" |
| 11305 | }, |
| 11306 | "match_key" : [ |
| 11307 | { |
| 11308 | "match_type" : "exact", |
| 11309 | "key" : "0x0b" |
| 11310 | } |
| 11311 | ], |
| 11312 | "action_entry" : { |
| 11313 | "action_id" : 45, |
| 11314 | "action_data" : [] |
| 11315 | }, |
| 11316 | "priority" : 12 |
| 11317 | }, |
| 11318 | { |
| 11319 | "source_info" : { |
| 11320 | "filename" : "include/int_transit.p4", |
| 11321 | "line" : 406, |
| 11322 | "column" : 12, |
| 11323 | "source_fragment" : "(0xC) : int_set_header_0407_i12()" |
| 11324 | }, |
| 11325 | "match_key" : [ |
| 11326 | { |
| 11327 | "match_type" : "exact", |
| 11328 | "key" : "0x0c" |
| 11329 | } |
| 11330 | ], |
| 11331 | "action_entry" : { |
| 11332 | "action_id" : 46, |
| 11333 | "action_data" : [] |
| 11334 | }, |
| 11335 | "priority" : 13 |
| 11336 | }, |
| 11337 | { |
| 11338 | "source_info" : { |
| 11339 | "filename" : "include/int_transit.p4", |
| 11340 | "line" : 407, |
| 11341 | "column" : 12, |
| 11342 | "source_fragment" : "(0xD) : int_set_header_0407_i13()" |
| 11343 | }, |
| 11344 | "match_key" : [ |
| 11345 | { |
| 11346 | "match_type" : "exact", |
| 11347 | "key" : "0x0d" |
| 11348 | } |
| 11349 | ], |
| 11350 | "action_entry" : { |
| 11351 | "action_id" : 47, |
| 11352 | "action_data" : [] |
| 11353 | }, |
| 11354 | "priority" : 14 |
| 11355 | }, |
| 11356 | { |
| 11357 | "source_info" : { |
| 11358 | "filename" : "include/int_transit.p4", |
| 11359 | "line" : 408, |
| 11360 | "column" : 12, |
| 11361 | "source_fragment" : "(0xE) : int_set_header_0407_i14()" |
| 11362 | }, |
| 11363 | "match_key" : [ |
| 11364 | { |
| 11365 | "match_type" : "exact", |
| 11366 | "key" : "0x0e" |
| 11367 | } |
| 11368 | ], |
| 11369 | "action_entry" : { |
| 11370 | "action_id" : 48, |
| 11371 | "action_data" : [] |
| 11372 | }, |
| 11373 | "priority" : 15 |
| 11374 | }, |
| 11375 | { |
| 11376 | "source_info" : { |
| 11377 | "filename" : "include/int_transit.p4", |
| 11378 | "line" : 409, |
| 11379 | "column" : 12, |
| 11380 | "source_fragment" : "(0xF) : int_set_header_0407_i15()" |
| 11381 | }, |
| 11382 | "match_key" : [ |
| 11383 | { |
| 11384 | "match_type" : "exact", |
| 11385 | "key" : "0x0f" |
| 11386 | } |
| 11387 | ], |
| 11388 | "action_entry" : { |
| 11389 | "action_id" : 49, |
| 11390 | "action_data" : [] |
| 11391 | }, |
| 11392 | "priority" : 16 |
| 11393 | } |
| 11394 | ] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11395 | }, |
| 11396 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11397 | "name" : "tbl_act_4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11398 | "id" : 12, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11399 | "source_info" : { |
| 11400 | "filename" : "include/int_transit.p4", |
| 11401 | "line" : 422, |
| 11402 | "column" : 41, |
| 11403 | "source_fragment" : "=" |
| 11404 | }, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11405 | "key" : [], |
| 11406 | "match_type" : "exact", |
| 11407 | "type" : "simple", |
| 11408 | "max_size" : 1024, |
| 11409 | "with_counters" : false, |
| 11410 | "support_timeout" : false, |
| 11411 | "direct_meters" : null, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11412 | "action_ids" : [56], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11413 | "actions" : ["act_5"], |
| 11414 | "base_default_next" : "node_23", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11415 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11416 | "act_5" : "node_23" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11417 | }, |
| 11418 | "default_entry" : { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11419 | "action_id" : 56, |
| 11420 | "action_const" : true, |
| 11421 | "action_data" : [], |
| 11422 | "action_entry_const" : true |
| 11423 | } |
| 11424 | }, |
| 11425 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11426 | "name" : "tbl_act_5", |
| 11427 | "id" : 13, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11428 | "source_info" : { |
| 11429 | "filename" : "include/int_transit.p4", |
| 11430 | "line" : 426, |
| 11431 | "column" : 25, |
| 11432 | "source_fragment" : "=" |
| 11433 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11434 | "key" : [], |
| 11435 | "match_type" : "exact", |
| 11436 | "type" : "simple", |
| 11437 | "max_size" : 1024, |
| 11438 | "with_counters" : false, |
| 11439 | "support_timeout" : false, |
| 11440 | "direct_meters" : null, |
| 11441 | "action_ids" : [55], |
| 11442 | "actions" : ["act_4"], |
| 11443 | "base_default_next" : "node_25", |
| 11444 | "next_tables" : { |
| 11445 | "act_4" : "node_25" |
| 11446 | }, |
| 11447 | "default_entry" : { |
| 11448 | "action_id" : 55, |
| 11449 | "action_const" : true, |
| 11450 | "action_data" : [], |
| 11451 | "action_entry_const" : true |
| 11452 | } |
| 11453 | }, |
| 11454 | { |
| 11455 | "name" : "tbl_act_6", |
| 11456 | "id" : 14, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11457 | "source_info" : { |
| 11458 | "filename" : "include/int_transit.p4", |
| 11459 | "line" : 429, |
| 11460 | "column" : 28, |
| 11461 | "source_fragment" : "=" |
| 11462 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11463 | "key" : [], |
| 11464 | "match_type" : "exact", |
| 11465 | "type" : "simple", |
| 11466 | "max_size" : 1024, |
| 11467 | "with_counters" : false, |
| 11468 | "support_timeout" : false, |
| 11469 | "direct_meters" : null, |
| 11470 | "action_ids" : [57], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11471 | "actions" : ["act_6"], |
| 11472 | "base_default_next" : "node_27", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11473 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11474 | "act_6" : "node_27" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11475 | }, |
| 11476 | "default_entry" : { |
| 11477 | "action_id" : 57, |
| 11478 | "action_const" : true, |
| 11479 | "action_data" : [], |
| 11480 | "action_entry_const" : true |
| 11481 | } |
| 11482 | }, |
| 11483 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11484 | "name" : "tbl_act_7", |
| 11485 | "id" : 15, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11486 | "source_info" : { |
| 11487 | "filename" : "include/int_transit.p4", |
| 11488 | "line" : 432, |
| 11489 | "column" : 31, |
| 11490 | "source_fragment" : "=" |
| 11491 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11492 | "key" : [], |
| 11493 | "match_type" : "exact", |
| 11494 | "type" : "simple", |
| 11495 | "max_size" : 1024, |
| 11496 | "with_counters" : false, |
| 11497 | "support_timeout" : false, |
| 11498 | "direct_meters" : null, |
| 11499 | "action_ids" : [58], |
| 11500 | "actions" : ["act_7"], |
| 11501 | "base_default_next" : "node_29", |
| 11502 | "next_tables" : { |
| 11503 | "act_7" : "node_29" |
| 11504 | }, |
| 11505 | "default_entry" : { |
| 11506 | "action_id" : 58, |
| 11507 | "action_const" : true, |
| 11508 | "action_data" : [], |
| 11509 | "action_entry_const" : true |
| 11510 | } |
| 11511 | }, |
| 11512 | { |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11513 | "name" : "egress.process_int_report.tb_generate_report", |
| 11514 | "id" : 16, |
| 11515 | "source_info" : { |
| 11516 | "filename" : "include/int_report.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11517 | "line" : 93, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11518 | "column" : 10, |
| 11519 | "source_fragment" : "tb_generate_report" |
| 11520 | }, |
| 11521 | "key" : [ |
| 11522 | { |
| 11523 | "match_type" : "exact", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11524 | "name" : "int_is_valid", |
| 11525 | "target" : ["int_header", "$valid$"], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11526 | "mask" : null |
| 11527 | } |
| 11528 | ], |
| 11529 | "match_type" : "exact", |
| 11530 | "type" : "simple", |
| 11531 | "max_size" : 1024, |
| 11532 | "with_counters" : false, |
| 11533 | "support_timeout" : false, |
| 11534 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11535 | "action_ids" : [50, 14], |
| 11536 | "actions" : ["egress.process_int_report.do_report_encapsulation", "nop"], |
| 11537 | "base_default_next" : "node_31", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11538 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11539 | "egress.process_int_report.do_report_encapsulation" : "node_31", |
| 11540 | "nop" : "node_31" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11541 | }, |
| 11542 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11543 | "action_id" : 14, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11544 | "action_const" : false, |
| 11545 | "action_data" : [], |
| 11546 | "action_entry_const" : false |
| 11547 | } |
| 11548 | }, |
| 11549 | { |
| 11550 | "name" : "tbl_process_int_sink_restore_header", |
| 11551 | "id" : 17, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11552 | "source_info" : { |
| 11553 | "filename" : "include/int_sink.p4", |
| 11554 | "line" : 51, |
| 11555 | "column" : 8, |
| 11556 | "source_fragment" : "restore_header()" |
| 11557 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11558 | "key" : [], |
| 11559 | "match_type" : "exact", |
| 11560 | "type" : "simple", |
| 11561 | "max_size" : 1024, |
| 11562 | "with_counters" : false, |
| 11563 | "support_timeout" : false, |
| 11564 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11565 | "action_ids" : [51], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11566 | "actions" : ["egress.process_int_sink.restore_header"], |
| 11567 | "base_default_next" : "tbl_process_int_sink_int_sink", |
| 11568 | "next_tables" : { |
| 11569 | "egress.process_int_sink.restore_header" : "tbl_process_int_sink_int_sink" |
| 11570 | }, |
| 11571 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11572 | "action_id" : 51, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11573 | "action_const" : true, |
| 11574 | "action_data" : [], |
| 11575 | "action_entry_const" : true |
| 11576 | } |
| 11577 | }, |
| 11578 | { |
| 11579 | "name" : "tbl_process_int_sink_int_sink", |
| 11580 | "id" : 18, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11581 | "source_info" : { |
| 11582 | "filename" : "include/int_sink.p4", |
| 11583 | "line" : 52, |
| 11584 | "column" : 8, |
| 11585 | "source_fragment" : "int_sink()" |
| 11586 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11587 | "key" : [], |
| 11588 | "match_type" : "exact", |
| 11589 | "type" : "simple", |
| 11590 | "max_size" : 1024, |
| 11591 | "with_counters" : false, |
| 11592 | "support_timeout" : false, |
| 11593 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11594 | "action_ids" : [52], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11595 | "actions" : ["egress.process_int_sink.int_sink"], |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11596 | "base_default_next" : "tbl_act_8", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11597 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11598 | "egress.process_int_sink.int_sink" : "tbl_act_8" |
| 11599 | }, |
| 11600 | "default_entry" : { |
| 11601 | "action_id" : 52, |
| 11602 | "action_const" : true, |
| 11603 | "action_data" : [], |
| 11604 | "action_entry_const" : true |
| 11605 | } |
| 11606 | }, |
| 11607 | { |
| 11608 | "name" : "tbl_act_8", |
| 11609 | "id" : 19, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11610 | "source_info" : { |
| 11611 | "filename" : "include/port_counters.p4", |
| 11612 | "line" : 39, |
| 11613 | "column" : 8, |
| 11614 | "source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)" |
| 11615 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11616 | "key" : [], |
| 11617 | "match_type" : "exact", |
| 11618 | "type" : "simple", |
| 11619 | "max_size" : 1024, |
| 11620 | "with_counters" : false, |
| 11621 | "support_timeout" : false, |
| 11622 | "direct_meters" : null, |
| 11623 | "action_ids" : [60], |
| 11624 | "actions" : ["act_9"], |
| 11625 | "base_default_next" : "node_35", |
| 11626 | "next_tables" : { |
| 11627 | "act_9" : "node_35" |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11628 | }, |
| 11629 | "default_entry" : { |
| 11630 | "action_id" : 60, |
| 11631 | "action_const" : true, |
| 11632 | "action_data" : [], |
| 11633 | "action_entry_const" : true |
| 11634 | } |
| 11635 | }, |
| 11636 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11637 | "name" : "tbl_act_9", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11638 | "id" : 20, |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 11639 | "source_info" : { |
| 11640 | "filename" : "include/packet_io.p4", |
| 11641 | "line" : 38, |
| 11642 | "column" : 12, |
| 11643 | "source_fragment" : "hdr.packet_in.setValid(); ..." |
| 11644 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11645 | "key" : [], |
| 11646 | "match_type" : "exact", |
| 11647 | "type" : "simple", |
| 11648 | "max_size" : 1024, |
| 11649 | "with_counters" : false, |
| 11650 | "support_timeout" : false, |
| 11651 | "direct_meters" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11652 | "action_ids" : [59], |
| 11653 | "actions" : ["act_8"], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11654 | "base_default_next" : null, |
| 11655 | "next_tables" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11656 | "act_8" : null |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11657 | }, |
| 11658 | "default_entry" : { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11659 | "action_id" : 59, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11660 | "action_const" : true, |
| 11661 | "action_data" : [], |
| 11662 | "action_entry_const" : true |
| 11663 | } |
| 11664 | } |
| 11665 | ], |
| 11666 | "action_profiles" : [], |
| 11667 | "conditionals" : [ |
| 11668 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11669 | "name" : "node_14", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11670 | "id" : 3, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11671 | "source_info" : { |
| 11672 | "filename" : "int.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11673 | "line" : 68, |
| 11674 | "column" : 11, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11675 | "source_fragment" : "hdr.int_header.isValid()" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11676 | }, |
| 11677 | "expression" : { |
| 11678 | "type" : "expression", |
| 11679 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11680 | "op" : "d2b", |
| 11681 | "left" : null, |
| 11682 | "right" : { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11683 | "type" : "field", |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11684 | "value" : ["int_header", "$valid$"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11685 | } |
| 11686 | } |
| 11687 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11688 | "true_next" : "tbl_act_2", |
| 11689 | "false_next" : "tbl_act_8" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11690 | }, |
| 11691 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11692 | "name" : "node_17", |
| 11693 | "id" : 4, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11694 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11695 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11696 | "line" : 415, |
| 11697 | "column" : 12, |
| 11698 | "source_fragment" : "local_metadata.int_meta.transit == false" |
| 11699 | }, |
| 11700 | "expression" : { |
| 11701 | "type" : "expression", |
| 11702 | "value" : { |
| 11703 | "op" : "==", |
| 11704 | "left" : { |
| 11705 | "type" : "expression", |
| 11706 | "value" : { |
| 11707 | "op" : "d2b", |
| 11708 | "left" : null, |
| 11709 | "right" : { |
| 11710 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 11711 | "value" : ["scalars", "local_metadata_t._int_meta_transit9"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11712 | } |
| 11713 | } |
| 11714 | }, |
| 11715 | "right" : { |
| 11716 | "type" : "bool", |
| 11717 | "value" : false |
| 11718 | } |
| 11719 | } |
| 11720 | }, |
| 11721 | "true_next" : "tbl_act_3", |
| 11722 | "false_next" : "node_19" |
| 11723 | }, |
| 11724 | { |
| 11725 | "name" : "node_19", |
| 11726 | "id" : 5, |
| 11727 | "expression" : { |
| 11728 | "type" : "expression", |
| 11729 | "value" : { |
| 11730 | "op" : "not", |
| 11731 | "left" : null, |
| 11732 | "right" : { |
| 11733 | "type" : "expression", |
| 11734 | "value" : { |
| 11735 | "op" : "d2b", |
| 11736 | "left" : null, |
| 11737 | "right" : { |
| 11738 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 11739 | "value" : ["scalars", "process_int_transit_hasReturned"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11740 | } |
| 11741 | } |
| 11742 | } |
| 11743 | } |
| 11744 | }, |
| 11745 | "true_next" : "egress.process_int_transit.tb_int_inst_0003", |
| 11746 | "false_next" : "node_29" |
| 11747 | }, |
| 11748 | { |
| 11749 | "name" : "node_23", |
| 11750 | "id" : 6, |
| 11751 | "source_info" : { |
| 11752 | "filename" : "include/int_transit.p4", |
| 11753 | "line" : 425, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11754 | "column" : 12, |
| 11755 | "source_fragment" : "hdr.ipv4.isValid()" |
| 11756 | }, |
| 11757 | "expression" : { |
| 11758 | "type" : "expression", |
| 11759 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11760 | "op" : "d2b", |
| 11761 | "left" : null, |
| 11762 | "right" : { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11763 | "type" : "field", |
| 11764 | "value" : ["ipv4", "$valid$"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11765 | } |
| 11766 | } |
| 11767 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11768 | "true_next" : "tbl_act_5", |
| 11769 | "false_next" : "node_25" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11770 | }, |
| 11771 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11772 | "name" : "node_25", |
| 11773 | "id" : 7, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11774 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11775 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11776 | "line" : 428, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11777 | "column" : 12, |
| 11778 | "source_fragment" : "hdr.udp.isValid()" |
| 11779 | }, |
| 11780 | "expression" : { |
| 11781 | "type" : "expression", |
| 11782 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11783 | "op" : "d2b", |
| 11784 | "left" : null, |
| 11785 | "right" : { |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11786 | "type" : "field", |
| 11787 | "value" : ["udp", "$valid$"] |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11788 | } |
| 11789 | } |
| 11790 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11791 | "true_next" : "tbl_act_6", |
| 11792 | "false_next" : "node_27" |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11793 | }, |
| 11794 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11795 | "name" : "node_27", |
| 11796 | "id" : 8, |
Jonghwan Hyun | 8be0339 | 2017-12-04 15:48:44 -0800 | [diff] [blame] | 11797 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11798 | "filename" : "include/int_transit.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11799 | "line" : 431, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11800 | "column" : 12, |
| 11801 | "source_fragment" : "hdr.intl4_shim.isValid()" |
| 11802 | }, |
| 11803 | "expression" : { |
| 11804 | "type" : "expression", |
| 11805 | "value" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11806 | "op" : "d2b", |
| 11807 | "left" : null, |
| 11808 | "right" : { |
| 11809 | "type" : "field", |
| 11810 | "value" : ["intl4_shim", "$valid$"] |
| 11811 | } |
| 11812 | } |
| 11813 | }, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11814 | "true_next" : "tbl_act_7", |
| 11815 | "false_next" : "node_29" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11816 | }, |
| 11817 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11818 | "name" : "node_29", |
| 11819 | "id" : 9, |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11820 | "source_info" : { |
| 11821 | "filename" : "int.p4", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11822 | "line" : 72, |
| 11823 | "column" : 17, |
| 11824 | "source_fragment" : "standard_metadata.instance_type == BMV2_V1MODEL_INSTANCE_TYPE_INGRESS_CLONE" |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11825 | }, |
| 11826 | "expression" : { |
| 11827 | "type" : "expression", |
| 11828 | "value" : { |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11829 | "op" : "==", |
| 11830 | "left" : { |
| 11831 | "type" : "field", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11832 | "value" : ["standard_metadata", "instance_type"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11833 | }, |
| 11834 | "right" : { |
| 11835 | "type" : "hexstr", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11836 | "value" : "0x00000001" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11837 | } |
| 11838 | } |
| 11839 | }, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11840 | "true_next" : "egress.process_int_report.tb_generate_report", |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11841 | "false_next" : "node_31" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11842 | }, |
| 11843 | { |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11844 | "name" : "node_31", |
| 11845 | "id" : 10, |
| 11846 | "source_info" : { |
| 11847 | "filename" : "int.p4", |
| 11848 | "line" : 77, |
| 11849 | "column" : 16, |
| 11850 | "source_fragment" : "local_metadata.int_meta.sink == true && !(standard_metadata.instance_type == BMV2_V1MODEL_INSTANCE_TYPE_INGRESS_CLONE)" |
| 11851 | }, |
| 11852 | "expression" : { |
| 11853 | "type" : "expression", |
| 11854 | "value" : { |
| 11855 | "op" : "and", |
| 11856 | "left" : { |
| 11857 | "type" : "expression", |
| 11858 | "value" : { |
| 11859 | "op" : "==", |
| 11860 | "left" : { |
| 11861 | "type" : "expression", |
| 11862 | "value" : { |
| 11863 | "op" : "d2b", |
| 11864 | "left" : null, |
| 11865 | "right" : { |
| 11866 | "type" : "field", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 11867 | "value" : ["scalars", "local_metadata_t._int_meta_sink8"] |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11868 | } |
| 11869 | } |
| 11870 | }, |
| 11871 | "right" : { |
| 11872 | "type" : "bool", |
| 11873 | "value" : true |
| 11874 | } |
| 11875 | } |
| 11876 | }, |
| 11877 | "right" : { |
| 11878 | "type" : "expression", |
| 11879 | "value" : { |
| 11880 | "op" : "!=", |
| 11881 | "left" : { |
| 11882 | "type" : "field", |
| 11883 | "value" : ["standard_metadata", "instance_type"] |
| 11884 | }, |
| 11885 | "right" : { |
| 11886 | "type" : "hexstr", |
| 11887 | "value" : "0x00000001" |
| 11888 | } |
| 11889 | } |
| 11890 | } |
| 11891 | } |
| 11892 | }, |
| 11893 | "true_next" : "tbl_process_int_sink_restore_header", |
| 11894 | "false_next" : "tbl_act_8" |
| 11895 | }, |
| 11896 | { |
| 11897 | "name" : "node_35", |
| 11898 | "id" : 11, |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11899 | "source_info" : { |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 11900 | "filename" : "include/packet_io.p4", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11901 | "line" : 37, |
| 11902 | "column" : 12, |
| 11903 | "source_fragment" : "standard_metadata.egress_port == CPU_PORT" |
| 11904 | }, |
| 11905 | "expression" : { |
| 11906 | "type" : "expression", |
| 11907 | "value" : { |
| 11908 | "op" : "==", |
| 11909 | "left" : { |
| 11910 | "type" : "field", |
| 11911 | "value" : ["standard_metadata", "egress_port"] |
| 11912 | }, |
| 11913 | "right" : { |
| 11914 | "type" : "hexstr", |
| 11915 | "value" : "0x00ff" |
| 11916 | } |
| 11917 | } |
| 11918 | }, |
| 11919 | "false_next" : null, |
Jonghwan Hyun | c235d46 | 2019-01-30 23:31:48 +0900 | [diff] [blame] | 11920 | "true_next" : "tbl_act_9" |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11921 | } |
| 11922 | ] |
| 11923 | } |
| 11924 | ], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11925 | "checksums" : [ |
| 11926 | { |
| 11927 | "name" : "cksum", |
| 11928 | "id" : 0, |
| 11929 | "source_info" : { |
| 11930 | "filename" : "include/checksums.p4", |
| 11931 | "line" : 32, |
| 11932 | "column" : 8, |
| 11933 | "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..." |
| 11934 | }, |
| 11935 | "target" : ["ipv4", "hdr_checksum"], |
| 11936 | "type" : "generic", |
| 11937 | "calculation" : "calc", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 11938 | "verify" : false, |
| 11939 | "update" : true, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11940 | "if_cond" : { |
| 11941 | "type" : "expression", |
| 11942 | "value" : { |
| 11943 | "op" : "d2b", |
| 11944 | "left" : null, |
| 11945 | "right" : { |
| 11946 | "type" : "field", |
| 11947 | "value" : ["ipv4", "$valid$"] |
| 11948 | } |
| 11949 | } |
| 11950 | } |
| 11951 | }, |
| 11952 | { |
| 11953 | "name" : "cksum_0", |
| 11954 | "id" : 1, |
| 11955 | "source_info" : { |
| 11956 | "filename" : "include/checksums.p4", |
| 11957 | "line" : 54, |
| 11958 | "column" : 8, |
| 11959 | "source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..." |
| 11960 | }, |
| 11961 | "target" : ["report_ipv4", "hdr_checksum"], |
| 11962 | "type" : "generic", |
| 11963 | "calculation" : "calc_0", |
Carmelo Cascone | a4dc3c1 | 2019-02-12 17:30:00 -0800 | [diff] [blame] | 11964 | "verify" : false, |
| 11965 | "update" : true, |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 11966 | "if_cond" : { |
| 11967 | "type" : "expression", |
| 11968 | "value" : { |
| 11969 | "op" : "d2b", |
| 11970 | "left" : null, |
| 11971 | "right" : { |
| 11972 | "type" : "field", |
| 11973 | "value" : ["report_ipv4", "$valid$"] |
| 11974 | } |
| 11975 | } |
| 11976 | } |
| 11977 | } |
| 11978 | ], |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 11979 | "force_arith" : [], |
| 11980 | "extern_instances" : [], |
| 11981 | "field_aliases" : [ |
| 11982 | [ |
| 11983 | "queueing_metadata.enq_timestamp", |
| 11984 | ["standard_metadata", "enq_timestamp"] |
| 11985 | ], |
| 11986 | [ |
| 11987 | "queueing_metadata.enq_qdepth", |
| 11988 | ["standard_metadata", "enq_qdepth"] |
| 11989 | ], |
| 11990 | [ |
| 11991 | "queueing_metadata.deq_timedelta", |
| 11992 | ["standard_metadata", "deq_timedelta"] |
| 11993 | ], |
| 11994 | [ |
| 11995 | "queueing_metadata.deq_qdepth", |
| 11996 | ["standard_metadata", "deq_qdepth"] |
| 11997 | ], |
| 11998 | [ |
| 11999 | "intrinsic_metadata.ingress_global_timestamp", |
| 12000 | ["standard_metadata", "ingress_global_timestamp"] |
| 12001 | ], |
| 12002 | [ |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 12003 | "intrinsic_metadata.egress_global_timestamp", |
| 12004 | ["standard_metadata", "egress_global_timestamp"] |
| 12005 | ], |
| 12006 | [ |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 12007 | "intrinsic_metadata.lf_field_list", |
| 12008 | ["standard_metadata", "lf_field_list"] |
| 12009 | ], |
| 12010 | [ |
| 12011 | "intrinsic_metadata.mcast_grp", |
| 12012 | ["standard_metadata", "mcast_grp"] |
| 12013 | ], |
| 12014 | [ |
| 12015 | "intrinsic_metadata.resubmit_flag", |
| 12016 | ["standard_metadata", "resubmit_flag"] |
| 12017 | ], |
| 12018 | [ |
| 12019 | "intrinsic_metadata.egress_rid", |
| 12020 | ["standard_metadata", "egress_rid"] |
Jonghwan Hyun | f5d5782 | 2018-05-09 10:19:50 -0700 | [diff] [blame] | 12021 | ], |
| 12022 | [ |
| 12023 | "intrinsic_metadata.recirculate_flag", |
| 12024 | ["standard_metadata", "recirculate_flag"] |
Carmelo Cascone | 9b607da | 2019-05-08 14:03:01 -0700 | [diff] [blame] | 12025 | ], |
| 12026 | [ |
| 12027 | "intrinsic_metadata.priority", |
| 12028 | ["standard_metadata", "priority"] |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 12029 | ] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 12030 | ], |
| 12031 | "program" : "int.p4", |
| 12032 | "__meta__" : { |
| 12033 | "version" : [2, 18], |
| 12034 | "compiler" : "https://github.com/p4lang/p4c" |
| 12035 | } |
Carmelo Cascone | 25243d6 | 2019-02-21 15:37:31 -0800 | [diff] [blame] | 12036 | } |