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 01F52A00C3; Fri, 25 Mar 2022 13:23:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A8F9E40687; Fri, 25 Mar 2022 13:23:54 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 602A740140 for ; Fri, 25 Mar 2022 13:23:53 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 96B3C20DECDC; Fri, 25 Mar 2022 05:23:52 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 96B3C20DECDC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1648211032; bh=zKJKcb6XoDKAIaLK/hDpshfN1v8jVMvf6s+iotYfMXA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oH/Huask0scQbqBr06VlBk8C13UK75DxT4HAER1vCShPHNxYz4XbdIucjsDx3GAKl 7nO5GAwKcfaPvl3h/OJ245jrCfK9/orNOIxYkeH9sBM5t9rDL5mokOEFDJ+tOh+TAi UVpDd4jMT9v3MzE6hW10I2bSjSHi3WzUCtDDrWT8= Date: Fri, 25 Mar 2022 05:23:52 -0700 From: Tyler Retzlaff To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam Subject: Re: [PATCH] eal: factorize lcore main loop Message-ID: <20220325122352.GB6378@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20220323093001.20618-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220323093001.20618-1-david.marchand@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Wed, Mar 23, 2022 at 10:30:01AM +0100, David Marchand wrote: > All OS implementations provide the same main loop. > Introduce helpers (shared for Linux and FreeBSD) to handle synchronisation > between main and threads and factorize the rest as common code. > Thread id are now logged as string in a common format across OS. > > Signed-off-by: David Marchand > --- > I had this patch in store for a long time. > I don't particularly care about it, it's not fixing anything. > But it seems a good cleanup/consolidation, so I rebased it and I am > sending it to get feedback. Acked-By: Tyler Retzlaff