commit | cd03f07fb7613f84db710d5a54eaf4f6b8b49b29 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Fri Aug 31 17:46:37 2018 -0700 |
committer | Charles Chan <charles@opennetworking.org> | Wed Sep 05 16:24:26 2018 +0000 |
tree | 2b482f674fc1289e767d0c744ca3384849558029 | |
parent | 91ea972a0455dfd6502def7330d8522f2553322d [diff] [blame] |
Implement NOP in routing v4 table Change-Id: Ia238cf88eb1ed5e23309f3b2cab7f1403f30dafe
diff --git a/pipelines/fabric/src/main/resources/include/control/forwarding.p4 b/pipelines/fabric/src/main/resources/include/control/forwarding.p4 index 89eb35a..7c69092 100644 --- a/pipelines/fabric/src/main/resources/include/control/forwarding.p4 +++ b/pipelines/fabric/src/main/resources/include/control/forwarding.p4
@@ -84,6 +84,10 @@ routing_v4_counter.count(); } + action nop_routing_v4() { + routing_v4_counter.count(); + } + table routing_v4 { key = { hdr.ipv4.dst_addr: lpm; @@ -91,6 +95,7 @@ actions = { set_next_id_routing_v4; + nop_routing_v4; } counters = routing_v4_counter; }