From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: 10G Interface used as PCI Pass-Through reports 64bytes / packet Date: Mon, 29 Jun 2015 10:18:32 +0100 Message-ID: <20150629091832.GA10380@bricha3-MOBL3> References: <9478F0FB69DAA249AF0A9BDA1E6ED95218841F3C@US70TWXCHMBA07.zam.alcatel-lucent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Assaad, Sami (Sami)" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9E4F4C47E for ; Mon, 29 Jun 2015 11:18:36 +0200 (CEST) Content-Disposition: inline In-Reply-To: <9478F0FB69DAA249AF0A9BDA1E6ED95218841F3C@US70TWXCHMBA07.zam.alcatel-lucent.com> 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" On Fri, Jun 26, 2015 at 04:56:18PM +0000, Assaad, Sami (Sami) wrote: > Hello, > > Is it normal that a 10G NIC interface, supporting the 82599 Ethernet Controller, configured as PCI Pass-through for a virtual machine using DPDK, reports 64 bytes per packet; no matter what the packet size? > That would not be expected behaviour, no. AFAIK, the 82599 NIC counters should behave in the same way whether or not it is passed through to a VM or used on a host. > If so; I'm assuming this is to improve the performance of passing the network traffic to the VM. Is there a way to configure the NIC to properly present the proper byte count/packet? > I'm not sure what you mean here. I can't see how the reporting of byte-counts would affect performance. Can you clarify what exactly you are seeing, and why you think there is a performance benefit because of it? /Bruce > Thanks in advance. > > Best Regards, > Sami.