From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0072.outbound.protection.outlook.com [104.47.33.72]) by dpdk.org (Postfix) with ESMTP id 26E3E376C for ; Tue, 11 Jul 2017 09:42:38 +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=QGjrsiJoAokMAL9KruSwBQOuIw7uCNHS/O90GnTc3lw=; b=Wk81LjPIOVQ3N7TBvcLrSuTVRXWS1xptP/Vu8I9eQm7GAhcf7IohFSouPvwj5MWvcqbNFM8E+zxugzRQTNc0GqtZQvunUMEf19sFJCQm+JOhV5KQlekgPJRR5mJBnquDjObE1rP25g3nJpg3LNwSkIT5QbIqTPRBHp/l94tcQi0= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (106.201.60.201) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Tue, 11 Jul 2017 07:42:34 +0000 Date: Tue, 11 Jul 2017 13:12:17 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org, thomas@monjalon.net, keith.wiles@intel.com, bruce.richardson@intel.com Message-ID: <20170711074215.GA27939@jerin> References: <1498735421-100164-1-git-send-email-harry.van.haaren@intel.com> <1499445667-32588-1-git-send-email-harry.van.haaren@intel.com> <1499445667-32588-3-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1499445667-32588-3-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.60.201] X-ClientProxiedBy: BMXPR01CA0030.INDPRD01.PROD.OUTLOOK.COM (10.174.214.16) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7dd7e333-a7db-4e31-bba5-08d4c830663e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:sxX1GcHYa3eeXVJwGu/9ZjdcDKigK2xXZV7E+2hHtrqcp6VF9MYdqHvHdgrEJ4IV5gIDkgJNAN/YQMj7V8nAsaV8h0MQk+W4rNgyWjHmKIJtho9GQSfEySpF5LUcqdgLEpQP21D/aVt9kF/aKXiwaQjiQXDZc++zCpbrVJI1LFkIO4DzRzJIw4GZlVIanAPlfHf9KKxUjuW8Y5LQpDp32R9F1fx8XT6yWRlkyNJAhxi7wW2fCZVdbS/w6ANjsIwyIJvQdS0rnj8BKQ8dN+BGV7M1m1E+wAoVtSzw6W79ge3Y/GxPRDrRJ1BKdqrt2lFov6YHXgUTlBT4Ik2ZpjqL49itHwJe3GsCcp5spPvrRZ8ywI4jw2Ddkn1xoYfYR/B2+xrHX0wLKT+RFN+zG1+pjHI/0Y8mgTCctC1FDi4C/wFq+qMSguxdeYMd7IZiCmPkV4o9t5OrY8pqOjr4VyVXfe44hsG+HBM1wpLdgSdqPfpGbr5gEEVS27HE9VnHdlE8c58t1q49hpxf/8lZLQmYS8+Xsc1iJvvwyqVc1nMhECOISpoUdGeKk+w0KoDXc9g+q/FBLUacFyUxuqaWOqmPKSUu00SFGfe1U2sBXWkwlK4AiUARtQyUxity5x6dOLazKbsZsPs23WY7IBxd6XGu3PadZA6RBkG+5IsaYUo5EBfOmV9QO5zAs8DGMVDV1qc6QKp7Qt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+Npuym457lv+aC1KdD7LHRLWbx+srksiSA9pLEWrO45FbDwe211HtDFUGw3LZnzo5kbDWDHTrDNyB4nr84sse0EO2A0aMDItnk87VVsZijfU7hwdYxS14zwhCm2Ust05RPCvQUU75eeMnT4XBBF1ApYnGiEaizNKd3xF/vwIX622QCJG6EQV3YTanMyTXYaZWzc/R6m5ehav8EKKnCLK54t15xQIPmAPY0YCGZw41HT+uu2Sl2fK851w0Tvmxr87oFGsNchdZbky/knkJJ1Q62Oi3ccNh2xSEnTwVoK6ONco/DxXFg4A= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(158140799945019)(228905959029699)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123558100)(20161123564025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:tlU/ILr25ULhQCfQwM4l3TB0W81mPUVsRBHcm133?= =?us-ascii?Q?O7r1C3INWE2+C1ayTQT5/t8KYI5ZLkb8qDHdl1hK7qT/nmAU22JkvDIBe4RJ?= =?us-ascii?Q?13X/dArIyr5XJjeKRHzYtbi2gx2CT0T4W01O1FNX2tp3huz/UwDETJpoQXfB?= =?us-ascii?Q?IMgUo8Npzyrevd9DMMNWj23CArI3nTJ41e4p1gyA5SfLXULoEpgs6TOu1bwQ?= =?us-ascii?Q?V0l+h7ND6X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m5FC5?= =?us-ascii?Q?d46aGWESptmLxIzQO+PELk6xcqeUER30pn2WcGgTtL5rXRWfYQEU6014fG2A?= =?us-ascii?Q?g2A5d4XZwCQWkJ2KyirfzAK7MkBxuBAmqPnqDqjB4UcpXGQkvMdvdoLXO07h?= =?us-ascii?Q?55pZDEIZqhBgE7j5Z2JNSXb8FR5tLa8xi/7TT55S84l+vJHl0/QvPukDyWVy?= =?us-ascii?Q?VgKkh0K8VuDvJ0zBB9U4dpI=3D?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39400400002)(39410400002)(39850400002)(39450400003)(13464003)(3846002)(6916009)(229853002)(33716001)(50986999)(6496005)(4326008)(6116002)(478600001)(42882006)(2950100002)(38730400002)(110136004)(6246003)(6666003)(50466002)(72206003)(55016002)(42186005)(9686003)(53936002)(1076002)(5009440100003)(5660300001)(305945005)(23726003)(76176999)(54356999)(7736002)(4001350100001)(189998001)(33656002)(66066001)(8676002)(81166006)(47776003)(83506001)(25786009)(7350300001)(575784001)(2906002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:mG9jInsuptH8YzgG02GEE20HkVDmaJ9InuisoBd?= =?us-ascii?Q?wu7gc/1TERLPMz+RR+MR3kc+d9BiohAK5e/bCtT9hnyrVOUrU2P4mKIrx6FJ?= =?us-ascii?Q?2wQ5iP/omz+eVH2TGuEkNgM4eao/HJkFEYsMit3j4dKuRUEF6hmAd8M3Dici?= =?us-ascii?Q?EX70GDSb6HE/fznPN0O/Q6wG/sRBTufrFTBOSRcJRKrs9PFndBkbRLa0QScd?= =?us-ascii?Q?RLrnNiCmrccWtIVY9x5q82APFe8uBs2ml9RVa2t6wh37/vZ9JBz0u4sCbkKG?= =?us-ascii?Q?wRe0oy+EPU/PyhHL9ETr30pVyS12M6FMnl3KLbuI2pi+iq8klJwkT7KPON9H?= =?us-ascii?Q?6uKOKmz0syvpzVXGhZ2gvQ5At5QwjVFqkgyvy0wYZYbVFzuXrP/YYtwyB4V6?= =?us-ascii?Q?wgIMnJxP083gX/vc4ZYAUlzofzitYB/XWAAgz3fVR2WYHizjy5kl8KTvJo+N?= =?us-ascii?Q?4WCexCkddRmGDAoD3xsrTO+JWaTzi7QrpbzyXZ/WivnryRoUt5xogef52Vpc?= =?us-ascii?Q?HiueGYS2nEE+3C0YX/WCBNyisPnrzNXWSCIeMEhMu1TeAA126SQ9KPlDmgvp?= =?us-ascii?Q?aXpw/GkLuXeuderHlapn/zJWYcoepTty/QbIBCBRGc5OvxSvqdwlA+mEdx4j?= =?us-ascii?Q?PopdwwFrZOmDeynFQe8zVgjOyfQUnBU65DUziA5RRr47InY5+DBMoeJglmal?= =?us-ascii?Q?HDzkj0gMiRxg3y/7JfKdF0KtHylJyjlSrRurMlvP6ECDswasjaAuIavigaIi?= =?us-ascii?Q?pthd2vutZPoNF7xfn5MshyiiFPX+RMtsqLcW/L2dXOQftz78YkZVC5BHahjw?= =?us-ascii?Q?XTr43V4gMjNsruSkr8O3PepMG73grdNr7ymMFf2cXiARguWLl8z5KDe+vZPj?= =?us-ascii?Q?DaHa70SqQu9h2DS2Y+4Asxn+TxlpBWdE+g+s3ryOMWyJUpYrV2Epsr0XFmv3?= =?us-ascii?Q?cWYmS4HiOs6dLhSg196uxTGr6KfUX3UXsjJhWLe7YZjjv1Q26DeosxQG5CyN?= =?us-ascii?Q?7zYHctb8paF+AD+ChS1tWFrubCQVIXxsErYQ5EG0K1V62EIvOZMs1Y9H6T11?= =?us-ascii?Q?1sL/QeiSjMNHRh32EcWn3toma1XNwECZnx9wb0xnz1Zk2EhdBA2pPksOlCMO?= =?us-ascii?Q?4X0Z8JDM3FhmoWVPZXqHkyJKH4BrZ2AljZ5DoX3tmftW97cdbWMkH+RR//lz?= =?us-ascii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KWrwiqwV7Yo1tHobzX?= =?us-ascii?Q?OTPlTLypW4LryIlU5nGJWCOBfG9SBlfQpZ11b8RkXaSdLxN+UXlphlU1531h?= =?us-ascii?Q?MIna68Ey8MTpsHkJgihSWvSsyXWv6TM1IYu3hAeXiW74raK5/3SR+G1vJChc?= =?us-ascii?Q?LPMQFe+hCS15v/HjYATLQuHnZ6hV+ZMX/ec4F19qMIEyMIn7UU0/wARhrSOB?= =?us-ascii?Q?RUdrevCYR3UJYBFEM/lCERGiwqjN4ZLmQjMDFaYaZWScC72I8M4+YwSnuUNj?= =?us-ascii?Q?fow=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:L+IuxN9PnLwP3scIiEoi6y5B4UBA08ABpeLilRDr3/dmRk0aOghaKaLax8LFASeRFqLKAZ567I7+5RAWoaHAVrKTVSM/aShayySZZiw8AXgZsJNMAPpW8ZxPiyNljpTugIMTtYMjYT9lJ2QHkkYiNv48xoszTAnycly+h8t5dWhxj8KaARgLh1ubexMUKuLlooqC+mRYPMBGVXu0pDYwNg9D02TZhDvtiFjYCVlJhzr0mBSw1jgbzb1fkW9xb9FXnGJjIwAGc+HxFjdOpn7/HiGrZl2SgvsIEnFaDNsR6/vjDzwQGzNn/HA5Ufb5FaxEFxz2scE8nrM1tTP2KbYjn4GcUBEdcsFoNAArtpo1pLyIs8bl7AiMp2XTUqjLYrlIjYn7O9IoPYM5qrt9nelwmCwrwFtNag9VBToRmcGf9l3gZ/glCYfj0kfsaAt+ocFeu6uwVIBxoPeg3uTEMtRodhhe8t1geaXTT8jfq9rPB1Hq1FBr4ixV9jm/iSm0kHny; 24:iBXXKSjl65WRWfFaDZ02WjGpm1sTsSyldb8Tx2qy9wybXBrusUrf/riCrUKFfk5GSQi+P4erhpfmsGNor61MMK1AvC7ulXtAUmviQnHkbPo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:sFusS/y3GXgzY2H0rrXgRmrv+0LJ8AdaOeaUO7Um6MCfq0TsNvbuZT2K72EJu0cHPEujy2CiyY8igedcoQNP4RyXDFtrCqD/HIrhjS3nEPi6Z4h1wfrOZesZT0Du62P0EQhoe71+EL88RItbPEgf1tUoIrFY7xmF2uCv3wOF2KiI1j87xsno0nRrUhOr/oYbZKo0Yml8sQfdKyOOA4tAGZ6P8tl2cyidR5SsScR4PnImrz/PQSAMarUkHVWK4iua0z/z5SG03k2KzqhrH1lv/STzMROE7R4UB1XTZCRwZJaOnaVr+lSV7gz/6C/JO7MzaVH6YJ4wDoLSX8nm2It0HARmgZQBOUIjEhhHKHfyPelaWv8iXy58NarkbmfLpHu05QZcn34NzA63V1JnhWD1lb2i3cfMpb5uhuNhcAFh0Qd7PfsuEf5kVx1pBnog4B8wARAz17ZMk1dDO0LE47Jw+d7T7NItO9zck+UBfgdMRKJuvvWKrdTXTNpezZU19ZRfBXZqYRc9JE/xGQEtwYSI+L406VXyLOzfwj5lI0Fs6X01HgB7MSBf7b4XuRBdXh6EJZpqZSkxqDDZE8xfhdBtgcRPlWwLGxs0i7yJQjcG0ahP1lB1PvVoLZ4pJQC4EGc3nVI/ODf2xBqmoJG3z4Z/1O/rmlJp2eVraBnRQXN+sigPmglutsElDi/Y+3x99m5hKedlkEpfVaUbh0QNX9YJaXqUjDl9gsqRIUb8vRYzWT/3VzDmQtpwj4NlpcIwntT1p0O9B4Lk28NSJTVtqldOJ0Qknl6SQHbyq2stqrBLZk4= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 07:42:34.4956 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: Re: [dpdk-dev] [PATCH v4 2/7] service cores: EAL init changes 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: Tue, 11 Jul 2017 07:42:39 -0000 -----Original Message----- > Date: Fri, 7 Jul 2017 17:41:02 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, > keith.wiles@intel.com, bruce.richardson@intel.com, Harry van Haaren > > Subject: [PATCH v4 2/7] service cores: EAL init changes > X-Mailer: git-send-email 2.7.4 > > This commit shows the changes required in rte_eal_init() > to transparently launch the service threads. The threads > are launched into the service worker functions here because > after rte_eal_init() the application is not gauranteed to > call any other DPDK API. > > As the registration of services happens at initialization > time, the services that require CPU time are already available > when we reach the end of rte_eal_init(). > > Signed-off-by: Harry van Haaren > > --- > > v4: > - Added #include for service cores in BSD eal.c > > v2 comments: > - Include BSD implementation (Jerin) > - Move details of core-tracking into rte_service_lcore_add(Jerin) > - Given there are changes other to suggested, not using Ack > --- > lib/librte_eal/bsdapp/eal/eal.c | 23 +++++++++++++++++++++++ > lib/librte_eal/linuxapp/eal/eal.c | 23 +++++++++++++++++++++++ > 2 files changed, 46 insertions(+) > > diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c > index 05f0c1f..09e3301 100644 > --- a/lib/librte_eal/bsdapp/eal/eal.c > +++ b/lib/librte_eal/bsdapp/eal/eal.c > @@ -72,6 +72,7 @@ > #include > #include > #include > +#include > #include > > #include "eal_private.h" > @@ -653,6 +654,17 @@ rte_eal_init(int argc, char **argv) > rte_eal_mp_remote_launch(sync_func, NULL, SKIP_MASTER); > rte_eal_mp_wait_lcore(); > > + /* initialize services first so vdevs can register during bus_probe. > + * Ignore return value of already initialized, this means EAL parameter > + * -s was used to set a service-core mask. > + */ > + ret = rte_service_init(); > + if (ret) { > + rte_eal_init_alert("rte_service_init() failed\n"); > + rte_errno = ENOEXEC; > + return -1; > + } > + > /* Probe all the buses and devices/drivers on them */ > if (rte_bus_probe()) { > rte_eal_init_alert("Cannot probe devices\n"); > @@ -660,6 +672,17 @@ rte_eal_init(int argc, char **argv) > return -1; > } > > + /* initialize default services configuration */ > + uint32_t service_cores[RTE_MAX_LCORE]; > + int count = rte_service_lcore_list(service_cores, RTE_MAX_LCORE); > + for (i = 0; i < count; i++) > + rte_service_lcore_start(service_cores[i]); > + ret = rte_service_set_default_mapping(); > + if (ret) { > + rte_errno = ENOEXEC; > + return -1; > + } How about moving, rte_service_lcore_start() inside rte_service_set_default_mapping() so that rte_eal_init() level change will be less in linuxapp and bsdapp?(and both changes are tightly coupled too). You could change the function name to rte_service_enable_default_mapping() or something like that to include rte_service_lcore_start() start change. With that change: Acked-by: Jerin Jacob