From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0055.outbound.protection.outlook.com [104.47.33.55]) by dpdk.org (Postfix) with ESMTP id 9A1A44CE4 for ; Wed, 31 May 2017 17:21:22 +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=2ecy/V54n3B+mqcn1ovKIarmfp+zQmVyEI3BBIoXCuU=; b=efXpQzYfTfoqQ56YDAzdCavOmpXXLDdFA9ylj5o74B1ZQQ8KGc781IKHVH9yc8dmJtQnDxSJ4o9XFf2Vq5Pa13gixUNN0zLi4tz41Vpa9KVe5h4JiektCdK1PBWKYwEE3IN9neJcGakD4Hur20iOBdnQIBXEYJgUxZdMS8z8JLs= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Wed, 31 May 2017 15:21:18 +0000 Date: Wed, 31 May 2017 20:50:23 +0530 From: Jerin Jacob To: Nipun Gupta Cc: dev@dpdk.org, hemant.agrawal@nxp.com, harry.van.haaren@intel.com, bruce.richardson@intel.com, gage.eads@intel.com, shreyansh.jain@nxp.com Message-ID: <20170531152022.GC16598@jerin> References: <1495735671-4917-1-git-send-email-nipun.gupta@nxp.com> <1495735671-4917-13-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1495735671-4917-13-git-send-email-nipun.gupta@nxp.com> User-Agent: Mutt/1.8.2 (2017-04-18) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM (10.174.144.157) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1727: X-MS-Office365-Filtering-Correlation-Id: e3408efb-f947-45ed-cc77-08d4a838b143 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 3:VmkLyUcTA0pl7lEi6XmYqnod/Lkzh75HQ/RXO4jeG6sD4yl85qFR1RWNajh0+jlKwRVnh6rYM5LeUfIHsISUvIFcMtsN280X9DbyCHDd7SJy8KeoKXwzkHy4KZrPEWZb8SNNRfqwEOSVa7JW6jlb6sKuVkQ98yKfAunzs3Pj4F5TK8M5cmCdbPHyflSDOPUuB9z/BT9P9LilmwjdeDSG4teIpDV7FOQWjISEvONDGMdl2B5ECXF2WmWlyr8cTY+EFJaYmhLs6QOCURXJY/mHJykZwQKvVAfr9SoPNlsre821cNtfabkyBiCjkcocR8DG5RbPEN1QGeTCOSWZe61+3A==; 25:b4pj4Nim80HceSYyOGbBKrLnA7gLP9q5mFjZ1FpWW0ekQHR5PsUshDTTfrGCTmNAJqWuYmisRp0Cg+bemhxUYmm73+SPqkr7nNCQbclOZ1mmnnYBiX3QLV8ysbgyPxEDm8Owxtxxlzecq1XDtNxsgXNZF0ewPjkLJfvAB1WUbG11tUyNSnuStkHp5rPOyNqDqGtHwH+n0pPphgp7bvfIe8sTtyShWe1LzHQSXAC7MzZSmSndmjD5OWyg5DcObcneyoPA6mKWLW/SKwhfUkPtwgvIJyuDZx4vahyEMJcdgqBEij5z0bUfuUgdN03CHJroUZ/1XSeFaG96QmikO7BMGTXclkl6IQJfMLYbG1tSt6CZIlqGym6mZtYJFdiF3VJoAEzsyQcT1oZNnJ3vBdSJZKhHNoUpwJRmxY/zzmmxrU8eVf2CDdRyQgo1kIxTuVpTK/iN3Lm1+Kq3t8VpluYjTzIfJGYG2RIIqaN3lPiPLnI= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 31:66zgzqHM5wGJW183IM/1xRlOsNu/uk+hna8S9luqSl8XuF85smhYuRAEnFyi5qvsgOg6Rp0eqbpHvWkFrKcXcr0MK61pFm+C3fut0xatqmjkr4ihu8IeeRIcYxvUlNE+Q6GkZw0H0Urhgo0ePEHXmo75KuePlnn4/FcfOT6ZCpWyYTQLKwr1K/g2pCzsWItzVzmFoIkV+zJAp4ZK3z4+II1miayueo68KTibgOUOiQSTOb1VL78AeQjgZ5fxpD8J2J/nPP8KcC/Li7qaXmYfDg==; 20:JzO+mbd2vqppAML0jAsuycmhuO0VwVYGiIyVx3sLNRxcLBeF8Dg900VCJGZY2EKBjDVsCmZ8l9n2pJo6ZUxn/LB5+QV3MtJ66w3xW5iHCTaMfx+nxaXZ0xvKDjaHjy2RxpEPxHDH3znKBUtehyCBagWm93wfMgd3NkKsyZ2u0RkkYzhfHO4RYXKHf/pUXA50dbynuzgvo2Dxcct8EoCsrgmUixOAs4jXIKdux+Jbm0qWRgH149SD260yYsKq1YE7P9KedUgoUzK3/c+/s1MhFVu1yUOycMCNKL94oSWXlXhvJ8YAJZHbckiuGviyOrOSmlUHWg4YCnb2VORJLa7RwaAcb6P2Vj3C9bvtEHiGQ3ppotjVOdmZhnfQsgYQoJi+RTZg/kw8Wrj6UiDk6G7UajZu8VBzrn4kqtZljFzHY/qBOlDlvbYnXhSs3A+6TeCfTvOBi0Aqtg8jRZp9guyskuMAkR0DYYLi6wg6FpMHmlNx7rf3dmla/mNJQKpicA/TtVOGS1sTfy8HdhM9v0aAAK1tSMQZlD0oWkEQMlIfZxzbSYt4f8Ew4DrwLyoud2mvAeQTLikDNTk3TvQFd04enTAw53Dn7AMy+aFaHIp/QuQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700073)(100105000095)(100000701073)(100105300095)(100000702073)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703073)(100105400095)(10201501046)(3002001)(93006095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(6072148)(100000704073)(100105200095)(100000705073)(100105500095); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:(100000800073)(100110000095)(100000801073)(100110300095)(100000802073)(100110100095)(100000803073)(100110400095)(100000804073)(100110200095)(100000805073)(100110500095); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 4:9smg7TgrvI/wJPFPKhkXij0eQWkJQZ74ATF9xwy8?= =?us-ascii?Q?lWnToVCRDYerS6BZHYRfoy7gvO2iTR7SRjbvT+cE4EIwRLWWT8hDS2H4PQ4Q?= =?us-ascii?Q?GFctdNdwrPbXdzxYbJ27JQ0v9SLTi3InTUOiRLnZv2UMsxV7o2YGtiKPgZmf?= =?us-ascii?Q?nDOEDeIcDwAUnNHmFl6faStkAgv/6sD8tZ4NK63OLDgiyMpg6tCx8qE6T1HM?= =?us-ascii?Q?hAHFwMIzTcs8vtFlnshODNJtS1b8k89jHnYWDEfa1pTZ4RjkfHFMhFSowGg8?= =?us-ascii?Q?6CdLt6ZBJt+sc1fGNw0BXJ/j4uGfoSpRquNw2lx6bhLsJpgxCnDRU95QM364?= =?us-ascii?Q?YtOkO/Hf2CtHWW2s1OQ9ZCq8UQOwaUNRCxKqx1iJWWtbKt1UHc+XX1J6tpff?= =?us-ascii?Q?jjsWuAaCju3hmThNXueK7m6mGJREQycB10V3nulc/nzliTmUZP4QySoGM0K8?= =?us-ascii?Q?+mBEbWSYnXTVp3dnf+2LwknT3iBnrKYcEo1nKE/JS9U7Ub/Yr21dhoaOneDD?= =?us-ascii?Q?1hwMNaJQjMqcdP73jXKEUwl/fqeDAuGErOSFC4smsOtOVKg5xvSmBSqB7bHi?= =?us-ascii?Q?4cQKtkU8PfyEYc+kxEkGEiYFnBTvAABBaGqRa4Q8S6ID/0hQsqn66UXaOSO1?= =?us-ascii?Q?pZhNIg0ZXgPBLa6UtGg/25USYbVSQ97aOEcO26aDW9P1NyDZ5tF/++fmDmeG?= =?us-ascii?Q?2QCS2x/06c67vLt0Dl0D3qM1wnAx+O2E/ws/uDqXv6Azug7c5fUK1CTNrDWp?= =?us-ascii?Q?UWkFBrh9t270AR9oxjQH2JfOMaVa3IhgkU6ehNdioEOJFJ4Cvs4x+D1eQKGE?= =?us-ascii?Q?UAvN2zbmCDEyvjmG4L3nbyR+sEnOTFGCxuNSEVko87Im+ShSA19M0PqIBs40?= =?us-ascii?Q?8NW53LWwWivXVYoVbHc3QN6z1hQlYYcGp3XAE1HxPoVUCYfk2OuxdC6oj+1p?= =?us-ascii?Q?U7Y5+voukYCGlk2IGpyB/OJQKrR8dTHAKfARlXDiCxCMEFXT3je96CxXdE3/?= =?us-ascii?Q?c75oukSLiQHmWRKJ9yK6+wdZMAFRojr967PbRzUFCygJG8uEZZa/izXJkfKb?= =?us-ascii?Q?aIuL35c2CMcvzxtZQWm6S+j04jrUYNpiiZtNwwJ2V/THhZer+vCkG9N9hxDK?= =?us-ascii?Q?vOQv7j5ioO6VzVmvys+86E0H1bEBGehnJoOf73q0hoQFcyqfDpiGhlZ3vYEG?= =?us-ascii?Q?cUpYGXzruVqlsYkllQrm5zBtqcehHA5uPAK9?= X-Forefront-PRVS: 0324C2C0E2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(13464003)(7736002)(83506001)(6246003)(3846002)(1076002)(6496005)(23726003)(6116002)(47776003)(81166006)(9686003)(8656002)(53936002)(305945005)(5660300001)(8676002)(33716001)(42186005)(55016002)(33656002)(2906002)(229853002)(478600001)(189998001)(66066001)(42882006)(2950100002)(5009440100003)(6916009)(72206003)(4001350100001)(6666003)(4326008)(50466002)(50986999)(25786009)(76176999)(54356999)(38730400002)(110136004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:9Ce/t9Y0oUoDlE6Iw6vtU9GL275f4rBQaxKH7h6?= =?us-ascii?Q?4kL6TnD3yGlbbnYk9SfnaVYzGKDT+w9iD9YdZ/9RBenwCrg3n68XKTWJHnK5?= =?us-ascii?Q?A4uZPavzotoyUvPt7f8jkCTvrpNfJ/8V1Hxp9YRO3Z1dlGYToznmhiAEpYjl?= =?us-ascii?Q?Qrhza5vnzIfungb73lIzZRaSqK2aygCETkZpoPO0z+z1wQChVKb5G44S9vGC?= =?us-ascii?Q?Or6CleH/DYZChUKwrVB/WXCADDohScrRnrJIOOwG3YzL/WmnePp04uq0NPdJ?= =?us-ascii?Q?jJqElzhafxU7QA0iyj6sDBGYh6sjlUNHrk7LdxWNPZD5xpp0OKF2jKhaxcMp?= =?us-ascii?Q?1bWl+/uhwmoZfh1ZOlULnb2Ht/IwVYrdQXkw0f/K5MJ6234+wGT4KAF4uP2C?= =?us-ascii?Q?v8oq3bVrg6QbCpF3i0SYngpw7CUEkgSTwtO/sMuhqaUklhB4L59dzY60s1CQ?= =?us-ascii?Q?79wlMfSmJyJVWWtG+5QgofEgnxDQRt+FJAlZZflSyT9vGrYqJ7GmlwbdSnrl?= =?us-ascii?Q?l6qRnYwWbbKl+Bf35bWNwajJ5c2WSJZ5hTMaBIflgZIgQE/hcua/2BETCgFu?= =?us-ascii?Q?nlxx6Yfe8UrykSuL7uHIF9HQ+jiy1g4MCv/8YD7n2jK/OOAPhe9TQ52Px9GZ?= =?us-ascii?Q?yh2BjrLIdlgEspFBvgNHJrLe8+sUQKF99m9OBVA/3K7L/P3XGs472Z+j/htQ?= =?us-ascii?Q?Vzsygt+k67/RUmXq8Jn5bBMNevAXn3NCA52CWCglbSPbNOO++VgnEludhZ2r?= =?us-ascii?Q?k+VQLsB1p8e2pT3HEFEszBZdCNhznlDLpxUL+lyJKs/PiVe6E8075eDOg15K?= =?us-ascii?Q?aJ2m8PL1BLoDbyX9vnGNIRltBLs6PbQ/GtIHNqTypeNtOElovf9fmGX+9qoq?= =?us-ascii?Q?jAi61zXSn1Mjp6jn+atuFaocdCXLKuff3ijrot8MX1qeEBHW1iWs4I7JuCfO?= =?us-ascii?Q?5+ghnhM/1TQKR1eBYi0Q4bj1cTY5H/gwztkTuYKFkcqvrnntS1iAIf246CSj?= =?us-ascii?Q?YWXV8N24Lxgr4ap319egWy47UXVq2of+aBuiyTJ+cvZXyTbfb2vOR4nyUMKY?= =?us-ascii?Q?QY5VetVzboGy/MPTGBE2I/T3CB1pXQjlPsGjbDgCchx25C7qfDHQz2WelY4D?= =?us-ascii?Q?Aqkcrbtx/fayAIXHr0VmctxnWDfhWZmAr2tqhevH8wjUcOAuflYISuCKgB51?= =?us-ascii?Q?q8R+SIZ0fhk7LyxsaR8uBSvzgNDpskeWDB/0Xnj/HLgPhSO+xx2bPLSKfEw?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 6:Cc01knT89fkJ/27MgjiiGtBlAPfSTH9AMwSj6y25xB35LlSdolSTIRBeKHWdn4FioNoNIQ524SxugJKhI1u2yC4DYruPdj84DDi4gsFVb1pHuPAJFNrzI8pGI4P85prrGscoD6Yqi3F8lXtz8IYlOW3CR/DnjkscjAzYkpgpPEn0NuZoQEv9CZtanvMgypKbeH9wHOVmk8MFDJ8fLMqYnTcjqGRJSiHWvEM4EEpdrhJG06rDHlpEiEuVwHLs1w/OGFleyw59G4z3L2X+tX4Q/3b4VSSLDQDs+1jjR4zG8VJxrpX4JcRI+qNha+UVLB5YM4htVptEriZsZpWFJQ2h8kayxnes1pTeyTbCpDj++sV06kqNnD5ItVYyousxs3JqnZg197OUIy7u428G4p8RUP8WvvfxhijGqcFTok06Vg7U6EQKhYChmhQNbnHCHraarbYVLhYFb4Iy+0YBjTa34Z3cSlHmYLyHex34dVFInMsxpq4+ZuA7knTcMmQJ6bwOhyHDETYyIOlwlcoFz1D67Q== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 5:bxV7gFA/2np1eOMYXzZF0UDTPR+Ru58aAzEwVPszardbudq+2H2izF1eWN2vOwXbyYb2pfDbhoYXEecYcAXSv1g/7pDD/C8Gp1ufoXr5P4T83MbrB28nXKnQLH1PFWlCvj+t3j5B0GWKC/P4Pbq52UTE0gap2BQ9Z2sdj6Jnixz0I5GIYlF+038Fon0fwSMzCBIBixIXTNOhP6Jjmof58LVY0jHe1abNsXc5XMFicb1kqpt655SPjuarS+xaX0HF9MMw1llleOdhlbgDC9qaHcDP6ZsYIqs7N2gFeiqAJOw0KKrLzHbjkdSPs4dLgdZ2eWKtijRakuMfK0UTn3fAOgvs89BoMB6jBdWFGTgnA9mYpPXTRMWNoU5bqi6l7rQiE/yiXDtiMhOjbDLTMy12t+eHI3KGR7/ZHpQb/Q2+6NMkz+QitdnZPZefKsMDrWQk1XBwHPIuTtsPZW6r82eqt1u/STLURg2NksoJRmQF7/n//DSUVFChGswp6U58xOuC; 24:SZUipCcEAyQUuzSpNzX4mTREU2DCMqo/vDjRr0aa4+ot1Wn9Fb02n6EkpeC7MM6C78wrLE+kiHV0rZZ99RCA1kj5nClRjE3iAkY0EkLuz7k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:tHZ4r7ewhkmVUPhAFl/SI+NAq9/X+0GDoJYzjPTGmAS5HXzlJDslYTBlh185NqdagxUtjkzOksmt3Ajw5O1UA940Ro/iSJCmgv3muJ3Vz51k+nWHCieyU6fHbo9y41FNbVqQ5PgBc+QO2OyA6tZbqPfigvDxr56s3xkk1H/uKWwQZmcuzJ928QrUmXQP0r+y1Mw4lyvONLk2noaPZu5vMMN9Cq0GWeLLBAX2ahiBw+v2Xom6EGgD+LUay8wtAUzfF3W8W61L3M03SJfu5+06UnW47MH2YzQN6GOaiIBFbZ1FLKmvj6G28EwTLz3aITmI00tIyUUE/H4UtnUREIOKDA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2017 15:21:18.6258 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: Re: [dpdk-dev] [PATCH 12/20] event/dpaa2: add configuration 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: Wed, 31 May 2017 15:21:23 -0000 -----Original Message----- > Date: Thu, 25 May 2017 23:37:43 +0530 > From: Nipun Gupta > To: dev@dpdk.org > CC: hemant.agrawal@nxp.com, jerin.jacob@caviumnetworks.com, > harry.van.haaren@intel.com, bruce.richardson@intel.com, > gage.eads@intel.com, shreyansh.jain@nxp.com, Nipun Gupta > > Subject: [PATCH 12/20] event/dpaa2: add configuration functions > X-Mailer: git-send-email 1.9.1 > > This patch adds all the configuration API's for DPAA2 eventdev > including device config, start, stop & port and queue > related API's > > Signed-off-by: Nipun Gupta > --- > +static void > +dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, > + struct rte_event_queue_conf *queue_conf) > +{ > + PMD_DRV_FUNC_TRACE(); > + > + RTE_SET_USED(dev); > + RTE_SET_USED(queue_id); > + RTE_SET_USED(queue_conf); > + > + queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS; > + queue_conf->nb_atomic_order_sequences = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS; > + queue_conf->event_queue_cfg = RTE_EVENT_QUEUE_CFG_ALL_TYPES; If RTE_EVENT_QUEUE_CFG_ALL_TYPES is supported then add RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES in rte_event_dev_info.event_dev_cap