commit | 693d76f189c59579837b559975c0ba767335dfc0 | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Tue Sep 24 14:34:07 2019 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Fri Nov 01 17:51:32 2019 +0000 |
tree | 2bb25515d10d2b29fffee38a51bb1c1f2271c195 | |
parent | 9fb3e697da1064872136983823e7164ea992bf42 [diff] [blame] |
eth_type moved outside ethernet header in fabric.p4 Change-Id: I3ae0813c5e8aba48767d5bb235fbbcfb75954010
diff --git a/pipelines/fabric/impl/src/main/resources/include/int/int_report.p4 b/pipelines/fabric/impl/src/main/resources/include/int/int_report.p4 index 8c48ba2..aaec185 100644 --- a/pipelines/fabric/impl/src/main/resources/include/int/int_report.p4 +++ b/pipelines/fabric/impl/src/main/resources/include/int/int_report.p4
@@ -50,7 +50,7 @@ hdr.report_ethernet.setValid(); hdr.report_ethernet.dst_addr = mon_mac; hdr.report_ethernet.src_addr = src_mac; - hdr.report_ethernet.eth_type = ETHERTYPE_IPV4; + hdr.report_eth_type.value = ETHERTYPE_IPV4; //Report IPV4 Header hdr.report_ipv4.setValid();