From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nfware-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=wdcecb3tx7tkoIOETXtruepSBO81bsdSzkqcHLogHFc=; b=ukzBRZxwNC15ZsxKyl0esPdsGm75TCIesfbIptIhiMou2Z7Q8y36JtO/FV5WMYDni+ KlaYYY0Zz2vO4nBvMt5/X+b83/1JWEkI7tlcymtk6OSj2uXGZKq3HcHxNuJpd8Rh3nZ8 feDOFgCwoqswwmqvpVg+l/sZO8BhGWMfqPEYIyUx5vaGMDVriLxOWRoSPPP3jJVYpd9T S1wB9jUOion8y1NXuhJbtwHcUEN3nCyTkdPPoJ+Y+NodYHqfdGiz/lJfBz7t+MbSVXNi tYbWCD2taenzGOEumUEaPLSQlAvGT1QyJ3D3rGxuQtBhNaIaA9RXa1DSD8wYtdSKY3AH BngQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=wdcecb3tx7tkoIOETXtruepSBO81bsdSzkqcHLogHFc=; b=B5Nw4DtepYfFuyeQ2vMz3clRPj+DMCdKz5hF3tMYQ3g1Fto7VHELCtG+9buvoXOJ0N EvNffjnnhqgDek5I92dbK3jw2WkYfBwQQM/4M1MVL0GinW7zCbXEpQOnPTeyYsAb+Hl4 Dm0N1BWcLARvMM8HRCOZ4O2cL2zrrZO+u1VN1EfknMMVKmlWi+zTcURSaRrLqbNX8TBX O4oV/qvf6VxgkpgP/7HZIRf085zPpegRYkPfNngd+ozrAxGY70L4L7kdsa16HbHbzRAD Sfp+zp6mK1kV0teNiI7h8TUNE8jvWCQd3YWyrog8qBSVHEPNp4K8SqnweMtpe2iY/ZQE X78w== X-Gm-Message-State: AD7BkJL7ZW1yTKsciBGu2UUb1a5nwpRXPb0xjpt0Gjuo1NbtP+r21aX3JR8QWcZyUDzCwQ== X-Received: by 10.25.90.3 with SMTP id o3mr674668lfb.147.1456494972467; 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) From: Igor Ryzhov Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <26CA3897-E24A-4B7B-918F-45679AA896E0@nfware.com> Date: Fri, 26 Feb 2016 16:56:09 +0300 To: dev@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) Subject: [dpdk-dev] Virtio xstats problem X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 13:56:13 -0000 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=