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 9AAA242DEC; Thu, 6 Jul 2023 21:07:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25EB341101; Thu, 6 Jul 2023 21:07:15 +0200 (CEST) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mails.dpdk.org (Postfix) with ESMTP id D442140A79 for ; Thu, 6 Jul 2023 21:07:13 +0200 (CEST) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-557790487feso810203a12.0 for ; Thu, 06 Jul 2023 12:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688670433; x=1691262433; 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=8QhEpZRCitCcbQJ//hwV1lDRICHKQmPXrwODPhxpoYs=; b=4tAw42UlrTiKhP/ti4onZEyYLAiiQVlVI/A1d/VgSVks7P6xRw9DQbZAsg+xZAzeN4 Z3pj0hOsjrPr3KraJO9LHNWQCXugKsOfNlSW8rCmQR9zt0fxqnrXRF2mh5HZuSC9TwC0 nGZtYQjimLGzfu2u/SCLL+1C69Ezw0eGZNN3fH1nV0hrM//kaADz7ccLuO55XKpu+FAJ qed1sIvD8ENqGuQxUDjsHUbv+tUbTueNxCK4igqMttLimjKcwkAxbb+RK+g4/HoH0V0Y 1O2NMSsTy0+rCdotL1uhKxP4Xrx2EgaW931vTMYJTGsMpdLN5WnZn00FukrQq0LW2LMD jxZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688670433; x=1691262433; 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=8QhEpZRCitCcbQJ//hwV1lDRICHKQmPXrwODPhxpoYs=; b=ja22wINkbXRZEw8JXAyrfneXiSBueY5gSXX4Cr7gtKrNO/SQOe2TBXvvWDisrKdsrG CqGA/0YaczyEWTQ9uKhCGRGA8lS2MSxpd1fTgor96p7QafgPLt7Uqkq76CMwhy15dXvQ QnA7HsmMSNhcuCnppv9cCJcPxeBqlfH9BrXUQroyWdL7gGqgNbR6rqBYrbPQ6h0v1WMu V+oyPX0a+KMKZU/WCKhTnD9tFA/HvVSvSVdKHfGDX4bpJp8oUW4FuvnDqERu2Idqxm2Z wEC+I7AdNcWpJiIoO65UiT39/tGt4i/xwKmODkBuTZnY2lXZTP4JKNwpnDQyLoaO5IoP BjFw== X-Gm-Message-State: ABy/qLYuC//4qhtRiOcym97FSjQrXU/Ru86D66Hl/PFIeZTYROyNsfgb K5Q6PoCM93vTRBCbIHX5pAc5tw== X-Google-Smtp-Source: APBJJlGoZgWQQVVJGmvzcAswjrqMb0mlAXkjiIgzfpMJslR+KPk+L8MM3ZjnMropHG35FF+qaF2o7g== X-Received: by 2002:a05:6a20:938b:b0:12f:d350:8a05 with SMTP id x11-20020a056a20938b00b0012fd3508a05mr2787593pzh.39.1688670432817; Thu, 06 Jul 2023 12:07:12 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h8-20020a170902704800b001b8896cd57bsm1739881plt.269.2023.07.06.12.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 12:07:12 -0700 (PDT) Date: Thu, 6 Jul 2023 12:07:10 -0700 From: Stephen Hemminger To: Kaisen You Cc: dev@dpdk.org, qiming.yang@intel.com, yidingx.zhou@intel.com, stable@dpdk.org Subject: Re: [PATCH] child process synchronization NIC startup parameters Message-ID: <20230706120710.35723b8b@hermes.local> In-Reply-To: <20230705093515.3285574-1-kaisenx.you@intel.com> References: <20230705093515.3285574-1-kaisenx.you@intel.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, 5 Jul 2023 17:35:14 +0800 Kaisen You wrote: > In meson_test, because the child process does not synchronize > the NIC startup parameters of the parent process at startup, > it uses all NICs bound by vfio as startup parameters by default, > and an exception occurs in the subsequent hugefile check, > causing the test to fail. Synchronize the NIC startup parameters > of the parent process to the child process to solve this problem. > > Fixes: 786b29255c49 ("test: fix file prefix discovery") > Cc: stable@dpdk.org > > Signed-off-by: Kaisen You Not portable outside of Linux. Seems really bug prone to have test diving into /proc to find command line of parent. Couldn't this be passed one of many other ways into child?