devices: vnet_get_aggregate_rx_packets should not be dpdk specific
[vpp.git] / src / vnet / devices / ssvm / node.c
index 3a695b1..a6c9dfd 100644 (file)
@@ -287,6 +287,8 @@ out:
      + VNET_INTERFACE_COUNTER_RX, cpu_index,
      intfc->vlib_hw_if_index, rx_queue_index, n_rx_bytes);
 
+  vnet_device_increment_rx_packets (cpu_index, rx_queue_index);
+
   return rx_queue_index;
 }