From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id D88F0B55 for ; Fri, 6 Feb 2015 16:18:51 +0100 (CET) Received: by mail-wi0-f182.google.com with SMTP id n3so3164604wiv.3 for ; Fri, 06 Feb 2015 07:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Y1F83YUYS48rKqyPL+NoBKYwhopEv8uGfAgqDoUEx9M=; b=o2a0xP7MB3cZfexyi+79tcTFKidg5dyw8k39ObYUhv/m8DBH5BChG0YpXZcnTDUzgV 7tC+p2Xz70iVMNOEcI9DaKt8+wHmHdT2zqbLFpk+PdApRo040w8iSKBhjbCNqQulgzi3 lTZy7Q8IAYFkI/UH3zFFbjwLCWFC8HqTmnvmjzOpbkD3CGg/dROiaf2cgXs0avqvlrCA LZhNYDvo/in3jxv5PX/asCb6APFSfpX9gaGq7vZbxLEYbW7StQ/3WWZ7Bjvq8R8WnO0e 03R05vaBNTYMW5oyBoXjzQ81JoR9aUxbCc1/y2K9w29bsnniwUtbmQM51CFoBtpK5yaw D7/Q== MIME-Version: 1.0 X-Received: by 10.180.189.52 with SMTP id gf20mr4235525wic.27.1423235931711; Fri, 06 Feb 2015 07:18:51 -0800 (PST) Received: by 10.216.192.194 with HTTP; Fri, 6 Feb 2015 07:18:51 -0800 (PST) Date: Fri, 6 Feb 2015 20:48:51 +0530 Message-ID: From: Srinivasreddy R To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [discuss]emulated e1000 device with qemu is not showing nic stats correctly 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, 06 Feb 2015 15:18:52 -0000 Hi , I have emulated virtual e1000 device using qemu . I have binded to igb_uio . and run PacketGen . Now I am able to receive and transmit packets on the device . But PacketGen is not showing Tx/Rx Rate . I have put printed struct rte_eth_stats after fetching nic stats . except tx, rx packet count all the other fields are zeroes . I am facing the same issue with my dpdk application . Is it a bug / known issue ? . I have used dpdk1.7. Have any faced it earlier . qemu: qemu-system-x86_64 -device e1000 .. on the VM : # lspci 00.03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03) my dpdk app eal_inti : EAL: core 1 is ready (tid=2b7fe700) EAL: PCI device 0000.00.03.0 on NUMA socket -1 EAL: probe driver: 8086:100e rte_em_pmd EAL: PCI memory mapped at 0x7f602c96e000 dpdk_nic_bind.py --status Network devices using DPDK-compatible driver ==================================== 0000:00:03:0 '82540EM Gigabit Ethernet controller' drv=igb_uio unused= Thanks Srinivas.