From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by dpdk.org (Postfix) with ESMTP id 6AB422BF0 for ; Mon, 22 Feb 2016 20:15:57 +0100 (CET) Received: by mail-lf0-f45.google.com with SMTP id l143so100636783lfe.2 for ; Mon, 22 Feb 2016 11:15:57 -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=WjjfDY2onl6UG3fpZpbc79BlCqdT2Yga/oNdTwXmqs8=; b=sxd7QAk5qSHMa2+BsLjPjoyCwXXKzARikRcJNs2g8cUKogGp856+gWNVHyXvldVx6b NdN8XdZpXHJITOP/8Aq271WEKk0rycH9+a4t+AdpcfIZVgsC+Pl6wghAULaCzIjJTlSh XgGdn5nTA4uw/NI65nglHu3PCjQGsSKUpBbTHMCrNNY2Lcy6yj/7Zv4s8JfYTVpAjrAG pKmTEUBRHTBsxgsqumru79rP2CyXCYkClsGNgHyw561VdwVP3PZdjN1gwKS1mE2WoByO JTDi5a0Ux4FUd31PT5aYCVbTZHMCpTIIf4hTGRDsGKxAlp3/h76iSE599BN58EHd1aye 2ddg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=WjjfDY2onl6UG3fpZpbc79BlCqdT2Yga/oNdTwXmqs8=; b=LMl1gmmlXVtwYE+2h2IKnhOXJdK4TDsPMCwpoMRVp5CnjX+RAiBVv8oExFSpXHQbQD IMF7eIq6bYxe+ZqIy+ZvKWbWy1cU0o58uHg721btBF7/8Eq0UL3ktjt/j4TUlPOilV4i EEMJXakm9eYJmDMEzIUIMiRUouoOYvrWNvCW2t/PQa+dq5gjvaysgClX77yIxCbeEEJN 8ZPyl8vjT0mfYclS8+fBEAwhcbofXV/oLRgjeDyOJLIYg5LmJ+WKKL+VLKKAsjD0g1JY Uln/5zlEUJFYU9sWfXyPXS8MUhU3b0jHuPL8vSE6EGzSVLMPdT8/7s3dxqhmkItw16D4 mI8w== X-Gm-Message-State: AG10YOT2vJ5PL3m+lrxpzpDGBMbuSPKmAOCwYg4Gz63FaNto1IjwxEab3KWvqjU+5D7tC7McjuLpHI0zJ2SlDA== MIME-Version: 1.0 X-Received: by 10.25.44.15 with SMTP id s15mr11076573lfs.81.1456168557163; Mon, 22 Feb 2016 11:15:57 -0800 (PST) Received: by 10.114.233.36 with HTTP; Mon, 22 Feb 2016 11:15:57 -0800 (PST) Date: Mon, 22 Feb 2016 11:15:57 -0800 Message-ID: From: Clarylin L To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [dpdk-virtio] DPDK stopped working on virtio 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: Mon, 22 Feb 2016 19:15:57 -0000 I am running DPDK application (testpmd) within a VM based on virtio. With the same hypervisor and same DPDK code, it used to work well. But it stopped working since last week. The VM's port could not receive anything. I ran tcpdump on host's physical port, bridge interface as well as vnet interface, and did see packets coming in. However on VM's port there was nothing. I ran gdb trying to debug, it hit function virtio_recv_mergeable_pkts(), but nb_used=VIRTQUEUE_NUSED(rxvq) always gave 0. I guess it's because the queue was empty. I enabled the PMD debug logging and the only thing that might be an issue was the following part. Other than this I could not see any thing that could indicate potential issues. Thu Feb 18 19:20:10 2016^@PMD: get_uio_dev(): Could not find uio resource Thu Feb 18 19:20:10 2016^@PMD: virtio_resource_init_by_ioports(): PCI Port IO found start=0xc040 with size=0x40 If someone can give any pointers that I should further look into, that'd be very helpful. Appreciate your help!