From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=q5AOAPgwwreUhEdRnxvdJqyLXSN5h6fQdwHCADS83i8=; b=FCf6BhTlioAfSEJILLS43FOKZvGM1ZDzroKyev14oyMrHFXcXNdCcV9ISBBoUw4/d/b5vsfdqwUnO7ihUNnXzzNvOUMfInh+/MHKUTQvtsRaoQ3st9bZTMfbPIaMs1CC7F8oyfzDp03oqdUlwszrBsoaPZ+glcyOXMnmolDXw7M= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT (103.16.71.47) by CY4PR07MB3462.namprd07.prod.outlook.com (10.171.252.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Fri, 20 Oct 2017 11:12:16 +0000 Date: Fri, 20 Oct 2017 16:41:56 +0530 From: Pavan Nikhilesh Bhagavatula To: "Van Haaren, Harry" Cc: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [103.16.71.47] X-ClientProxiedBy: KL1PR0601CA0024.apcprd06.prod.outlook.com (10.170.160.162) To CY4PR07MB3462.namprd07.prod.outlook.com (10.171.252.143) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4f6b6f1d-9828-49c2-9db1-08d517ab6c92 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603199); SRVR:CY4PR07MB3462; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3462; 3:Fb/bikCfsLerrDJHuZYo1Uq1uwqrSnXTGz0HXgxTF2RWB/zeDm68iqfNCsL982UBBhB3MvRsa2JZrech4ITC80//2wSMQX5HRcNcSKEpBQvR0A3bfwzjzCf4V0vpflx2SBNybxfn8BYeu8668uT66Mo7+BHEA4edAc2mNOUQ9ytoTxNBP9zp4fX4MUM8FVncMvBOFJxRES9Q9jdMfBfdBIw0b5uUhKg17uy0JlmMAsI8iy3jQ1VCrZ0AIl1yCALB; 25:5tzTzJDOexc6rYIt4zuoMV2GjbjeC25kRYFVjb4fFSZTCfnBVieFxAIqLFgbu4L6ZhKAy1Jrurnjh4BQA+odF154m2WvDTAAHGORCeGA8wOAxW8t44L21Z+VJ85iMBbsaLg9wLEgSriANopR59Aou+9DIdIQA9vK7yE544xKpYcOnzlqZdvQCEJQIX3r5Y8QxwSVidwi+5FxJ0NV8D+1xCGj4D4RmO9dRGedpZhbdRHogHgjs1ANwCzxXGBfs3eoxOA/gSNxPwO8W7BxcozrLyQs/kXGalIAK8GlJ6EqVDKaJP4qpiCkkFH8b4tiXkrFDMnlfijR13qbbXCzYrEjNQ==; 31:GX6SSJj/MXPimjZn+/YnuDFpxH6vYDd6Z8FtpZpatPicWpU+dZB4pI7x0KSy1rKS0JranSSeQt/OPsIVtDyvm0rH8VcqqMZQIa3ILo+6J9b534NrTuH8lUTtLONtTDisQZ8ChZgUS+RL6GLk4lOTyFE/8NfcrpwVifYvK2MYZWBLiSuS82S3TNHysA7BHBNYhf7lVDyGQuIQP0+qNWn5R8ojErcrnwi9c/meZLUZ+JQ= X-MS-TrafficTypeDiagnostic: CY4PR07MB3462: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3462; 20:fF1p6afKeCVONyaTJM6+eN/FFGyvF3688TtXQjNHILrlEkfigY9FeiHJw0NDkwWmnkjvjj4yLtf1l97HAysPrvB2EABnRxmWBZe5H3ueiAoF9WERAHEJD+Tlzt0bMiJJ7+okTQkYLd3GB8FzBXaa2zO6JLGfibBPLaggciWzqDaFL8rpUQg9LG+3O8E+aNX1F2vJZd9z/xktTH/uQ2x4k1BCmVmlFA7o33/f9KR7gEA2v/ughZERQ9nh4s7dNstvHK0A0FKF7dJJ4qmPKi4P+zBlQ2YCphD6bbooFkqSa2SeMNTbRuUaA/3n9ZG/exrb+etIzSC+nj+E8G6v6c00aKV9DJGqafXbX2+pRHbRsfXHcQnK5W2H3HUmY0qCsK6eLSoFQYGNc2FC27uwQGShMteb1y8BrD8TwLqIin1iMF8YXv25wJFQVmsqg96mtDHkNigQqRHcZBQ4h/He+VZH0okPQZW/LgXkk/nHaiz/RNxI62AMnjQOWvHOioX5Asvff0ffHlNJ4eRerXN9GpQWfgV9lK+PDgnsBD99kI4q+LaQiejiWmyHALelDpkWlm170Y6jJ/GEeHch3crpSThWQI5ZByTtUDoujz3yZcPfXsk= 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)(100000703101)(100105400095)(93006095)(3231020)(10201501046)(3002001)(6041248)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3462; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3462; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3462; 4:dMHXr+KeLYloFO1Z1wFidiSdx+G/uXGvAKg8Vk/wJUR5gd7FOnANOu7zGkvf4aCfKcOZM2j373QI6YZD15QaKjwsUKw9Z1Z3TE09lTbIeFr/auxQIcQiBLDBKjL50V6qluQ5tSmhNVxb5ZLbpJstNnUKU5QE6IUMDdnyVdH9QVakEcpmdQGE7Qg7Maq1fU52bzzmVuvQnDhJUBfQa8YLFcgUhp3uqsMbC1IuwmRUvoESXN99zKUIcN0tlbhYrltkoZSFYbz/H0NFVOvTBmULQzIzMLu9bD/WeJFa7QfI4ULRQY68CecmOwX/l8l1iaPaFCassZlo34xSBPLBTeuZtQ== X-Forefront-PRVS: 0466CA5A45 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(24454002)(199003)(189002)(6916009)(6116002)(23726003)(1076002)(33716001)(106356001)(101416001)(105586002)(5660300001)(16586007)(3846002)(58126008)(316002)(6666003)(9686003)(54356999)(33656002)(53936002)(229853002)(6496005)(478600001)(66066001)(47776003)(55016002)(76176999)(50986999)(72206003)(189998001)(81156014)(6246003)(7736002)(4326008)(25786009)(81166006)(305945005)(8676002)(42882006)(2906002)(8936002)(2950100002)(68736007)(53546010)(97736004)(50466002)(83506002)(16526018)(18370500001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3462; H:PBHAGAVATULA-LT; 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; CY4PR07MB3462; 23:KNHF5KJA3bzlLpKykifZAegzxgEJ6VVkKeng5/+Cx?= =?us-ascii?Q?alEM0YaxHJs4oFVu1nbjF8gNVERbDM4haOrka8CecGwzgRzpBz5QFHPVCBiL?= =?us-ascii?Q?wm1X8utiY7hfVb4Kx8JuyJNnwRmNm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3UHxvPTzLztWnICWu1QStXRGX+/EDQwR9UgSZuaqli985rF+dh2B1eITJ2pJ3gCotJtvrN/g3NKUm3k5APzTbnliSG9TW4a6QNP9Fj8YVDCyY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2017 11:12:16.1031 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4f6b6f1d-9828-49c2-9db1-08d517ab6c92 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3462 Subject: Re: [dpdk-dev] [PATCH v2 1/7] eventdev: add API to get service id 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, 20 Oct 2017 11:12:19 -0000 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