From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0048.outbound.protection.outlook.com [104.47.34.48]) by dpdk.org (Postfix) with ESMTP id 19F77239 for ; Sat, 16 Dec 2017 09:55:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ni8787SgWEvtFird3xeFsKnW8lDS8yAqZFNzUK6EQPI=; b=hW5Lv4CdLpXvG0nwYAPhHsU+WTNqOdzbqb/unUh2Se8rMIEgwCTFOJBU61nE52bcE6LT5240CddngnLWtU2FZ7fp4WpekpDFsgkwRQWrZW4hbekZIgPPxtmpEbP98660i7z6u+bT/wCymg9MR7P3KaPzXonFycyEmGANYws4utE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.200.203.28) by CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Sat, 16 Dec 2017 08:55:00 +0000 Date: Sat, 16 Dec 2017 14:24:42 +0530 From: Jerin Jacob To: "Van Haaren, Harry" Cc: "Eads, Gage" , "dev@dpdk.org" , "Richardson, Bruce" , "hemant.agrawal@nxp.com" , "nipun.gupta@nxp.com" , "santosh.shukla@caviumnetworks.com" Message-ID: <20171216085441.GB8023@jerin> References: <1512015636-31878-1-git-send-email-gage.eads@intel.com> <1512015636-31878-3-git-send-email-gage.eads@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [106.200.203.28] X-ClientProxiedBy: MA1PR0101CA0034.INDPRD01.PROD.OUTLOOK.COM (52.134.137.20) To CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ae90994b-80c0-4a4e-2325-08d54462b37e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 3:GLDBNXXY0424sUDUPKkqsE9ZeUNE9guUD6qm0VtOQiJq7EGLRBOoTFhV/CdGWNUiEHr7t98oOMgo+ftWnv2zg2+EoYIAA5ly+tMobFbc/brbwLFejB70OPKC2XuQxr+CHUPsZpAfv5l8Fxn2JG3WW2TiNbh87xC3141FxmmbUGIxJzKhhCtobtfyvhi4LrSEpOvpvuHhY7ju1NRZRkwU0rE7y28Ifw+YeXmLzcT8Cru0IHgs4e8xLrfrNAppssh/; 25:/6IJEW/qHv5PnAMmrZXZ/5EtLO2hq4tIx6zr6K83OoCUZDSdRMnn/wSRYPbJZoNPXE7WfYwF9hldRonqia9TidT5/2ztlBg7rq0HY6bNaD0tE1RDoGYTxpqlwjRNMHheG0Uio09TYTeoDldfLmYerpiDoDFfT0W+e1eX4qOCTK9GtC4eFmIkxFW/mWvDWOS83cRrdDUDTG6CZw40nv68I60Y1kU1apv8MZgv8hPVdG3GqOWcrTzacyB6oWZwE8oo5X7cnRybCOnmVAOsvCQlCmfZpZhSPqAC9/TQ3amBoh8jyO3KdYDinqlkK5ZlQpV5swv1fJkwoXorG2on9XdlAA==; 31:AgQ28RrEcv+PfQTYskhkIuOTWHNOycuQOi+NAQm7QSRbsK59A086dzCchZT7IoYme2zR4DcXyKUSTQR0gEY6p7w+E2Iax36KEpqopC7lsgoe9IkU3w3PNj89j/+cuRB7Wd58o/CO0vW7p2xuJVy99GUVyi5GJnnGubY1Fr2vNES9aXh+w2JSw6ld9Pggswf4pAJ+rPOpI+Xm7PBL0mA0s7AjGYAL9WK0R25loHyNFx4= X-MS-TrafficTypeDiagnostic: CO2PR07MB2517: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 20:KwbRkSckM/f9i8wzVMD1JHhi74iLrApXAJiw71Vf+DBrlNBIotcgi7Axzek44LVNKzdkuaZf8Fq/Q5a0MFOdh7YQmK3xrLCKTBCalUVsPFwvk/F5ZmjrHpvZz2mJW/WLatUBTzUTwU5aR4jJszWXnRLdJb9HANQq/cjiP6NsxpUpml/+mXoKozhJ0mMHgFUzlUtRJeA3LDhFnnclMeZMsxU8xkImY2y02/iLZ16SgyUvsagg7NRgU+OsATckfBqiCVdrQiPKiyBNbvpB2qRU/1jkejc7XmbvT7LtpZmrFmQ9dT2bP0xY11q+9RakOXDvCgCZCVkA6izEa3cyhWjxDcrBJ4ttfxYbgI7hdZP2ekBGZejy4KXNiJ2M82qwGmh+Pexuq/5kLHJDEBV1Eu0FrHjNWnX82ATwCGriwW0lqgiwPsfMABKJ9ojPIwbAR5PYlDxolLh4KvWp7dBizN0sJEUKPsrW9XHb7RghyieMAfmCeZnKWv/La2DuewNbfP8MfxYCu5kcNz6plZtH2U778ok8S9HEhvTruZBacbcZIojZTP9MNayT09REUCkeVjzPmacKgHNrfbitl2cU3BKZzTvubJpoxSE+K5JvoibSBXU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(35073007944872)(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(3231023)(3002001)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(20161123560025)(6072148)(201708071742011); SRVR:CO2PR07MB2517; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 4:pek/sgTU3XPvjKJycWPnlS1fsI2ct0m/M0zXjorPE36LEtSQjiqR7RA0leod40H96HCmlpq0C37pl8dF0CkaMB0zdEFUl8ZeaAIpedEOhffW6KRrbtreKUvNQBBmAOCRoaZZCOggnY5Mgcp3rfbyv3YZOAOpNQyZybdLC/htYIyeiAR+vxmCeDbKtqEosnbpBVEmOCnp+mPjJJG9qBHgKOqdmxufr7cg5o/l+EZIQDdTxplf3/D/cY61ptAzBZQCbDHT+4t1kXi/JiJRq8mvYupSTfb80+45iJH2Kl1Zh8QHi2iq5mgfLRsnESJx/xuNFe/txsL3o2tOyvlMYytuLPhfKGunStZ+/Z4OXZ7H0XKYfWw3efk5vmCEWsBCAf48 X-Forefront-PRVS: 0523CF0711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(376002)(346002)(366004)(13464003)(199004)(189003)(33716001)(68736007)(8656006)(105586002)(107886003)(4326008)(9686003)(53936002)(7736002)(16586007)(106356001)(53546011)(386003)(58126008)(54906003)(33656002)(97736004)(50466002)(66066001)(478600001)(2906002)(305945005)(8676002)(72206003)(42882006)(2950100002)(6246003)(47776003)(5660300001)(6666003)(1076002)(55016002)(229853002)(16526018)(81156014)(6116002)(316002)(5009440100003)(6916009)(3846002)(8936002)(83506002)(25786009)(52116002)(6496006)(23726003)(76176011)(33896004)(81166006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2517; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2517; 23:s30rZo+s2R+2Jn9uNAqGxO579r24vsMbq4FasdsuT?= =?us-ascii?Q?tZmoE81cENIYa5YomF0K4V8UDcvgoP/xMjStDuLjJkReNPrE8DzKu/Ya6jF3?= =?us-ascii?Q?Utlv7UV+l4UGhwNSGlTUCV7WzE0IW/AC8sLdsSoYTbjqGoLvIej5JuhhHgxH?= =?us-ascii?Q?Fq+z2yaZzmU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9n+UmT/B75h72uNd9hSPhFL3hnjxC/8ugZhocISLEdueG6u6edUpBFhf6Jy6p+UKRFEWYkCVsZSlvtKvXd+m8/dxVehkidHxOibQ5/kFeAt8doloUPzocdynw/SSun/B5xlHO2PLfpNw/WDROw3LRrp5YfiRxzUYZpwUNoASxU1/OzqrJUaucgiab9DflZlklbcZspfWyzTBNHAwVcr+bRRddCHTi+EyQDqXBOzv2ymhj9b SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2017 08:55:00.5258 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ae90994b-80c0-4a4e-2325-08d54462b37e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2517 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: Sat, 16 Dec 2017 08:55:07 -0000 -----Original Message----- > Date: Mon, 11 Dec 2017 13:42:08 +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" > Subject: RE: [PATCH 2/2] event/sw: simplify credit scheme > > > -----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 > > > > 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. > > > > Signed-off-by: Gage Eads > > Acked-by: Harry van Haaren Applied this series to dpdk-next-eventdev/master. Thanks.