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 0036F8E85 for ; Wed, 25 Nov 2015 03:51:45 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 24 Nov 2015 18:51:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,341,1444719600"; d="scan'208";a="693874334" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 24 Nov 2015 18:51:44 -0800 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Nov 2015 18:51:43 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Nov 2015 18:51:44 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.83]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.88]) with mapi id 14.03.0248.002; Wed, 25 Nov 2015 10:51:42 +0800 From: "Xie, Huawei" To: Yuanhan Liu , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] virtio: fix rx ring descriptor starvation Thread-Index: AdEnLDZY1clOw+YwQ8y+r2GXRAF+4Q== Date: Wed, 25 Nov 2015 02:51:42 +0000 Message-ID: References: <1447407013-6986-1-git-send-email-tkiely@brocade.com> <1980495.CSRm2jjoLQ@xps13> <20151125015001.GL2325@yliu-dev.sh.intel.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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] virtio: fix rx ring descriptor starvation 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, 25 Nov 2015 02:51:46 -0000 On 11/25/2015 9:47 AM, Yuanhan Liu wrote:=0A= > On Tue, Nov 24, 2015 at 10:20:22PM +0100, Thomas Monjalon wrote:=0A= >> Any review, please?=0A= > Huawei, would you review it? Sorry that I've not read too much=0A= > code about virtio PMD driver yet.=0A= Np. will do it by end of this week.=0A= >=0A= > --yliu=0A= >=0A= >=0A= >> 2015-11-13 09:30, Tom Kiely:=0A= >>> If all rx descriptors are processed while transient=0A= >>> mbuf exhaustion is present, the rx ring ends up with=0A= >>> no available descriptors. Thus no packets are received=0A= >>> on that ring. Since descriptor refill is performed post=0A= >>> rx descriptor processing, in this case no refill is=0A= >>> ever subsequently performed resulting in permanent rx=0A= >>> traffic drop.=0A= >>>=0A= >>> Signed-off-by: Tom Kiely =0A= =0A=