From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: em1000 driver lockup in KVM Date: Fri, 22 Jul 2016 15:39:32 -0700 Message-ID: <20160722153932.15d08ef9@xeon-e3> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: users@dpdk.org, dev@dpdk.org To: Prabahar Radhakrishnan Return-path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id AF8D156A9 for ; Sat, 23 Jul 2016 00:39:17 +0200 (CEST) Received: by mail-pf0-f179.google.com with SMTP id x72so45204081pfd.2 for ; Fri, 22 Jul 2016 15:39:17 -0700 (PDT) In-Reply-To: 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, 22 Jul 2016 14:19:29 -0700 Prabahar Radhakrishnan wrote: > Hi, > I was running a dpdk application with e1000 driver and I am facing a > rare driver lockup condition. Under this condition, what I am seeing is > that the Receive side locks up. The transmit side is fine. When I execute > "rte_eth_dev_stop()/rte_eth_dev_start()" from within the VM, the dpdk > application recovers. The lockup happens once in 2 or 3 days if I > continuously ping an IP address serviced by the dpdk application. Once it > locks up, what I am noticing is that even though packets are coming in, the > driver is not populating them and signaling the event. In other words, in > "eth_em_recv_pkts" call, I am not seeing "E1000_RXD_STAT_DD" being set for > status, and the driver bails out. If anyone has come across such > condition, please let me know? Appreciate the help. > > Environment: I have a VM running on top of Ubuntu/KVM. > Application: Running dpdk-2.0.0. > VM: uses e1000 driver. > On the KVM side, our port is sitting in a bridge. There are other VNFs > that we use for testing and some of them are using virtio driver. > > Thank You > regards Prab Save yourself lots of pain, use virtio not e1000 with DPDK. The emulation of E1000 in QEMU is very limited and DPDK expects real hardware. Lots of features and control are missing.