aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/vmxnet3/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vmxnet3/input.c b/src/plugins/vmxnet3/input.c
index b1f28346de8..64fdf1c300c 100644
--- a/src/plugins/vmxnet3/input.c
+++ b/src/plugins/vmxnet3/input.c
@@ -437,7 +437,7 @@ vmxnet3_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
vlib_increment_combined_counter
(vnm->interface_main.combined_sw_if_counters +
VNET_INTERFACE_COUNTER_RX, thread_index,
- vd->hw_if_index, n_rx_packets, n_rx_bytes);
+ vd->sw_if_index, n_rx_packets, n_rx_bytes);
}
error = vmxnet3_rxq_refill_ring0 (vm, vd, rxq);