From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 793C52C05 for ; Mon, 11 Sep 2017 10:55:21 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2017 01:55:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,376,1500966000"; d="scan'208";a="1013099445" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga003.jf.intel.com with ESMTP; 11 Sep 2017 01:55:18 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 11 Sep 2017 09:55:14 +0100 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.59]) by irsmsx155.ger.corp.intel.com ([169.254.14.70]) with mapi id 14.03.0319.002; Mon, 11 Sep 2017 09:55:14 +0100 From: "Van Haaren, Harry" To: "Eads, Gage" , "dev@dpdk.org" CC: Jerin Jacob Thread-Topic: [PATCH] event/sw: allow fwd and rel when out of credits Thread-Index: AQHTKM1ph9Uk7v1xjkiRbjn0Ecr8fKKvZF6AgAABJaA= Date: Mon, 11 Sep 2017 08:55:13 +0000 Message-ID: References: <1504894072-15735-1-git-send-email-gage.eads@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDZiM2RiN2QtODhiOS00MGEzLTg1OGItOWY2YTk4ODA4Nzk3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IlNCUkxqMCtPc3VONUM5cjdoeXFqTTlBVDR2K0pzd2dSS0pXSENDMzhRMTA9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] event/sw: allow fwd and rel when out of credits X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2017 08:55:21 -0000 Re-send fixing Jerin's email; > From: Van Haaren, Harry > Sent: Monday, September 11, 2017 9:53 AM > To: Eads, Gage ; dev@dpdk.org > Cc: jerin.jacon@caviumnetworks.com > Subject: RE: [PATCH] event/sw: allow fwd and rel when out of credits >=20 > > From: Eads, Gage > > Sent: Friday, September 8, 2017 7:08 PM > > To: dev@dpdk.org > > Cc: Van Haaren, Harry ; > > jerin.jacon@caviumnetworks.com > > Subject: [PATCH] event/sw: allow fwd and rel when out of credits > > > > When forwarding or releasing events, the operation would fail if the po= rt > > has 0 inflight credits and cannot acquire more, or the inflight count > > exceeds the port's new event threshold. > > > > This patch fixes that by counting the number of new events in the burst= , > > and applying the credit and new event threshold checks accordingly. > > > > Signed-off-by: Gage Eads >=20 > Acked-by: Harry van Haaren