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 02E37439B7; Wed, 24 Jan 2024 16:47:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E6CA542DD7; Wed, 24 Jan 2024 16:47:45 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id AA04742D99 for ; Wed, 24 Jan 2024 16:47:44 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso4000784a12.3 for ; Wed, 24 Jan 2024 07:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706111264; x=1706716064; 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=f/u4U9foMaGV2fpQ2OH4FMc9XXAEYkrtSZhiS+pWWCU=; b=iQkH2i9JEXytK5SR6W2M6r+fVm2+c51X23Ianp9ZJUx6SQ8cczqzZPE6rFbKkRB+md J2lHmKzESz6mkGvA40hz2NWPBEvfo78/Y44iXbc2BpecGf4PBEh5cd0r+mXPvBqpgFOh 4AKTgflSBpvA/hkGpkXRNImSYI5Nb+My+iF3f7yGCSi29S/cKK5S9a0rhQn5GXXdcZhz MAGYJUm4c8XdID4XV90AIXSwZy6atI602q0SWYIR+D7GxV+5697DVoC8RcrcnGjd90vB w+WvkZrbTf28Km0GVhsO+EMwx8OxdustVBEmy7b+qQZgPPq7DppkcB9GZGS/xMjpQVSo 5egQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706111264; x=1706716064; 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=f/u4U9foMaGV2fpQ2OH4FMc9XXAEYkrtSZhiS+pWWCU=; b=f8FiLjnR6vkjZwCXQJwzi4ztjajcJV0uhHxPZJEbajvcDlNcuabKRyofQ/FBpMumFW 8+g/hRKLr9shXIQTxU0lFAolyJrUSKeYCgULmTpnvvd83mlcxBUXrF5CC82bOb4NHcKg pVZ19oEdoDeZYy7qAdZvpEniD/azKQQ5YJS0rSdHMVBEDl58uCe5d2sBGNhOEFaj2L8D fEreg5iBs3oZ8EsC4U654tX3FDruqQr7xXb0zddE6ZMNGAS9KyOTUF3VTsx7emUTSp9k k3r4GbmCJmJ8j6m2qMVa7+RMJWZq3KVrH6GjtNSXdDBKQZhvxNY1WGbzmi8cnjWJ1sXd YkYg== X-Gm-Message-State: AOJu0Yyq0SCXyOakHs7HL5KLG35uIhSkZ6AeiSF64hrZ9/jWKjFxodsr 7T0VYjUqwGTaTPpwTy2WAWwpZ1bhwtGFWwrYc2ZYZfj9flpiT1W/69bG4mb6ao8= X-Google-Smtp-Source: AGHT+IE8t/YIWG0cr2HC/9iyDNW3D6GQNb7Sjv2rsNrC+BkkRuLpHG4khi+0qjZ7Ze/OnIad8lywcw== X-Received: by 2002:a05:6a20:2a1e:b0:19c:5c71:8228 with SMTP id e30-20020a056a202a1e00b0019c5c718228mr960111pzh.62.1706111263923; Wed, 24 Jan 2024 07:47:43 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id r13-20020aa7844d000000b006dbd18ad865sm8113714pfn.55.2024.01.24.07.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 07:47:43 -0800 (PST) Date: Wed, 24 Jan 2024 07:47:42 -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 v4] eal: refactor rte_eal_init into sub-functions Message-ID: <20240124074742.479145d6@hermes.local> In-Reply-To: <1706103911-6907-1-git-send-email-rahulgupt@linux.microsoft.com> References: <1706103911-6907-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, 24 Jan 2024 05:45:11 -0800 Rahul Gupta wrote: > + * returns current status of execution on a given lcore > + */ > +__rte_experimental int > +rte_eal_init_async_setup_done(int lcore_id) > +{ > + int ret = (lcore_config[lcore_id].state) parenthesis not needed here