From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0081.outbound.protection.outlook.com [104.47.32.81]) by dpdk.org (Postfix) with ESMTP id AD8D158F6 for ; Mon, 4 Sep 2017 08:38:11 +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=8oL2Jy0hOStAlMMBIi9tWVV/um8Pkmw/sy9w9yN8d6k=; b=oGrUQw0OLamzISzBByUPZWrjdB+Y7Ht256ylLmiuLowP6wWHVPgoSx/chjqXYgyA3L8CtmVK0ZXPq2k1jBnQdmuzal3py0/4BvsVAv91+T7j/frMOFjVbQMHO5LVsXlYuVtW/kxHMDAtOdm+DgRjuMv1xlONf1y/DNiL7vDYbVk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Mon, 4 Sep 2017 06:38:07 +0000 Date: Mon, 4 Sep 2017 12:07:50 +0530 From: Jerin Jacob To: "Rao, Nikhil" Cc: gage.eads@intel.com, dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, narender.vangati@intel.com, Abhinandan Gujjar Message-ID: <20170904063749.GA18430@jerin> References: <20170707155707.GA6245@jerin> <3d2d78cc-9572-bf95-6d25-9b350da62827@intel.com> <20170710104126.GA13609@jerin> <4197b5f1-9a15-5892-12d2-6bd142bc4d85@intel.com> <20170713184445.GA3659@jerin> <123ed8d6-4fd9-8bee-d86e-d270a092169e@intel.com> <20170729151252.GA25166@jerin> <7b9ca757-f428-3675-b997-794ec6e96f2a@intel.com> <20170801164242.GA6467@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.0 (2017-09-02) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0082.INDPRD01.PROD.OUTLOOK.COM (10.174.144.150) To BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4fa880f2-d0d8-4a45-4cc4-08d4f35f826b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 3:bAr8e/FrZf6o2nNtoxzRl9ZT+IACFHcteEGfMk4oPPuktpK/w+XNsHtI72dgpjZk9b40V6OWw1Wuaz3Rijf7O86n+zCMZi/WtAkj+lzseWfK55uGAF72HmqTcCUyw3HZ4lHgiIPPF0AnB9EUN/IOJGYDBzqI8Re0+PThoct8teia4gq2SvGNzuOlQ5KQZyOz1HeSEPy6vub5QFW7wbqTpZel+E8a1vJhvQ6Usckfdd7IvOXtntaqvuv0ukjTbxMc; 25:626rJnz/vFv9NC1V/hN1cOwpbRsCpcmADsuyYTzq4wLWABRamTwhMsoPiZDezn+jvbx6IcamVB9bG28p17e6qEZAm7+nMs/sgEl2prdT1oNttJjlnyDHXtgV2DnTWfIRxJpTO5UuaYuNjAaH1Ph1gEhNirYSnEUOgRa+pFDQa1uF0xrT+qX2/JEkeQptD25gmOOQMYnwKf+darnsMHdjaV3ePvi7vgxDATOX4GER8ddeGVH86M+jVhofaCmsBMjhsHrpotjNYwXmlcNPNeL3/ypr4IFRoXa/oFFUv9eire82wAfJzAn7Vsp/EaBzXH9h8qYeuY1xwAuBLjYzXtYaww==; 31:AkUkAlEfhHqYj9lDm/55+yW65taj9oGABOvGlYRIYGWDaBRekxVYmEFdLDxePQrt4Muz3w0E+yW7A019LOyh4zne+L4MP1H8eJVW30PtUSkJcex2xgU1raU+P5xiL7SkSyVsrgn+5OCRFGj4bVwlGL5jKj68hjSHM/wVab67hDzz1qrJ/Rp2d6VIrxhFzt1KZ5Oae7VgO74/q/qRoX6LYH7mp04/aLNT1IV4iW9zqZE= X-MS-TrafficTypeDiagnostic: BN3PR07MB2515: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 20:Hca5YwDzHAf5mqEQOg2DDsfKwAURxZ1naQMhwpCLSdbgXvubiaCqF8iLy6x9cse7IIpfZnulsnw1AsFMmQ+xU7kfsaLa0Qaay0/BFtAEuFL6Sw5yILhNDnv8gVq/rlCs60aOZZ0UgLEV3QSFIRYTe/REHq3KF1lkrweFK9EaN7w49gcpJu4hWGJ1uiaG0oGOkms8M2P0baFIvBsXEToGYXdQca6pE7Y1xxuz31vP776yHPdbYsXHllQnWoMbrNpXfUOh3TW6EQfd2FCpfMhv1fug9RB1lKJ4zLdX8flZ5KlVLEwqZWH20EMX0aOLFT9lLtfmIMuzOLRjIunCgm5uiz32zd+AqZzSmV6tfBzVyzreIcmup8Knb9sPo2Yeo77uz4wl+8ma0Dq1Exnzxh2yje7twMEuo8JN2Gr1Vuk2dym9caYhm/4aPHYG/y8oV6rKuulezzNJuRjmaeyOVbmoPWeymCPZ9iZ4iHXMQbM9gnT4Ouo1he3e4djojPK76d/q5fnfBnikrA4by3SIxwtwH+ScXJL6uWRt0r56eYaJ0by/Bdv+jmHLBzBip4fz07zZzkWQYQdo1sZlZH5Q/jc5X6AgRc2vgA0Tjh6izMWrfEI= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2515; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 4:oPWNLmxwWDWp4h6UhUhdZX2S+fEIFxoXf5lrTqWk7MITzSMUQu8jYbDu/dWdtNTgY6yozn9USmBlKpOsJIhACARDv57+RrMR/aYZmbu/imK/FD12N1s+K4/GbZwqtBYSwuMy9x28JT9/Ne3fLqIgaEK6eJRbd/3T9WlkL0TBx6qWDRf9S7lTh0ExlqhO7HQ0FHs4v8t3aDcI19q2HZnehv/Qg2MDBoi+67tRFXrCopFmBOJY4bcYBMhnoufy+cDSnBg204CxElUKzJCxG03Ul1J8W6OaKL7a6dSE48P202K5saCEJ9dx0C5WlWtI7quDxpqX8SEHjpC9iM0K2kO8WA== X-Forefront-PRVS: 0420213CCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(13464003)(199003)(24454002)(377454003)(189002)(50986999)(76176999)(42882006)(2950100002)(6916009)(33716001)(54356999)(1076002)(101416001)(23726003)(3846002)(6116002)(66066001)(6496005)(478600001)(72206003)(6666003)(53546010)(2906002)(7416002)(53936002)(83506001)(50466002)(105586002)(189998001)(25786009)(4001350100001)(305945005)(97736004)(6246003)(7736002)(110136004)(106356001)(8656003)(47776003)(5009440100003)(4326008)(55016002)(68736007)(8936002)(229853002)(9686003)(81156014)(81166006)(42186005)(8676002)(93886005)(5660300001)(33656002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2515; 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; BN3PR07MB2515; 23:GethOxwwX9JQ7YB9XNHKViu7niPX3kp2weE6jdE3H?= =?us-ascii?Q?z0iqL4f3UKIIZf7JBYFSbc9dzSHQl2LBcV8nlOmP0AcyP+6QOuFkoDa71Z1B?= =?us-ascii?Q?68y7a3wApky9XuBSUZn1MsT/R6bgoysKDSGvo2WGlEGmqGjXhaGxosE7eyF/?= =?us-ascii?Q?31etQkAZWUi6EEvQOSXaPG4765tt8Srkl8yjuwMS59KsaMxqYbbzh53lbLOU?= =?us-ascii?Q?9i1V4cET5gvhxJ7auYESdNrCjf5YYTTxh+dLym3lxxTjIPtH2InwXOzXa95k?= =?us-ascii?Q?FYXwwvyonebXHawM2EzQV+ub0yCEsUUk7OGbFGBxi/Dg7tWP4iO8cIMsdgjD?= =?us-ascii?Q?WinO4xCHIDaz/b+2kgNh64HIEdUPcFjwCqBVs3MXGV0jdYftLDyfzCst9NGc?= =?us-ascii?Q?eX9FG5roUYNnKMiR4syXlhw/juGm0Ug85hUe1yWQJEoQOLkkRKovXCV9AEfc?= =?us-ascii?Q?+WLM01AgFB2O2O3RcwpxNWgwjbB7g6b0fvwYJKSrCMgpZYMsdzdwr0Yd2+oZ?= =?us-ascii?Q?iLKgxVLsF0ryFCCHdmlOxQFpJFvKQOO5NSlHC9OevbUDUxLdzViOInbgOikP?= =?us-ascii?Q?MqtNsShGX+HsK2wdLAnipRsBT4FqEJExH6H/sDXTFmHpO8rer4oFJL2IKBMI?= =?us-ascii?Q?4MTUo8e5rrOeIKw0v0/Cb9cF9q4K1cWZbDrIHgXA0gHAXRkupFuR6BdiVGpY?= =?us-ascii?Q?wp3rh0DBI9G2CgTwt+J+zirFRAcdUggKGh7GCLB0E7Zp01STi4b/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qHZpO6yxCxzq6MzBqHo01guTPVvDg==; 5:6Kt0qC2k0mz1/7h6+r9W41O/DOJ9RXeT3XIXa4WfaTo1pt/Oz1dqrSeo+LpxyIGy6deEr3oWW+Sm+8GCc91Ymbhh2bHzBOPhh7649YUPv+NzxAEFIRPqLks5FcjOkx378hBUA981nvXBrJZPUD68EA==; 24:mYOJPo6ymab+shD9FpGHLQhbfRyI5brh7us4Vyju3CRS8u6fRsPXF0qBh4Yb2yu9rHt5YLYSWqfS493SiXvIW3Y1sdh5yga2UQ0e94tRQY0=; 7:fR8jlVNC7XRm8ZPH1kJkCWmFDYFf9PKcPr0xjxKkb4FfeLamI/BULGQAH3M3Y4p6NwG5HdkRq1vmQConjF6nWgx0YVb7WPVVx3Cw3zNwRcmMCJOOMPtUwJ8xXQvH0OuzSj6BLX6AwucGEF0vlp8ZJpLqWt3lvWd7wxuBz7hdE+n00KwB2RQsHUFttBQZYTflHUh+5H5EkeoBIfKGhBps3icVGG57m+PRoXkj26et5Jo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2017 06:38:07.4408 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2515 Subject: Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues 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, 04 Sep 2017 06:38:12 -0000 -----Original Message----- > Date: Fri, 11 Aug 2017 10:55:38 +0530 > From: "Rao, Nikhil" > To: Jerin Jacob > CC: gage.eads@intel.com, dev@dpdk.org, thomas@monjalon.net, > bruce.richardson@intel.com, harry.van.haaren@intel.com, > hemant.agrawal@nxp.com, nipun.gupta@nxp.com, narender.vangati@intel.com, > Abhinandan Gujjar > Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.2.1 > > On 8/1/2017 10:12 PM, Jerin Jacob wrote: > > > I have had the application specify the name. so that it can call > > > > > > struct rte_service_spec *rte_service_get_by_name(const char *name); > > > > OK. I was thinking like there will be fixed name for the rx_adapter > > service like "eth_rx_adapter_%d"(%d for adapter id) which be exposed in > > rte_event_eth_rx_adapter.h. > > It can help in removing cfg.service_name. I am fine with either way. > > > > OK, I will use a fixed name. > > > > > eventdev PMD op api(not as adapter PMD as discussed earlier) > > > > ------------------- > > > > > > > > 1) typedef uint64_t (*eventdev_rx_adap_capa)(struct rte_eventdev *dev, uint8_t ethdev_id) > > > > > > > > Return the adapter capability of a given eventdev when it needs to > > > > connected to a specific ethdev_id > > > > > > > > > > Doesn't the capability of a also need to be made > > > available to the application as an adapter API ? > > > > Yes. Make sense to expose as adapter API also. > > > > Correcting myself, Isn't this really an eventdev API ? An adapter API would > take an adapter id argument which is unnecessary in this case. > > Nikhil Nikhil, Are you planning to send the updated version? I would like this get merged in v17.11 to remove eventdev's EXPERIMENTAL status.