From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0088.outbound.protection.outlook.com [104.47.40.88]) by dpdk.org (Postfix) with ESMTP id A30639E3 for ; Thu, 30 Mar 2017 20:07:51 +0200 (CEST) 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=gSxQuFfVM+Qx5QdJrQegDpYZPOxrApNGuW7omcOO5SA=; b=c7+YGyrNIy61Inev7LZUaDIHrMdITDwVS7G+ANPNwv1Nx39JkC/9LnDfcmpY8S7HjjSFgNnF/cuwAhLlD6y67NeBveYPKYCQf8hGxPYxOkZEYaewiBCTJzJNnUOxa3j1IHuHXC4ta2DwmDyULykBHbbU08jsuBdOHT2DU+qs1U0= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by CY1PR0701MB1725.namprd07.prod.outlook.com (10.163.21.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Thu, 30 Mar 2017 18:07:47 +0000 Date: Thu, 30 Mar 2017 23:37:26 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org, Bruce Richardson , Gage Eads Message-ID: <20170330180725.sqbfio5k2ylvikx3@localhost.localdomain> References: <1490374395-149320-1-git-send-email-harry.van.haaren@intel.com> <1490829963-106807-1-git-send-email-harry.van.haaren@intel.com> <1490829963-106807-11-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1490829963-106807-11-git-send-email-harry.van.haaren@intel.com> User-Agent: NeoMutt/20170306 (1.8.0) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0070.INDPRD01.PROD.OUTLOOK.COM (10.163.199.42) To CY1PR0701MB1725.namprd07.prod.outlook.com (10.163.21.14) X-MS-Office365-Filtering-Correlation-Id: 99103fe1-bdae-4669-c0cf-08d47797ad28 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1725; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1725; 3:OCXikLMBFbyf230W+Ykh3mCN8bremOBNqXY4Gm6iXubb5/Kpn3GU/xddbRK2j+XOj79LYV2K3R3J3vWdPBbkEXijiJgwbSal66ZmoKNvzJClfBqXjn/eSDpkknxX5C8PXIKHs3RbasGeTrBWih0KiCMa3w17LW8n4KdgD/waLVqWtxEH8gtVsBQtouLw6Lvqk24p87aoRITzb6RCwqHdaYBFny9CQ1lAXyqdIzBy4WE8x4Y0PH/+RsGpZvXX/aD5SaK1tDt9CrT3hd7b1rwIdkDpSiyD9jvL0JuSddr/uic4q1FlFfgisGMVjOYiQaV3oTp4YSfTCbeGy0tXdMImtA==; 25:zkgGPx8fk8rd5ODG0/9M4ieVocstOas50K1te1zawqZilJ+mE1ebhp9zePe9DKsdnbbY3CGM96aMjSYHiuvUSLX7KLm8kzngc/GdAM4rLw8y3Ii3LIeQJRecXIqO0kvAEzzfYOVBU5b+ascnDMfEna31s75F7RWW8zKmLZqMpbqw3zm9FpFlnMxht0tLijfSWyU5R0OBNzTxHyloxOcks3bzOzZfOYKukfTzYz7LaDXixLxfr99j303bnCTAJO9eT6Rrmlf63StHQrEwQ2IatOaA2S7JIE4DBweeGx+PCwKUNrm5ovhcL5mD9eHPJuu9Fe+fU5COufxk7IZJlp0pIl/W5G6N8wNHXajjJPoQNv6zjhoXUviJHNFVv8iEfSmEaPpSKgEH55fy718AVUA+xEAtrmSnP+KKPJQyNsEJ9rAVfZEgwbMc4Gnas1OBH6/OqCYiMfGI/4/OCV0xKjJk4w== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1725; 31:Rdsyy0MF7zVBDVUmA3XZfNAj0n31vzjWgmlNGI9Rz0wLWsQ4h1RzBEZIHVlJp+FibnY6AI9PyT1mqfg2WT/8e4RslGf1ZvGJ553+Fbvz/+F3Uv3ANwqwTYRVzUMH4mzbxUD0d44f/LrQkhxXvudTyal4xxILCZpq3vv3pIBZunoggP6ZQbb/5H3S/0bfJErhlpaIpH9iRh+4sfPmhdyvlIkXm1P8h8C/zADlo54CQ/Yfw9KcNzmBtGNQW7HBFr6J; 20:X2QRuAV+Eqh6xkbCLBvyJrMOpC4kc5bZ3fpGiXtzpGhVE/TVNToms50atNriJg/qrXnqaotdx4nA2lDXQtpF8whVdUTpdnlk8XpLsDv3lIxnjLicBuiWrrYzmdgZmlYc0wK8MOF/FHzixqEpPJtDm1g5HwLpxBd/I4TB50e5L6xxwDWaXcD+OQi+FkE1fEW883UpMBcL4bxQawAIjnHqFY6etNkDpgyy38WwhEuSs3y9V6Tj+LEf0VV3OdH/MLnSRzNPJ+e2CLdux7LHLiXntECZ0ISoKNdzh9o4gWEPoJtCi6IgWGJKbzJnwg1uiz35nXyXmkBK4MOCDjkBWJ0FDKs5KndU9rWMfw3aKrbk5FVLsdyKk+3Gf1uN5P/6KyLZo7EMkbkUGq4xwaufnFB6KOcV4Qpw4oM2XkCd57+Y8f5AfsE82ddFguBnGpo4Jan9LK/9vUaP57mopNs++UP01MsyBG2LnvOv2s+i2GCQAMUB15QXIfl36+E65PlMEpLQNHZt4CUkejGGI7mYEI3yJ8QYvx+WnVNGGGQ/cbj5Ci1HevOiytiyse8exwLA+y+xRmYzadHkT87bj7v26hcn47RVQnXHW47CDOix5vRD5P8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006067)(3002001)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123560025)(20161123555025)(6072148); SRVR:CY1PR0701MB1725; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1725; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1725; 4:f7BtkS+CX6nvEmhYEtLLRNVpO+gy3meQjBcRM+BBQIfl9fOU1tmLARodB2vMci6dck8t2yxu4W1dFy+rSwFh+faZvlOhmC2u+kRREcCe2HUtGuzpf1SH4isqMXjWgMs0s73tJfSzX5E4tvV5Wb4GSqzam1jUywzd9VohQrOygTgjqZ7Vd4BlDvof1PO4bkRs4UEX0Wf2D/u1reb+hN2bL2p7DtPHhnwr34/NRMMZ53Uva2LfGEE2CkLy2M3xYM2OztPxsxksb89Y6QUmC4/iYlmQZcFg1Jl/v9H7hQxBpnXmmxhq/ZTmBHcnNYIwOVPt7u3EPFO8G7khrZPttF45MiruClY0TZuwjAyCQ9ET2RML9TVl8cpi1XGMinTEcjMaBKf0lIwRdVq5MR8YsSIsgrfKHOG4gFlzcj4GKmvbyMSozBGGqBnIjy9Ew10k6PWWV03V65CbU20RKGKyE9kZLMTJYfPQpFlTDIkqPTtv4uJIJ734bWIMTqrwZRGnR8+xlTTPj9xqWR4hI5zG+nwK/QgfeiP4KbCUPY5h/oJXF5wsBk/2CpulWOUlEQFQPs59/e2APho30mWP7tj8QNQoU8ImG0AFiBhATFp5Mqeoz1+UT51QAVGFXilHstTMIbBWbNDesNtlXgLFLUm6c4VfiXJ3cxdtIsdluukjM/Ntmmlud4NZnzG8MDfkykrolCZDvYmto2nXlRVW2zOUt5oDXKM1WLn7sb0VIw8fEzaVtCY= X-Forefront-PRVS: 02622CEF0A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39840400002)(39400400002)(39450400003)(24454002)(50466002)(9686003)(54906002)(1076002)(55016002)(3846002)(6116002)(23726003)(4001350100001)(81166006)(83506001)(8676002)(189998001)(4326008)(53936002)(5660300001)(6246003)(47776003)(5009440100003)(2906002)(33646002)(6666003)(38730400002)(6506006)(66066001)(25786009)(61506002)(7736002)(110136004)(42186005)(50986999)(76176999)(2950100002)(305945005)(6916009)(42882006)(229853002)(54356999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1725; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1725; 23:VufSWkOUjaxawBw4QKXLI3WtKhseNwfM0Iv8sNs?= =?us-ascii?Q?TawgPOVJqH1lpFfkaBfTmOS7xlrV6DkmWpYlwsT2DVM07Q6iOnAzE7IuGfyY?= =?us-ascii?Q?eLoyzOkkSmhDew5rmE8EcF4oT2AefqMnOuN4t0/czeZ+aUjTtovJSbogVCGu?= =?us-ascii?Q?vzroEo5toQ8O3neiZKJjZkaJzpLCBOCwEJTUX305W5mlmj7B8rE9QQyiQlcx?= =?us-ascii?Q?WWxMvbq7XRlHk24ClvNCZaeTe1/1MrmJgHe4oTD2Wi5sskpJ8UJESz4iGQGb?= =?us-ascii?Q?FSzfbtMPYWp9u2JDS6GCe28sVX/9WX/iD9iGBOQuC7vPUox0wQmyi//2L5Jr?= =?us-ascii?Q?+ZVG9rvAiOKxbKyFI+wiBxEMhbEEThLDSnU4+lVf8FWUELxwYFnKypvYkIY0?= =?us-ascii?Q?sNwNq07Wq8IuO4skOsxh5KTFk17oiUflukeFec7EN8S9w3QVViYEnu6kU3qv?= =?us-ascii?Q?J96jfDE2iOO11zz2HCMthtebIvsvWUoqcG29PoFlkl0DkquE+V+nEOoYxuwr?= =?us-ascii?Q?4qmyaHa7DyGjsi4PmbWJ7ze8zYCu01Qq9PLGMa3p2zOWiapo9eX1ArKecFfC?= =?us-ascii?Q?4OQXyUxMvbyC46tF3yQIGtT4eOtASm5eBeace55howXRHnVImfABTpliULTJ?= =?us-ascii?Q?mrz5KGCjG7duBPclW1Nnh/aadmjoGH3gEY7R8WwSSOz8bTjcrkA/4o+Zye9r?= =?us-ascii?Q?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Cyy26qXDCCUlCd/I+C9bSbNDeNYdL74UVAnW3NO2AIJP3SVXB0wOcnBFjQW1Cqyu8vgQ==; 24:bxat309uhsjV2cRwxDmPgbiL29gEcwjAREtcijhjGc3/fj2a9cbyHeJtzSYGw/7v2Q/asBhx0kRrYsjKSrCI9pPCKhuk06Z/UPuH17qJ22I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1725; 7:IXzGInEv5BXJqi2qVvYwpfNCUDjdFQmEoEEl3lcsUc9k8UhqgQkgXu4D9XJmt27ZqOUZf7eMRQXbAn9boYuRcmvTw9WZnxINMEVHIecDVZnHRfrqOcnaob8kGsW17oehOy2texWisWmNbcfeXoHiDxUMxIAF/WaEhiH8EYxah4PIuQA+q9O3o5/bER9DeUefjJSmtWCvIEX/G2uXh3e9ZETVnACuxb6eapC1hBU4RKwBii5DI4L6ZnniY27D8GueEIlJ97Y8uiWaalkXkl20p64SQto7iXGnMqL0NqOJU85aPg0M/x6UNwm6oCd+G/Q/DOTu8wKtdiY0EjsrVjAQDw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2017 18:07:47.7994 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1725 Subject: Re: [dpdk-dev] [PATCH v6 10/21] event/sw: add worker core functions 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: Thu, 30 Mar 2017 18:07:52 -0000 On Thu, Mar 30, 2017 at 12:25:52AM +0100, Harry van Haaren wrote: > From: Bruce Richardson > > add the event enqueue, dequeue and release functions to the eventdev. > These also include tracking of stats for observability in the load of > the scheduler. > Internally in the enqueue function, the various types of enqueue > operations, to forward an existing event, to send a new event, to > drop a previous event, are converted to a series of flags which will > be used by the scheduler code to perform the needed actions for that > event. > > Signed-off-by: Bruce Richardson > Signed-off-by: Gage Eads > Signed-off-by: Harry van Haaren Acked-by: Jerin Jacob