From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6E70DCF9 for ; Wed, 28 Jan 2015 10:51:14 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 28 Jan 2015 01:46:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,480,1418112000"; d="scan'208";a="677245518" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by orsmga002.jf.intel.com with ESMTP; 28 Jan 2015 01:51:11 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 28 Jan 2015 17:51:09 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.253]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.168]) with mapi id 14.03.0195.001; Wed, 28 Jan 2015 17:51:08 +0800 From: "Xie, Huawei" To: Linhaifeng , "dpd >> dev@dpdk.org" , "ms >> Michael S. Tsirkin" Thread-Topic: vhost: virtio-net rx-ring stop work after work many hours,bug? Thread-Index: AQHQOgcCYQI4H7uE0kCLcd/DGzqF5pzVQdSQ Date: Wed, 28 Jan 2015 09:51:07 +0000 Message-ID: References: <54C744D9.3060900@huawei.com> In-Reply-To: <54C744D9.3060900@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "liuyongan@huawei.com" Subject: Re: [dpdk-dev] vhost: virtio-net rx-ring stop work after work many hours, bug? 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: Wed, 28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