From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A05ECA0543; Thu, 15 Dec 2022 10:05:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4914E40684; Thu, 15 Dec 2022 10:05:15 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D73C840223 for ; Thu, 15 Dec 2022 10:05:14 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [dpdk-dev] [PATCH v6 07/10] eal: add lcore init callbacks Date: Thu, 15 Dec 2022 10:05:12 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D875A7@smartserver.smartshare.dk> In-Reply-To: <20200706205234.8040-8-david.marchand@redhat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v6 07/10] eal: add lcore init callbacks Thread-Index: AdZT15j+ZqMle+fCTQyA5W7n8lOjF4V5FS8Q References: <20200610144506.30505-1-david.marchand@redhat.com> <20200706205234.8040-1-david.marchand@redhat.com> <20200706205234.8040-8-david.marchand@redhat.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "David Marchand" , Cc: , , , , , , , , , , "Neil Horman" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Marchand > Sent: Monday, 6 July 2020 22.53 >=20 > DPDK components and applications can have their say when a new lcore = is > initialized. For this, they can register a callback for initializing > and > releasing their private data. >=20 > Signed-off-by: David Marchand > --- David, Shouldn't these callbacks be called from the EAL threads too, e.g. from = eal_thread_loop()? I looks like they are only called from eal_lcore_non_eal_allocate(), = which is only called from rte_thread_register(). -Morten