commit | 8e5818dc65b8e3c6362d0bfc1c01bff0c06c694a | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@opennetworking.org> | Fri Oct 26 11:45:23 2018 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Fri Oct 26 19:42:11 2018 +0000 |
tree | 76d2070d0304278beb31a3614a0f45c18f092dbe | |
parent | b7a595855caf40415f8c6f4065da2990e35c3a62 [diff] [blame] |
In fabric.p4 do not parse int_data if sink is not enabled Change-Id: Ie4d5b9ccdf31ea1142945365fca7db7b8d4ae3f9
diff --git a/pipelines/fabric/src/main/resources/include/parser.p4 b/pipelines/fabric/src/main/resources/include/parser.p4 index 3f77df9..6aef63b 100644 --- a/pipelines/fabric/src/main/resources/include/parser.p4 +++ b/pipelines/fabric/src/main/resources/include/parser.p4
@@ -263,7 +263,9 @@ packet.emit(hdr.int_q_congestion); packet.emit(hdr.int_egress_tx_util); #endif // WITH_INT_TRANSIT +#ifdef WITH_INT_SINK packet.emit(hdr.int_data); +#endif // WITH_INT_SINK packet.emit(hdr.intl4_tail); #endif // WITH_INT }