aboutsummaryrefslogtreecommitdiffstats
path: root/cicn-plugin/cicn/node.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2017-09-15 14:19:15 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2017-09-15 14:19:15 +0200
commit21789cc0fe37843e8102da39799d352ae45f5432 (patch)
treef033d56bb0058aee4c98d74832d5ca5e6e8d991a /cicn-plugin/cicn/node.c
parenta408e921ab55158aa8ada1fdf85a59cc44b8d10e (diff)
Removed option --with-plugin-tookit from automake. cicn-plugin is always compiled with the vpp plugin toolkit enabled
Change-Id: Ie607b242985a147f3884652b42485cf5660d4956 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'cicn-plugin/cicn/node.c')
-rw-r--r--cicn-plugin/cicn/node.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cicn-plugin/cicn/node.c b/cicn-plugin/cicn/node.c
index 8ef0453b..0279df84 100644
--- a/cicn-plugin/cicn/node.c
+++ b/cicn-plugin/cicn/node.c
@@ -230,10 +230,6 @@ icnfwd_node_fn (vlib_main_t * vm,
vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
- /* TODO -- just doing 1-at-a-time for now, to simplify things a bit. */
-
- /* TODO -- more interesting stats and trace */
-
while (n_left_from > 0 && n_left_to_next > 0)
{
u32 bi0;
@@ -280,7 +276,6 @@ icnfwd_node_fn (vlib_main_t * vm,
/* Dequeue a packet buffer */
bi0 = from[0];
- BUFTRC ("CICN-SW", bi0);
from += 1;
n_left_from -= 1;
@@ -1350,8 +1345,6 @@ icnfwd_node_fn (vlib_main_t * vm,
/* Incr packet counter */
pkts_processed += 1;
- BUFTRC ((next0 == ICNFWD_NEXT_ERROR_DROP) ? "DROPTX1" : "ICN-TX1",
- bi0);
/* Verify speculative enqueue, maybe switch current next frame */
vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
to_next, n_left_to_next,