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 251CB42DEE for ; Thu, 6 Jul 2023 21:07:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D68B43004; Thu, 6 Jul 2023 21:07:16 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id E14FA41101 for ; Thu, 6 Jul 2023 21:07:13 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-517ab9a4a13so804227a12.1 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=inCximNfUgoe7Aom6CXg1KSLrRcHFhwmYlBMjktzuBeiI2BZcg2FJv6F2LK/Z8ejf0 bnvcbPQs+9WRPOwU6vp9pls0mQJQLhtjpvhvQkEcz4EqQKcP9P1uv9Oss3h30Sn3EIJF 2iu4M0njYqfkvapDaNa21BN/hOjKPU4QkxmuybcjbmEwB+HDVTh6NYURNaC8JF4CzKqp f7wH08F+xej6D126YD94iYVhW898byb+t4CU/lKt1bKbzTwPW7hn6HYBlQp5Oj3JLOFI d4lVNOKUK6r7KV1YmFN6JXyzLxOO8sKblGpeD11Xp6RmXxxYLRoso2aHVYAAi/JSat1w ivQA== X-Gm-Message-State: ABy/qLZDm0Mx+Xuezz4yg0/KQcPMUZe8RBdtyuuTC9DpVczT+Zndg0Ly YM0bGP6xpVOavOLO82TY8MZRVQ== 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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?