From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0063.outbound.protection.outlook.com [104.47.40.63]) by dpdk.org (Postfix) with ESMTP id 7D790235 for ; Fri, 11 Aug 2017 11:49:33 +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=gvvzELPIEgTT+lH7kgijV1jnDFTC81i86T4ZrapCHVY=; b=jLsarqay3YuNJ/BxGo45msOD/aIegbOe2CKlMeS2NAnAn9na+xC0x7sjtqqjHKHmQJRWrS2bNyhDj1ryCfZml8+OOKxju0NCos4DGdmF1TxVsgaJ0dIi97yLE173eaE2q3Oph4zQRbegseN2fu+cONduBz0nmWYcIBXarCXv0ps= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.200.247.99) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16; Fri, 11 Aug 2017 09:49:26 +0000 Date: Fri, 11 Aug 2017 15:19:08 +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: <20170811094906.GA6684@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.8.3 (2017-05-23) X-Originating-IP: [106.200.247.99] X-ClientProxiedBy: BMXPR01CA0033.INDPRD01.PROD.OUTLOOK.COM (10.174.214.19) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a269dfdc-b627-4ac7-5923-08d4e09e42f5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:NN5nge1UYdp0yt/pMm4193zbP0h04QQx13cuLsbome2l/ifkNdyKhpMKLjXkAjXng3KHV1B6E9e1v0XSEOoneMBM2URj69qj6m29hfo3xdugqyfO3zrsm5UnUPcbR3EEAvFyw3O5VWFEzR6chqSYBBdmpiZUIO9X7vmczk3TkzaVJco6UxK9ZG0hK/9CEB+4zJtZ8wg3CpyqyoqSGTwnjJFeoGu/EC9pGScM2ibQja6tsKyDHPWW+fxkI2OFfuRE; 25:gZIcR5Fme8/XeXRCLJzGB15UUJUsfB5GDVZLE9785gcTorXKYpP5e5IPMPnwHWYJ/7/vsdUx3uPBeZOzLRZVsvXetNoBINbsQ1p/gd55WheWmTUzMNqGioDi8g2BUAANGatJ1qIoNXpAnxxCyUXUvPheMkmkTOMfaKBes7TExBXZnN+Q3HRJaq/RRGV8VLAJLPxUQ/x+EsLSjyquNwvlUhUPdNwBs+MEmGBeMq1ufmYR2FTQPWpLSVcQjO4kRqRKtwNFH/KarcFv/SxhKOOtyu8JQ3NGgtA5oF+AV8eLw59FTYEUeWbUTy/7MjxBvmNF3RgxwnXvH7q6l3Gsq2amsQ==; 31:olzk8FGoFX5IT8kTfffAwBkxH/ZW3vW05mqCGiPKBTYhgHpgqiNhEgdmrvpyUHO7oxmnx4BqgMSkXU2Xdsk6BW5lyWDvV9n22Z+l4k2jBnzYxHfTSKTS2SjV6NuaOdqu7FC3Um/iB9oZKeo46njUzXDRESKCCzvMmngTfN0WrgzFBVbPr5xlGQjJ1b972C3LEi6aLUbm6v6PFyVGY4XF73qBMj0qUxyhK8+hYnVdp7E= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:LaDml7ziEKhirgdAOYu8fasMthHjlIHI4TLMVGiRnYCzkqE+q1mTioAX4rGRY2V/0QL/9CGL/hGKWKuuds+JhDc7CLw8SAyXxHv/ksygFpPjwwxTWXscTG8g0HWssvcpeQQZICmnznj4wZbFs2+tBix4cDiGysFVquVlO3hbjMhzSseSZ1duaToKCI5OWlZvCyumybFllFvSbX1BIC0ivzJittNCH4bzfszkQ18fZFaNWhH1c1ozVspIvBxbYX/jjqnqmpLgUfwxZJuXlcTJhV2Z6HYu9Md2HMLlTRhknQrTRjDPPAuadAxdgy1e7rU8EVmgIwtXSkxJZTawL9qE87nQ/kZJtoUpdd53bx8d196tO1a1S4fKYKMdsZlX0ASfpY27viYqCf3dcMR/OEUv8NwRnfwDuoQG0Id+Dig+l5MwPt4/Rw/8n7nwr1OuYxFlWUM6HMu8YRnYRu4JUXgG5N79prMQyqpoR2Yvxo0kXH1Bdb3jX9wXya3ebHOh+JwLdulPh/defAtPcOFQ9g8bweHeWF3qHnUXZPhryb90OLuScJLpZ6RSQpCuSpe3YAJmEhu5mQvRjPiLcVaZsa7CfPAbdADbx2Ltm4G0XvNd4tQ= 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)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 4:ZD6c/8qbcy55kIP2mppxEN8I0moR+Ka2/hg10EVTwFq1OmaIiTLvcaGqANWT+AZETcy2nUUg9uY8bVc6owmMd3+JqvimzQXiYW5OsjI2TD4aWbZx56msWblRznJ+NT6oCtHq4O2zguOw1+ue1rDIRAYM9lepTXZvz/eisO3ykICEVnJZgwKNdmltQm2euR0dXjZiwwAnh/AsMiWXOxzI7Hj4PzAxq3jjBA3rBYFObKpkXJ+zH/OM4CrRy06CheBv68N8G2MVO7vjW9jikVOXmqpUWid/8k5HV5WSiRpVNLaCYNgRzRAMDby3OZB0sCHdDkd6sTSDKko2AacIhG9arQ== X-Forefront-PRVS: 03965EFC76 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(189002)(377454003)(199003)(24454002)(13464003)(229853002)(53936002)(76176999)(54356999)(50986999)(105586002)(25786009)(55016002)(189998001)(9686003)(7736002)(1076002)(83506001)(7350300001)(8656003)(478600001)(93886004)(23726003)(50466002)(97736004)(68736007)(42186005)(3846002)(72206003)(6916009)(42882006)(106356001)(2950100002)(6116002)(4326008)(5660300001)(47776003)(7416002)(53546010)(6666003)(5009440100003)(66066001)(305945005)(33716001)(8676002)(6246003)(6496005)(110136004)(33656002)(81156014)(81166006)(2906002)(4001350100001)(101416001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; 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; BN3PR07MB2513; 23:F9As89O54xoTkrcmPxykl93ZlObNnTjAjV/HiOrp6?= =?us-ascii?Q?/dBwwfjmssTpnf7UHMN+P7AChEEKejJp7hEjFDMKaRWpz2ZLp8ml2n/6tqgH?= =?us-ascii?Q?tOAu4FggB9LdMENoU6GBb+qBlcUPwigVlEr2699E7tEK20at4XXr1q1SXW2f?= =?us-ascii?Q?mIo2uH/nzAwN/9RU8wCFMm9oGWZl64nQ63AYzbDayL3LFX9sNij0Eo5ceYeZ?= =?us-ascii?Q?7Xe0iVTGptLAef/Zf92Fr+DmymXB5j3vYkyWYX/r//vapCDybbYbyxAWr7sC?= =?us-ascii?Q?1L3EeAiT2TmeDQMT9/VzuxwbLKhjfLOSnqY/bJeMdKEDgiEi3RnEwUJfled9?= =?us-ascii?Q?tSId7PrDJQFbvO3m8tVrumJn81dvuWPT5jGttW4hLLZPqARjH9x8y+qjpvAk?= =?us-ascii?Q?/DN+aulOgVMNnbkuXvAWjc8NA1c/Km42cz/pLzpVpenRjJselHaxtm7hs9eZ?= =?us-ascii?Q?Oo6OupGzbWoGH5KhaUF0p1tlu2rWkcBvLaZozqt3Umk+Ejvf5iv7gDzRA7Ae?= =?us-ascii?Q?vB4TgWXMXOMMAA0oLQkfb25vcdKh/OOQth9IYXep5CCDnZN9j0x72DpLzyGi?= =?us-ascii?Q?4hAn7pbMtNGF07R3ScQmmm2ydWbQnbZNgftwD+7wwrQZBrcEViOrUiLv8zLU?= =?us-ascii?Q?SukwaH6ieCER2iGJdQs+f4n3Bv1jBJcl0A4xXDb2xgVSpjUsGfC9fz/ssxpL?= =?us-ascii?Q?rXjJBPs6UH84eE9CJlcn9NCetOmqOCYSLTZW9YBOvQ+iGtePL+k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xnZaAFTefmXwc6QMrMHjbhxA7lj3ZC/ghm4SMD6U7iBYjcyAP4xRX3+5hFJkxXuQfnaIBtX7djL5F7sVfIFjoTJWGRqmbLmvaFGFg8OWrwQ80U8dA==; 5:fKbEC8+j97JscaUWqlBNX+SpEAkaZdnvNOc3E1S7/k9OK2Aed7YOCirgjoYUoKl+p85SPj/L8+M7+ZemVTApbGzwAW+bnRUtdSwJXueN3NhNUSLtSLnPKWotPY2WI++SNXwfJDdfRgSFbYOIywDDfA==; 24:bxuS0yYiMIPGIATMIBExQn5ZDwmW8d0ve0iA1hLVvF3s0Mck8xeHpnmOh373ANTgy0BvCxBf1PJMSIRUHDRJ3o3gkE2SuVJJofn6aA9KCYg=; 7:I+TfkBtV8rQM122DeFxbZvrYuq45oc5Y5zl3CqGAWVUBupNEj46Oyxr1xocymXPJcGnygaHNC01wgoOIYswx6f8BLU6DOLZQ5ThaxdzjIm0lzJlE+vY8bhteDEzyqGz63hsTPBSmu/XgqfXq/zNbK0n69RS511EwVgArowoVp7kq0sZeXMrI1Zak2AkPQepNzCmC/e8n8Rylwbp+HZgyEF5xtRkdAxCdSOUWVJDx5sU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2017 09:49:26.7349 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 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: Fri, 11 Aug 2017 09:49:34 -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. Yes, it is eventdev API. > > Nikhil