From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0066.outbound.protection.outlook.com [104.47.33.66]) by dpdk.org (Postfix) with ESMTP id 2B5982C8 for ; Tue, 4 Jul 2017 13:35:51 +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=eRGH7z7f59SYp0x+6ZkfMyJtxe/EfIyCIhKHEr2s/LM=; b=Q1ryOmEol1ue/9CeIxeFip3+0kOLAQqXxq9ECY2uUCtTuwEaQO1C9KLf+2n/GznFy1CL3W82QxU22gMMRB9wRrI9TIo52azrXU6xEwisZuelXk2rJfCiSDVBAsGeIzMK6rJH4lZy7DvT3Z1GGhLjox5QV2POK3RfFytqZbI2Vv4= 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.200.206.49) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 11:35:46 +0000 Date: Tue, 4 Jul 2017 17:05:32 +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: <20170704113531.GA14921@jerin> References: <1498735421-100164-1-git-send-email-harry.van.haaren@intel.com> <1499031314-7172-1-git-send-email-harry.van.haaren@intel.com> <1499031314-7172-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: <1499031314-7172-3-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.200.206.49] X-ClientProxiedBy: BMXPR01CA0047.INDPRD01.PROD.OUTLOOK.COM (10.174.214.33) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6fa49647-570d-49a9-9038-08d4c2d0d191 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:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 3:KJr7E9R6E0NxQvmanQfxUMYsz2zSyZHjfwU+H0HUlPFQMMiR3UyYtGZkRtG+8lsDFqFSqKtaX8ITnbWFC7/ZFc5gYAyH/2V4UOdeGLGfk+xIkitdad7Ofjshb96159vrwNES4N1gua5qsFzohN30+Opq8aTQpBg5a/bY9GY6SkPiIfuyllwbThiikelic7hJE8o6eWqDZfOCo57KjRvxopAdD8OU045B9pJEQ2DxM8uKhzAjsD7z8sUXousaVJi1KdWTy9CtI2dnKZ/TaO2Jwtb1RxUtCU7XkXsM4zQIHPaIUyS2ocGEYCoIe8Tm7QUdTn4sMFPIcDXr006QD7VD1Mks38o5NtK0+WIw3DGZRrrXTEZlfTDuhNS2BrmFy7J8cNwsAzmgLeRablnw4aP7c3UjFapVZUfaEZcoA9o8fLD3E+8GXej1F2pd+ppzvjBKNDEUMMsH6psd6Ruje4/VMmt8XsghJ2Mygf1pwXQ5f7jm0OQJDvjnTX7Wjkhm0FUui+m/R43PXDe+h5RHQ1j80SHA3oJAGoMuszHZv7vEHytKTRdV4v9fF1lOFRs6IyaAlZVS4EcxRi2+akb2T7ei7lqW9r9nnJMadzdLTZx9VCML+sruqQ8MKRKDCt4lSBcFjYJqwxaungWN4ZaQx6FmonlKXkPf8/0zrL3bf4U4+LVOYWuTs72B0ZuN/ab5GmrmEHASFskMfNr5ym23FzB5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jdMZoMproGiJHkq3pHsnNWU7AqtdbGS2ck3qy2o0TFHW21hcDtjLLByYoeWRzcMyscoqICRremxGwgskka7Y/bSRC5aUn+8i7BBEt8ywcvrmxEr7pIigDx0ijrLYo2muQOZOXnHPCfYchyUW5In2TJQ0hPFiODjbeUUdStQuKY8evzBPB4vTj20QFpHV1mZ5hi+iulf3b+jxCMQPjcmaDrZVWcAP14qpnTR1WtEUSOfZ2jyIzOfI+1ihineuWDB5fNqwmQZ3QMZYiJHLgP/Mf4MOGSmiOYeWxhYBqXb2eq0FvyEaJr6D8mkO48i3009IJvwgxy0A= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(158140799945019)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(6041248)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 4:0DvyadIN0Gvt+4apxOWjKNvU1PHk4spjcyxQC8i0?= =?us-ascii?Q?PIUGmH6YWIQDM5GkitJgivy9Gdoye1wO3L34/U24sA4oy+9ezSCdrnTqkqn8?= =?us-ascii?Q?TsPeDjPNqm1tpvFwaj0nOp4qtzkXjQG3U7ZW2kreJe1zB9VTp1KGdmYf8J7f?= =?us-ascii?Q?fgprbO1rr0rbxytIv/Iwyemfj88Oue2yR/dXuHhqsvvMlSAv0VScf3hN5HMO?= =?us-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2UhirN+l8GwDbzU/aVK?= =?us-ascii?Q?XzyEpdYtZ+WMOkdq2k16mBQlP8miRn3neoxI/TmXk2RYfJ32ACHmkjH18Ehs?= =?us-ascii?Q?IjBqX1uX1e0/93N9fAt5bTGiAuDZ51ED89PCpfkLYSnGOULp8jFt4H4RiKEK?= =?us-ascii?Q?jstBf23PJCXUhsgkzmQ=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(39840400002)(13464003)(9686003)(81166006)(55016002)(189998001)(110136004)(6496005)(8676002)(33656002)(2950100002)(83506001)(6666003)(6916009)(38730400002)(42882006)(229853002)(7736002)(50466002)(54356999)(23726003)(50986999)(1076002)(42186005)(66066001)(478600001)(2906002)(3846002)(76176999)(4326008)(33716001)(5009440100003)(53936002)(6116002)(575784001)(25786009)(72206003)(4001350100001)(5660300001)(305945005)(47776003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:9iC713gldIbPbXC072Yly6mmM0KhU8+ZaWd1R8F?= =?us-ascii?Q?QI7feWHz0f+PPCGSibYEZ4R/0jeAtVGHvsEiweFHKi+7c4nPDd7By7bEVsGT?= =?us-ascii?Q?s8ruBPVEFvYbNVXv8LecKRKqW4E6yk1Q6MJdAoR6dFEg05WUaYcT5+ZUZQlQ?= =?us-ascii?Q?96ZbhryFYYYx1OKxW7G+t6VTDZ1UDXPybTqXqDMIt9miVy/cV5kPj3NQBnRX?= =?us-ascii?Q?XKWAIGJW8XJxmciRlDwVisoXp1/uyH+Lj2CJ6VFGpQLTnq1Uj1tw7Tg9ZmRl?= =?us-ascii?Q?+IKIDCdKZSNb47O5uUR88YmsbdcxqoSyj2Ts2qdxj16H4b5Njev8vQBHZqEJ?= =?us-ascii?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bhOFMx5rsIXCqlNrxox/6+cFxw2oJbqdjUOabxmJV?= =?us-ascii?Q?1Gs5TdvFRRuuQNXQxfj/RxPSOcj5eGQiHP5HrYmF4BhwIyKb1nDv83T3k7b1?= =?us-ascii?Q?IELUTFISwVQSmND5DhJvcqJv5TxDxitwz9F+Pw/gfA1MKLuk+ylFYm1cdOCS?= =?us-ascii?Q?k2E=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 5:2cxL+g6QnaMNH9oYItlrU72i5XKaHGtemzW9yFe/GM6U705AHt7SruQugH/syxTZ6T3ilizWZtHlxOyIuUiqfbU3nCfJRA8oOR2/5hpudasbdBMnaXFlbTpvasNbzxKXzU9M+Y4s9lU04x5rP2IbP8ZKhXb3VA0HL5UoneAeBxlpsbHsDEVeaND39HsVPxNH9QMlX8MKdOxfBgFGszSuLG569qQtYfqYMFMKSYJs3xTKGDKjwGcvA9+6L4+9aC0Iw3eWV93L1RDW0X71AWw08QQobkJWlYCDp/IMtCeDUIMk3XWWUuZJ7HcItNzfD0uPDTHnje2XYzi1kOBlp3VO0US1rrJjyFxaI97iFdU+XQ8/gkJxOErYOwccH2sGe6ix5TKusLf3d0ZkJy8nV2A4/DCCGkAmPAvPMQnTXJ7xsKPFM/ZMoMG55BtjRcvnlqcZ5txnktMtqSiZ79cfEqzKMS4A1YxlmD8sE1SX0dV3VEOlvajdWXIZLNEv+F4ol+yK; 24:wmGghjCJiTN+TIVvqZTDtvwrpVFNLuNnZEbkACK+UQiguZFelmKlvYLmauOLnU/oyeBhtWeLPAQ7CA7VWn/hV+GdvHy4o82W3QBxTcv7lOo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:TCFmUPRHJuh0zXECGTAwtIIXGIC86JYAjuw6UzKLXmTXsQ0oPUFLbZctMD4W0QkGYXeuVKqPhbGSJZ2yuyOwxvDignsyUqYpN0Itc1yeveaonm1VJXp4G5pFb4eLkTlQc25Lgnmz/nThgdlE7u9itZeaHxIqan2Pv1vy02cFdlyjrCUXqQ95rAb7Loeeaec90gMxmS5wkYymETyXo7SGssKwXzTHakiLKiL11RGzH7BbwEdWN0GnWn77HrvElPXVsynGzA2iwBl9pLa4mYAU1EJrf04CHo4p6MA8zy4LfMdq0ldaB5CPysoToxT2XlfRTT5x7XYNqpaiceoiRjZhifHmgpre6SUqSUlx/qulNChz2Jj6eUs5jIzeky0k8PdqNKAaz0NVo2FPY9waUVYStnIwhYNf9EfoeuKTTe7qDYslOmiIZH90wMYl+h0aMt991EIT1QFx0IEPKVEDk4PNhwTkDrqelo9XCQVdRbyfckHhXoJK1IpoyxVJu4gbEDVMTJTacpSNnaHyGp1R7Q+zF08IKMOXPInEPbWA9AYJzp//Oeu8qiC0Bz5GDBmpOPmzjkgVfHigOLmWMaXhJmxDPnslgbo55+Ghw7IYECDqfql6dFDFfrzlERjibD0LuyRnDA4pb0gYA3yxbI5FUiD+RUN6EmnlGfaUz+NzGeV1nArKaYp5dABnUSYp7gT9Wgy8t8OR0mFhBky8s/CjJGShD4OBhujx9fZ2Lgm0pBy0ohVOxEy5JS1VM0WIOIJ6l8K3+wzgfrkPvw7yT5uqqQqOUCPFBstkvDEow/yW3uMtGdk= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 11:35:46.2607 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: Re: [dpdk-dev] [PATCH v3 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, 04 Jul 2017 11:35:51 -0000 -----Original Message----- > Date: Sun, 2 Jul 2017 22:35:09 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, thomas@monjalon.net, > keith.wiles@intel.com, bruce.richardson@intel.com, Harry van Haaren > > Subject: [PATCH v3 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 > > --- > > 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 | 22 ++++++++++++++++++++++ > lib/librte_eal/linuxapp/eal/eal.c | 23 +++++++++++++++++++++++ > 2 files changed, 45 insertions(+) > > diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c > index 05f0c1f..4f7dcb3 100644 > --- a/lib/librte_eal/bsdapp/eal/eal.c > +++ b/lib/librte_eal/bsdapp/eal/eal.c > @@ -653,6 +653,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 +671,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; > + } > + > rte_eal_mcfg_complete(); > > return fctret; > diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c > index 7c78f2d..d63dd87 100644 > --- a/lib/librte_eal/linuxapp/eal/eal.c > +++ b/lib/librte_eal/linuxapp/eal/eal.c > @@ -78,6 +78,7 @@ > #include > #include > #include > +#include Not included this header file for bsdapp compilation. It should fail to compile. Right?