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 D9F16199B3 for ; Mon, 11 Dec 2017 14:42:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2017 05:42:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,391,1508828400"; d="scan'208";a="1817743" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga007.jf.intel.com with ESMTP; 11 Dec 2017 05:42:09 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.180]) by IRSMSX152.ger.corp.intel.com ([169.254.6.87]) with mapi id 14.03.0319.002; Mon, 11 Dec 2017 13:42:09 +0000 From: "Van Haaren, Harry" To: "Eads, Gage" , "dev@dpdk.org" CC: "jerin.jacob@caviumnetworks.com" , "Richardson, Bruce" , "hemant.agrawal@nxp.com" , "nipun.gupta@nxp.com" , "santosh.shukla@caviumnetworks.com" Thread-Topic: [PATCH 2/2] event/sw: simplify credit scheme Thread-Index: AQHTaZKf8EmVUFIOEEiTzWXbu2L1DKM+OF3A Date: Mon, 11 Dec 2017 13:42:08 +0000 Message-ID: References: <1512015636-31878-1-git-send-email-gage.eads@intel.com> <1512015636-31878-3-git-send-email-gage.eads@intel.com> In-Reply-To: <1512015636-31878-3-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmExYTg4OTktOGFkNC00MDQ4LWExOTktMDNiNDI3ODVhMGVhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ikg0eHdEWVdGYmVYRGhMbVFrNWd5UENnVlkzRHpZczdxdXdwMmk4Mml3Skk9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/2] event/sw: simplify credit scheme 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 Dec 2017 13:42:12 -0000 > -----Original Message----- > From: Eads, Gage > Sent: Thursday, November 30, 2017 4:21 AM > To: dev@dpdk.org > Cc: jerin.jacob@caviumnetworks.com; Van Haaren, Harry > ; Richardson, Bruce > ; hemant.agrawal@nxp.com; nipun.gupta@nxp.com= ; > santosh.shukla@caviumnetworks.com > Subject: [PATCH 2/2] event/sw: simplify credit scheme >=20 > This commit modifies the sw PMD credit scheme such that credits are > consumed when enqueueing a NEW event and released when an event is > released -- typically, the beginning and end of a pipeline. Workers that > simply forward events do not interact with the credit pool. >=20 > Signed-off-by: Gage Eads Acked-by: Harry van Haaren