diff options
author | Damjan Marion <damarion@cisco.com> | 2018-11-22 15:45:54 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-11-22 15:45:54 +0100 |
commit | befe691f4c30c8a16cb23fe97c62770e44b56c03 (patch) | |
tree | 832160dae58d94987039c505ff12d292bdeca158 /src/vnet/devices/virtio/vhost_user_input.c | |
parent | 5ba9159a157141554e53af9821c8da07a93da7ff (diff) |
vhost-user: fix input node runtime stats
Change-Id: Idda43d1236889ef91d8c37faf98ae23a19de688c
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/vhost_user_input.c')
-rw-r--r-- | src/vnet/devices/virtio/vhost_user_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/vhost_user_input.c b/src/vnet/devices/virtio/vhost_user_input.c index 664fc38a5d3..6c3f6aad55c 100644 --- a/src/vnet/devices/virtio/vhost_user_input.c +++ b/src/vnet/devices/virtio/vhost_user_input.c @@ -631,8 +631,8 @@ VLIB_NODE_FN (vhost_user_input_node) (vlib_main_t * vm, { vui = pool_elt_at_index (vum->vhost_user_interfaces, dq->dev_instance); - n_rx_packets = vhost_user_if_input (vm, vum, vui, dq->queue_id, node, - dq->mode); + n_rx_packets += vhost_user_if_input (vm, vum, vui, dq->queue_id, node, + dq->mode); } } |