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 E6EF542DDA; Wed, 5 Jul 2023 18:51:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D643A40A8B; Wed, 5 Jul 2023 18:51:24 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id C19454021F for ; Wed, 5 Jul 2023 18:51:23 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-262dc1ced40so4958831a91.3 for ; Wed, 05 Jul 2023 09:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688575883; x=1691167883; 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=ZlD16AMoZMbkjWddBF45s5NvSt4fGgld6b3Q+tWf5jU=; b=BfLgCYBQLT/+3tlmC2LFKVDGA/Yz7ualDjA4dZxW8FpeBJdJYlbX6xCA9dabTcwh/T FqxP1GZaU8q72hkgV7+rqPa1tKZVTHlBnisOMKUofCaPCh0LOhXJ2Tsn1pgg55Y//DV9 H4o3zx/dUh2WT2bMD91eJ8EBoELlpeP5/L8les3RjRaCVSsGMTPzpYgbmKj5g7q9rQAA 3pNe7GmHch6WYk97UUBsciEVwJzr5z6nVszPUcMJILNgNfEpyvLkuYcALnKOq374C8pt KfuyqbsJCX++Cc8KU9/0Zi6VjTcjIfbAc0OGcro0Kxkub9oJbLSojXxnj3ylqPUUHFK7 I9Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688575883; x=1691167883; 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=ZlD16AMoZMbkjWddBF45s5NvSt4fGgld6b3Q+tWf5jU=; b=TYfDDDPK9AcLOefmHks9A5c9+L7VBq7eyoSc3Raiqs/zgMaNr5tJX+XaT+Dxc7jLRe yu/271OwIELMDgAl7bbedTYrzf5J9VgjzgZk74Yr/aoZtMIb9n9d7OUgjtfwLAPb6To9 plFTKmhu1OQoDxQe6S/be+Zn+v7fW4CBslcCicOzJtOKs7MWC/o2udXPEb+cTdI+gi4W Z8OD/bjMAcgv/AVWEkG3WFYtAq573GynC2LLMxdX+wngRd7oxi1BrbP2stnVRGWmwI1x PsjwhhQDPIcfIH/zs6AcFfjY8budjq2rApT5XbiPsj50Ccex3+LgFZ3BpYpGHS7WiFfV CVow== X-Gm-Message-State: ABy/qLapB3Kx1TZ6eDJwubLbysWFSeRUC7OC3jrkq398lXw5bQgr/GDV efQOafRHOB2BR+SKrwACrXkYdg== X-Google-Smtp-Source: APBJJlGSJzX0MYbT1LDHo6cjd4kNaExkwAn9rRsFS7uvuQ+gnH/P5+3+VWl6Skuv0gre2//psAaAvg== X-Received: by 2002:a17:90a:19:b0:25e:9aa6:2dfc with SMTP id 25-20020a17090a001900b0025e9aa62dfcmr15471276pja.40.1688575882608; Wed, 05 Jul 2023 09:51:22 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id cx3-20020a17090afd8300b00263987a50fcsm1658610pjb.22.2023.07.05.09.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 09:51:22 -0700 (PDT) Date: Wed, 5 Jul 2023 09:51:19 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: dev@dpdk.org, david.marchand@redhat.com, Bruce Richardson , Andrew Rybchenko Subject: Re: [dpdk-dev] [PATCH v5 1/4] eal: explain argv behaviour during init Message-ID: <20230705095119.657e59e8@hermes.local> In-Reply-To: <20210405193954.1115838-2-thomas@monjalon.net> References: <20210309233116.1934666-1-thomas@monjalon.net> <20210405193954.1115838-1-thomas@monjalon.net> <20210405193954.1115838-2-thomas@monjalon.net> 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 Mon, 5 Apr 2021 21:39:51 +0200 Thomas Monjalon wrote: > After argument parsing done by rte_eal_init(), > the remaining arguments are to be parsed by the application > by progressing in the argv array. > In this context, the first string represented by argv[0] is still > the same program name as the original argv[0], > while the next strings are the application arguments. > This is because rte_eal_init() manipulates the argv array > after EAL parsing, before returning to the application. > > This note was missing in the doxygen comment of the API. > > Signed-off-by: Thomas Monjalon > Acked-by: Bruce Richardson > Acked-by: Andrew Rybchenko This old patch is still worth applying Acked-by: Stephen Hemminger