From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Ryzhov Subject: Virtio xstats problem Date: Fri, 26 Feb 2016 16:56:09 +0300 Message-ID: <26CA3897-E24A-4B7B-918F-45679AA896E0@nfware.com> Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable To: dev@dpdk.org Return-path: Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by dpdk.org (Postfix) with ESMTP id D7C023990 for ; Fri, 26 Feb 2016 14:56:12 +0100 (CET) Received: by mail-lf0-f45.google.com with SMTP id m1so53929554lfg.0 for ; Fri, 26 Feb 2016 05:56:12 -0800 (PST) Received: from mbp-igor.arccn.local?arccn.lab?nfware.lab (vpn.arccn.ru. [95.182.74.2]) by smtp.gmail.com with ESMTPSA id ga6sm1815799lbc.32.2016.02.26.05.56.11 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Feb 2016 05:56:11 -0800 (PST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello. I found some problem with virtio xstats counters. Example: rx_good_packets: 3 rx_good_bytes: 180 rx_errors: 0 rx_q0_good_packets: 3 rx_q0_good_bytes: 180 rx_q0_errors: 0 rx_q0_multicast_packets: 3 rx_q0_broadcast_packets: 1 rx_q0_undersize_packets: 3 It means that undersize packets are counted as good packets instead of = errors. Or maybe size of packet is calculated wrong. I don't have time now to check it more deeply - I can do it sometime = later, but maybe someone want to help. PS. Is it a common practice to count broadcast packets twice - in = broadcast and multicast counters? Best regards, Igor=