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 0470E438A6; Wed, 17 Jan 2024 22:24:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 772D24014F; Wed, 17 Jan 2024 22:24:39 +0100 (CET) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id A96AA4003C for ; Wed, 17 Jan 2024 22:24:37 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6db81c6287dso96241b3a.0 for ; Wed, 17 Jan 2024 13:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1705526676; x=1706131476; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=wSQ9MSliKtPais4Bp3LYYTpAJpw7RpLKNW2E6pU0/ik=; b=gL3FF2fW829FuVGHbP0lnyh+xkUPXrVBVGgboIirrGVX26tVYE94rODCSPS5XcKhF8 R3248qDtl031PiGXcrfF48rjNLgiHX8aNj2p0pV/pWdohZtAcUS9mwSasOcaBb5i9S9z cp1UUCPh7T+rxHdiU29f4TOF8Q3sHfc2PPh/dzgtI2cGNxPGzblwG6L0uILrBimFnpmo ZpszyIq+R/K7XLcsi2wP2F+HtNeqtAD01/y211sqAiuuc+cSgpRjA0J5jnSDrRfjYwOY jGmJhj+tp0pZcijpuOrTB2IUokjY6Ssv1vto3X4qqXDYh92s8BonPXKaR3fUldq8KEB8 YIXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705526676; x=1706131476; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wSQ9MSliKtPais4Bp3LYYTpAJpw7RpLKNW2E6pU0/ik=; b=NxRnGdqMwJEMZEcuq6gr1dphMKbl+4zM9jk3Uo+50ndVUGmnEVcNUX2gNAneZ+Hv1n r68x7WdsrB8S5U/JW8Qwf+KvEYbfNSiPVEM+FRxrOP8ig7vYcTZYEzC5iqpcLUDl1Xfk HMC0X/Ox4ywdlNek6Tk8aPavJA4mzh2qPHaBNHBBlTN0z4fxrt4NN0vs5g5f4kLSDT4W X5Y+gIipEmtI61PBLWE1wFgmuC3uRNJIuT6qmlI/5Srq9iXdNc9SIWC85zMRNtzvVhEz 0oqoqQXfDGveFidscYaFkbxDzTZmVaKbavYUMOucHGvO/5Um6iNLDJogC+jXlNHaMZsd yJOw== X-Gm-Message-State: AOJu0YxMsZEFAv4yxrqSS3zrkl8WnwJtQbMjQtSTtPt59P90+2490KTP 5l2I+wUp1NDTH5lJ2loKlTKwLWRiBdv4QA== X-Google-Smtp-Source: AGHT+IEy5ioHBoeWoRyQPV7tCZLtRgMGrdTgx7QPiwDCy3cNuqQ5jbj4dCQxqLUt2yGqN7Jv/DyLAw== X-Received: by 2002:a05:6a20:d48b:b0:19b:7476:8343 with SMTP id im11-20020a056a20d48b00b0019b74768343mr1858123pzb.62.1705526676666; Wed, 17 Jan 2024 13:24:36 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id j186-20020a638bc3000000b005cd8b5d1007sm103807pge.89.2024.01.17.13.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 13:24:36 -0800 (PST) Date: Wed, 17 Jan 2024 13:24:34 -0800 From: Stephen Hemminger To: Rahul Gupta Cc: dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com, dmitry.kozliuk@gmail.com, sovaradh@linux.microsoft.com, okaya@kernel.org, sujithsankar@microsoft.com, sowmini.varadhan@microsoft.com, krathinavel@microsoft.com, rahulrgupta27@gmail.com, Rahul Gupta Subject: Re: [dpdk-dev] [PATCH v2] eal: refactor rte_eal_init into sub-functions Message-ID: <20240117132434.2bf821b9@hermes.local> In-Reply-To: <1705519502-16164-1-git-send-email-rahulgupt@linux.microsoft.com> References: <1705519502-16164-1-git-send-email-rahulgupt@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 17 Jan 2024 11:25:02 -0800 Rahul Gupta wrote: > + lcore_id = rte_lcore_id(); > + lcore_id = rte_get_next_lcore(lcore_id, 0, 1); > + /* Gives status of rte_eal_init_async() */ > + while (rte_eal_init_async_done(lcore_id) == 0) > + ; Will this all work if application is run with single lcore? It would work before this.