commit | 5a2de713cbeead0eb66f86867abfc4a0e958ac2e | [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:39 2019 +0000 |
tree | 04c2fef8c8aecd795b91042ec526bcdc8841b1f5 | |
parent | 71ba99f75a206c2875c43a2a1b5ff45415aea8f7 [diff] |
eth_type moved outside ethernet header in fabric.p4 Change-Id: I3ae0813c5e8aba48767d5bb235fbbcfb75954010 (cherry picked from commit 693d76f189c59579837b559975c0ba767335dfc0)
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();