From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id E77335A43 for ; Thu, 9 Apr 2015 21:37:20 +0200 (CEST) Received: by wizk4 with SMTP id k4so104577766wiz.1 for ; Thu, 09 Apr 2015 12:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nkALtIx5wUlZiwfX1P1ykx20bCZ1mRVggXn9PKSPhJU=; b=IlJ7PetnF8HKeD/TfaN9kAOx+dL6y3XShEZakBflEa3GKz9hCpEQn7ql3J04scCpGJ xisN7MQoIAmiKdieFTnRtfYCHZAt9REsriVVimAZYY2vuouzbNAMSxxk7OsjJDTrTSNs FxoXr3g3Uw1HCZnflyozNwEPZI5LCwPbWPmrKIvSEuKVU8KcSoK3URuTPIWdAffLd+2j YDaU9/CQKQTxw4v3d7L632lHYkVVSafU0ERixoRPChFylSOru0Zc2Xpfqph+T7MTQ8ui nYX+SgLxRI5Vs8D/kIJqqaBxMnxR/d//EHEhhMpVZfroDqYTY7fAPmDSOtchLJipG88r phTA== MIME-Version: 1.0 X-Received: by 10.180.97.164 with SMTP id eb4mr4592148wib.3.1428608240860; Thu, 09 Apr 2015 12:37:20 -0700 (PDT) Received: by 10.27.125.87 with HTTP; Thu, 9 Apr 2015 12:37:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Apr 2015 01:07:20 +0530 Message-ID: From: Srinivasreddy R To: "Xie, Huawei" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Thu, 09 Apr 2015 19:37:21 -0000 thanks a lot .. great help . On Wed, Apr 8, 2015 at 8:10 PM, Xie, Huawei wrote: > On 4/6/2015 6:42 PM, Srinivasreddy R wrote: > > Hi, > > I have observed packet loss with usvhost dpdk interfaces even at a very > > small rate . > > This is because virtqueue [dev->virtqueue] is found to be full, > > and my application should drop the packets . > Maybe your virtio guest is slow in processing the packets. > Could you refer to the retry mechanism in the vhost example? search > enable_retry in switch_worker in examples/vhost/main.c. > > > > some one pls help me , > > how can I avoid this loss . > > > > -------- > > thanks > > srinivas. > > > > > >