dpdk: be a plugin
[vpp.git] / src / vpp / api / gmon.c
index b28608f..610f40e 100644 (file)
@@ -137,7 +137,8 @@ gmon_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f)
       *gm->vector_rate_ptr = vector_rate;
       now = vlib_time_now (vm);
       dt = now - last_runtime;
-      input_packets = vnet_get_aggregate_rx_packets ();
+      // TODO
+      //input_packets = vnet_get_aggregate_rx_packets ();
       *gm->input_rate_ptr = (f64) (input_packets - last_input_packets) / dt;
       last_runtime = now;
       last_input_packets = input_packets;