From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 193C911C5 for ; Wed, 8 Apr 2015 16:40:17 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 08 Apr 2015 07:40:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,544,1422950400"; d="scan'208";a="692215864" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by fmsmga001.fm.intel.com with ESMTP; 08 Apr 2015 07:40:17 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 8 Apr 2015 22:40:15 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.24]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.80]) with mapi id 14.03.0224.002; Wed, 8 Apr 2015 22:40:14 +0800 From: "Xie, Huawei" To: Srinivasreddy R Thread-Topic: [dpdk-dev] packet loss in usvhost dpdk interface Thread-Index: AdByCewsKpjJDSpGR9+awTNu85HAIg== Date: Wed, 8 Apr 2015 14:40:14 +0000 Message-ID: References: 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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] packet loss in usvhost dpdk interface 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, 08 Apr 2015 14:40:18 -0000 On 4/6/2015 6:42 PM, Srinivasreddy R wrote:=0A= > Hi,=0A= > I have observed packet loss with usvhost dpdk interfaces even at a very= =0A= > small rate .=0A= > This is because virtqueue [dev->virtqueue] is found to be full,=0A= > and my application should drop the packets .=0A= Maybe your virtio guest is slow in processing the packets.=0A= Could you refer to the retry mechanism in the vhost example? search=0A= enable_retry in switch_worker in examples/vhost/main.c.=0A= >=0A= > some one pls help me ,=0A= > how can I avoid this loss .=0A= >=0A= > --------=0A= > thanks=0A= > srinivas.=0A= >=0A= >=0A= =0A=