From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ8jF-00055r-NU for qemu-devel@nongnu.org; Mon, 01 Feb 2016 02:16:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQ8jC-00059s-HU for qemu-devel@nongnu.org; Mon, 01 Feb 2016 02:16:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ8jC-00059b-CJ for qemu-devel@nongnu.org; Mon, 01 Feb 2016 02:16:50 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 1A63CC09FA92 for ; Mon, 1 Feb 2016 07:16:50 +0000 (UTC) References: <1454264009-24094-1-git-send-email-wexu@redhat.com> <1454264009-24094-11-git-send-email-wexu@redhat.com> From: Jason Wang Message-ID: <56AF0656.4040409@redhat.com> Date: Mon, 1 Feb 2016 15:16:38 +0800 MIME-Version: 1.0 In-Reply-To: <1454264009-24094-11-git-send-email-wexu@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC Patch v2 10/10] virtio-net rsc: Add Receive Segment Coalesce statistics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: wexu@redhat.com, qemu-devel@nongnu.org Cc: marcel@redhat.com, victork@redhat.com, dfleytma@redhat.com, yvugenfi@redhat.com, mst@redhat.com On 02/01/2016 02:13 AM, wexu@redhat.com wrote: > From: Wei Xu > > Add statistics to log what happened during the process. > > Signed-off-by: Wei Xu > --- > hw/net/virtio-net.c | 49 +++++++++++++++++++++++++++++++++++++++++++--- > include/hw/virtio/virtio.h | 33 +++++++++++++++++++++++++++++++ > 2 files changed, 79 insertions(+), 3 deletions(-) Statistics is good, but need a way for reporting it to either end-user (ethtool?) or developer (log, trace or other things).