commit | 0cecfe14e0e2fa8ca03973577a4e967202fd0daa | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Fri Dec 13 17:24:33 2019 -0800 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Mon Dec 16 18:22:43 2019 +0000 |
tree | 8da2e5d832a5e8cf0b0e109176f766d7ca455c5a | |
parent | dad2343d0747ac45eea0f1a8d9bfceb57a850a5d [diff] [blame] |
Fixes to fabric.p4 pipeline - Fix ethernet matching fields in ACL (dst and src were inverted) - When doing punt_to_cpu after setting a multicast group clear the mcast_grp metadata field Change-Id: I456566929b118188a1b2a40ff3f4de4c6c63d5bb
diff --git a/pipelines/fabric/impl/src/main/resources/include/bng.p4 b/pipelines/fabric/impl/src/main/resources/include/bng.p4 index 5deb8ee..29537bf 100644 --- a/pipelines/fabric/impl/src/main/resources/include/bng.p4 +++ b/pipelines/fabric/impl/src/main/resources/include/bng.p4
@@ -42,6 +42,9 @@ action punt_to_cpu() { smeta.egress_spec = CPU_PORT; + // Clean the multicast group, otherwise multicast decision + // will override the punting to CPU action + smeta.mcast_grp = 0; c_control.count(fmeta.bng.line_id); }