From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0054.outbound.protection.outlook.com [104.47.40.54]) by dpdk.org (Postfix) with ESMTP id 68CDE2B8C for ; Wed, 2 Nov 2016 11:47:26 +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=qygT0fvV69Lr8rKTMNogSqXvGuYVcuzbstqnUr2Om88=; b=NLMFILQrAQg2J4PIdqtUg2HIKbj473m3XN48ovEOH06ZZYQSkwd4zwp2RRF1wCPMtmBe8fJMtKXm0fXcf75N+3kCXCwZfMyOt0t6bsQO2SvqS3g5JjB3Sv2uXNBFp7nF40CDCgDgzKJUFMc0Iqbw5BYbsFmXzrd2eJKSmw6TGkI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (122.167.46.37) by CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.12; Wed, 2 Nov 2016 10:47:21 +0000 Date: Wed, 2 Nov 2016 16:17:04 +0530 From: Jerin Jacob To: "Van Haaren, Harry" Message-ID: <20161102104702.GA30658@localhost.localdomain> References: <20161005072451.GA2358@localhost.localdomain> <1476214216-31982-1-git-send-email-jerin.jacob@caviumnetworks.com> <20161025174904.GA18333@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [122.167.46.37] X-ClientProxiedBy: PN1PR01CA0082.INDPRD01.PROD.OUTLOOK.COM (10.174.144.150) To CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) X-MS-Office365-Filtering-Correlation-Id: 6c9c8a16-2d08-4186-4226-08d4030da1a5 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 2:BmDgSh+bO407hqfGe4ZjebrPonMluelvjVY3wBKQeS25FCp4QpMu3w7iOexFgFCiE5Z7MFsJ09/LwkTElCpFwe7ERRhy+hejNST+D4//CznKD6E7abu7eDENAMfz5ydgXPHPbryIbUwk9/kz3dh5csehg50+ATaupI2BWz04xFk6wXSvw0T/c/4S0VUt7I2xwigPih/hvknWA5Y/P4djAg==; 3:pglYLY0EEREzEGibmsWJRb3NUruWCvyhplN/niD9meMDLvH069FtOEWkRmTmPCCc3FOUW64e/5K21Px59YWrgd5kyxS9FR4h7gP941+lCCbsxAI1oZJDLRvKKQB6R69V3+cYEXjvQg7Jkjw86KW4UQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 25:BZcy7yqiU8pdZLwzoKPNn12DyrvKV8fasz76GjqS5Rtxn9Y5qvlMyRfFGanYQKB6+FLFyHM7j7xkTXHFBVxDRq/G6VoWj3LGmFRWaUtapAZHXEsgtFBQPcQ5qYhKPEBeEhYCq+08cSTNx2poQc/L+chTm8hM1lbQjdPeP+ZgkbyO6SV624yIgz2tq0Uy3RpRN2nd+m3CTyoFVLOLvVg/cNrMfxPsnFrYEfuwu/eyx06VgRJ37BnLmfUuWf/Qf085pKt/8doNaS8ZXTC4c4cGgtmBWbT4Wx/bOEBpGJ310yxUSP1/REOJuv1ssILBzrClOrdvKp7q/p6s9A7hii+oWQJPVRioTfSAbH9JyVpqBa1oxgy1oleFS4FNH+8wxnfJwqseGpeG35kIayCQZEusgLUwgipUcDqcscQfXc0qZ3yBoa0GV83XWOsfw9Qcw3y62/M40DDP4FKFfLsnL1duaqFCNvw5h26ACLbMM2SUIwvoWi8+Y1XsIoct7b9bCOIEP4zDWZTKl8ysKLFSvTxswb4Fx/Q/qwYpdwrfm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zlTV2QuzNRA9mUGFDD+JtcP2N9Ziicpv1a78zCsBb+LWvroRM0UPQpNemGmisjJNHMPcYcNGkeWSO/1aGQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(271806183753584); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:CY1PR0701MB1728; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 4:zP1dQeoLbcTfkjLPsqLgSY51E8r1m09adjw9UnCa9w7siCli6TPohLR3YRVep5jYqAWgxM/gCLq10Z3+tZGsJTHh8tb3JkkDj8QhIc0mNuQnVuigKxNsLj4ENss0mAU2ydu2fbYf8s1s67Sz+K1r4GkiJexMkdURHSqT3MB5eNkig/EipozXpW6TDmQVFTxgn1/HoDarq1xgXDQcsU+VqvLZCZ46rfZek16JJLPJoN0Ww8stbkhIIlkAU4+RjRTY+mLYn9g7XM62hfkE1oIm0OBncfTi8Njt+Y2qu0yzsK+a1SUDuE8SFh4BYudMeKMbNn2HbK8Xr/8zr/yQjpFG/9HAPxBzdH/DCib6Ra/BFk/g+M4idBjJQPkuMo01oNtq4gg/bn51yqzS7eCB2fzMoIAwH77VFBZmrGC4EzRR7xJxnGcW2lBc6MFnOswHWPt0O+ZE4diivAPFXI2rEczmOqy2WooT8wF1zcbeS82TV0I= X-Forefront-PRVS: 0114FF88F6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(13464003)(53754006)(24454002)(199003)(66066001)(61506002)(47776003)(2906002)(4326007)(8676002)(50986999)(23726003)(76176999)(3846002)(6116002)(586003)(54356999)(101416001)(1076002)(81166006)(81156014)(189998001)(97736004)(4001350100001)(9686002)(105586002)(106356001)(92566002)(42186005)(68736007)(19580405001)(97756001)(77096005)(50466002)(6666003)(19580395003)(46406003)(110136003)(93886004)(8666005)(2950100002)(83506001)(42882006)(6916009)(33656002)(7736002)(305945005)(7846002)(5660300001)(7099028)(18370500001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1728; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; CY1PR0701MB1728; 23:41fbKocGoj1rKDLu1MfaJpp8wTCrY14paHSLkHO?= =?us-ascii?Q?+x04u1Hxo3gBwUUUwHCnlnUREgIJJOT0dPJW+iLAZE/c2mmU7TluJWzowR9C?= =?us-ascii?Q?pB9xTsE+rhk8sKG9PCNHChLAlQw1UgoRLTdhgvsL/xXX6Nls/P496VGEK1m/?= =?us-ascii?Q?MxTmwH7FkYzHHxl1PsSv5tTaQQO4ZjR7hWrUdAjj3s8r74cp0N86x9KODNDQ?= =?us-ascii?Q?UxEIkvaKoNsg09WnBkchi7PQfEQhaEcVR/jswCpJ1X0SUBkGHdEkCjGobQjS?= =?us-ascii?Q?dZDPEyg0+iNGxEoNgD02fcRHXqn7KrYofh0G/XQt5S70UWowWSUIIkFP2V14?= =?us-ascii?Q?ElgSj6G0T4u2ZD3FUqZz5lGdVulghZoqkAwNPLZhQu61IGS4uWH/Rh2i8sfS?= =?us-ascii?Q?i+0JGEIqcRcFMXHF44OGyOuouJaqt5pJv1h84jUlyeYNkCpQqurpSpzy9Dp6?= =?us-ascii?Q?KsKx2OaNuQiP2h+zqZFP87IOpQxuxz+V5gV7WDwyuwlb6VLxadlaQ20iqCXX?= =?us-ascii?Q?53DXP/ExePCh3rDdDfNc3PEMAK8B/vVYDjdKjs0pPoSzN+4vLQi9skS2jzoh?= =?us-ascii?Q?l9RPKdKLK0zSgcilyeSsj7hJ60LaKKn0fnV8i3kYUzxUzqK0+HhkPc+/ZKtO?= =?us-ascii?Q?YCURePs5rMq+MohPyrdkzL2pz4pgvR7EnRkIJWhP9MnjjdS/qmaESHXR46HW?= =?us-ascii?Q?iYnP7kxMUXmPCUUtXq1ivCH+F5RH87jpgGknYXR9v/NI4knsPJFM060ugGvS?= =?us-ascii?Q?zJDCpiuhdH86mjJAlafhIVZiNjGwZhRQ1EJ8APHy3QV7090Ee0f0EYYAHF8O?= =?us-ascii?Q?S08IGAs90/tgS5iZvWIIaHehp7pCqF01Y/4SyrVf6pVOtw9Ir3Et9CirWFMg?= =?us-ascii?Q?YfRcwpWZBqHa/VQteICHXzZJMLPxafSai7Ycwsyl1jEc3NYd04U1tVH6TuzW?= =?us-ascii?Q?LMln3S7OVOihjm/35YgYvMh58NUjZeBOpKedn2akl8wC0FrbeoL0iCddD014?= =?us-ascii?Q?I/d9sDUWwKdQpMgc+elfRzNkE3NEpJlAAOaIaCn0MoNuc6Mf9Tsm1zeKL8Gi?= =?us-ascii?Q?t5e4zkPPuiCybrPuOx/yS1BwptQVexvaAPFk65RV/fldaA56wIjX0ep8q2+n?= =?us-ascii?Q?a2yeNxRAhafGt7JwvQV8NWtuxDw1gkOPBX3vbVmW4fSDpiiFa5ep6JYqccSX?= =?us-ascii?Q?Y1ONgVsey2sQyQBV3d+7CPgdUEQMgImhLmHb9LlSiuXM25CRUzmesTfYAgKE?= =?us-ascii?Q?YNTMnniLaFSjbbI3tJ9JU3FhoBkDJ09uTCEADY43Circ0LaHEvkReegI/oCn?= =?us-ascii?Q?Pu8sgNVe8RiZPxbVOYpK+EX04Ga4645FJNNNJ9cKvFT39u+UZWPAGDydDies?= =?us-ascii?Q?jsym8NxznMYmvAz2Mqvodb4skBm4=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 6:WLFypOxk1d8OawnaNL150PVRp0OAVEnX7OLpy4uV+c6GK0SOGVnRjnTIoPVVRnTLGUe5+CBGoLJEyZ8p+XUntyLumEAloXF1h5tj3MIQUcJpcm5tachi3LOhT7rQVWkC5i93xEYPIfJfPyKoygynihcidj4htFCR4WqSMQC8UMCt93EnNkiZlQDJJ3Jz/RIVvm3R9rlmE7LxZEEK1emu6qWcsqC2g1qbrRevq3+DG+L2O+ld9nTdC/NwxD8GTJHc6a4HG6uLVNBo4D7+qHYkcdrsYaR/N55OPWTbkGNn+fUFZZRnTJWixYrt9dIcS/r/; 5:hH9rcuHzi7+A1sWZ2kLCvoAA8sujLMdYP+7RR/P6HzqoYr8PZ4uBES1oKw3xcne7YZubL7QIu8ID+U2HWShwduKYFxhkGq21decMyc363h3sDFyTPrTb5B/mTadx0Ns6FINnKGwWJscuj4s/YVOAvA==; 24:5Yud12nS+MuQFuu1ymp+JH2nGjF9X0xMBDbrsQVlTPWtYH/hhSE2m/OrN0MPB01n7Bghi7IZuqQPlAkoSd4ucxD3Yb/kNWJ19cuYsABi+IA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 7:LPwV4ADHRhdaCeGooZ7RR2K0IcYRkg4eJqE14T4H4KeOGokfoPzYVjDi5OlhYmfD/muQveyZluBZDDnpC5BiJIvYHOIp25PqBzHWX3Q6qJcAru5Bote/Lw0MnjCz1HX8BNz1k+lthNSzJlfink+Zxg4fh32QHuD8hakv2uyr7QHsIXgkfWpDdzu5lZjtEGepMErIH+we3CB7IncWO3kw0MHAzuHo6h9UazWKUe8ap+4tCSypQVdHyu13cWik1daajdNRth5mGs1ZHwxlAHuMoLcEuLfTweV+ATaKLEkhi4BL5YM5m4sZeMiDQP1BnYuf8IhHMs3tnUlTRgsdVarihb68nh7SDHwN79a83nPvNrQ= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2016 10:47:21.0512 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1728 Cc: "Vangati, Narender" , "dev@dpdk.org" , "Eads, Gage" Subject: Re: [dpdk-dev] [RFC] [PATCH v2] libeventdev: event driven programming model framework for DPDK 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, 02 Nov 2016 10:47:27 -0000 On Wed, Oct 26, 2016 at 12:11:03PM +0000, Van Haaren, Harry wrote: > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob > > > > So far, I have received constructive feedback from Intel, NXP and Linaro folks. > > Let me know, if anyone else interested in contributing to the definition of eventdev? > > > > If there are no major issues in proposed spec, then Cavium would like work on > > implementing and up-streaming the common code(lib/librte_eventdev/) and > > an associated HW driver.(Requested minor changes of v2 will be addressed > > in next version). > Hi All, Two queries, 1) In SW implementation, Is their any connection between "struct rte_event_port_conf"'s dequeue_queue_depth and enqueue_queue_depth ? i.e it should be enqueue_queue_depth >= dequeue_queue_depth. Right ? Thought of adding the common checks in common layer. 2)Any comments on follow item(section under ----) that needs improvement. ------------------------------------------------------------------------------- Abstract the differences in event QoS management with different priority schemes available in different HW or SW implementations with portable application workflow. Based on the feedback, there three different kinds of QoS support available in three different HW or SW implementations. 1) Priority associated with the event queue 2) Priority associated with each event enqueue (Same flow can have two different priority on two separate enqueue) 3) Priority associated with the flow(each flow has unique priority) In v2, The differences abstracted based on device capability (RTE_EVENT_DEV_CAP_QUEUE_QOS for the first scheme, RTE_EVENT_DEV_CAP_EVENT_QOS for the second and third scheme). This scheme would call for different application workflow for nontrivial QoS-enabled applications. ------------------------------------------------------------------------------- After thinking a while, I think, RTE_EVENT_DEV_CAP_EVENT_QOS is a super-set.if so, the subset RTE_EVENT_DEV_CAP_QUEUE_QOS can be implemented with RTE_EVENT_DEV_CAP_EVENT_QOS. i.e We may not need two flags, Just one flag RTE_EVENT_DEV_CAP_EVENT_QOS is enough to fix portability issue with basic QoS enabled applications. i.e Introduce RTE_EVENT_DEV_CAP_EVENT_QOS as config option in device configure stage if application needs fine granularity on QoS per event enqueue.For trivial applications, configured rte_event_queue_conf->priority can be used as rte_event_enqueue(struct rte_event.priority) Thoughts? /Jerin