From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavan Nikhilesh Bhagavatula Subject: Re: [PATCH v2 1/7] eventdev: add API to get service id Date: Fri, 20 Oct 2017 16:41:56 +0530 Message-ID: <20171020111155.GA7978@PBHAGAVATULA-LT> References: <1507712990-13064-1-git-send-email-pbhagavatula@caviumnetworks.com> <1507912610-14409-1-git-send-email-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: "Van Haaren, Harry" Return-path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0040.outbound.protection.outlook.com [104.47.37.40]) by dpdk.org (Postfix) with ESMTP id 122311B1F2 for ; Fri, 20 Oct 2017 13:12:19 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Oct 20, 2017 at 10:21:57AM +0000, Van Haaren, Harry wrote: > > From: Pavan Nikhilesh [mailto:pbhagavatula@caviumnetworks.com] > > Sent: Friday, October 13, 2017 5:37 PM > > To: jerin.jacob@caviumnetworks.com; hemant.agrawal@nxp.com; Van Haaren, > > Harry > > Cc: dev@dpdk.org; Pavan Bhagavatula > > Subject: [dpdk-dev] [PATCH v2 1/7] eventdev: add API to get service id > > > > From: Pavan Bhagavatula > > > > In case of sw event device the scheduling can be done on a service core > > using the service registered at the time of probe. > > This patch adds a helper function to get the service id that can be used > > by the application to assign a lcore for the service to run on. > > > > Signed-off-by: Pavan Nikhilesh > > > > > * Dump internal information about *dev_id* to the FILE* provided in *f*. > > * > > * @param dev_id > > diff --git a/lib/librte_eventdev/rte_eventdev_version.map > > b/lib/librte_eventdev/rte_eventdev_version.map > > index d555b19..59c36a0 100644 > > --- a/lib/librte_eventdev/rte_eventdev_version.map > > +++ b/lib/librte_eventdev/rte_eventdev_version.map > > @@ -53,6 +53,7 @@ DPDK_17.11 { > > rte_event_dev_attr_get; > > rte_event_port_attr_get; > > rte_event_queue_attr_get; > > + rte_event_dev_service_id_get; > > > Version-map diff didn't apply cleanly - probably better fixed on apply; > Also, I think the functions are supposed to be in alphabetical order. > Yep, will fix in v3. > Acked-by: Harry van Haaren