From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <prab@viptela.com>
Received: from mail-it0-f46.google.com (mail-it0-f46.google.com
 [209.85.214.46]) by dpdk.org (Postfix) with ESMTP id 45E605682
 for <dev@dpdk.org>; Fri, 22 Jul 2016 23:47:53 +0200 (CEST)
Received: by mail-it0-f46.google.com with SMTP id f6so7619276ith.0
 for <dev@dpdk.org>; Fri, 22 Jul 2016 14:47:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=viptela-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=SIYnJisVSVdKOs+Wc8g5lLmUw3AXmK10AgCGDGKdGgE=;
 b=0Qfp6cmOxkIeCKWyYUdxrEr2GO1rZ5tYT9Ch9FdMjnS7c2w6Tb12Bfcnt6LJN1ylqu
 IlaC7e8oCO/H3ncOMoGbI8q/oW8maeiEUjm38/wQV9bQcOx5D0Z3aDBvEqFXUdHvyKzl
 qZMY2o60T8mDWsms90LLQdUsZuxqmEeHBXnDiiaQNWk4RYx5sVDLHgRc+3H4SJFZzS9t
 vdat9/0b6RO3tadROnijqHK/HNcneR07v4etLUp+ZAOpLYxV0pQCFMg4DtiEEdFXw/Up
 3ZM5pmCC5Q6qVLT0oLM/6s2lmwY4F9YoTEhYazjzaewCpMsZKkqf+lnQVkCh5tk4zmwi
 xxVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=SIYnJisVSVdKOs+Wc8g5lLmUw3AXmK10AgCGDGKdGgE=;
 b=bbCj/Wr7d40g1fYXMtqXhUzGJcJxQmjqY/IaqkN4yeyO3q2gGNpH9tXsbe1UgzVYVH
 MxKnQTrTmuooiwsuMzGpf8dNAqo/497emv0Ytijrxgol2EpAYvyLK7QI7HqjjyEP5FSn
 jcb70ByHJsC8dWNyAJqhUxVHftmQC5pRDc+K6j4pbFCJffl+/2ihEYXZ+BX3dCTGd+vR
 E+b9HoDJ63RnpbqYjp5X/TnFQfdoeIKZF/bBHO9WZmpmYMUN0MntPjrdFNrdP6jg1WO0
 YDN0u4WYAOqpa5vfeqH1f5fabXXNGOkAHyUmh+TndzUIcRDit1sXgN4Ps6XGdDYj2zVG
 fD1w==
X-Gm-Message-State: AEkoouv/UlEryulrb52ils9mZXO9WxB09+kN/uJFeLPp/+c3WP6YY37uUKsSmHzJfUAg06GBOPsoT8Jg8HZQ7w==
X-Received: by 10.36.107.211 with SMTP id v202mr6565048itc.51.1469222408406;
 Fri, 22 Jul 2016 14:20:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.25.130 with HTTP; Fri, 22 Jul 2016 14:19:29 -0700 (PDT)
From: Prabahar Radhakrishnan <prab@viptela.com>
Date: Fri, 22 Jul 2016 14:19:29 -0700
Message-ID: <CABgWcYrVuiEa0O5W0v4W1kzgQUNHCUugGb_f8TCy7NyNNAi6BA@mail.gmail.com>
To: users@dpdk.org, dev@dpdk.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [dpdk-dev] em1000 driver lockup in KVM
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 21:47:53 -0000

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