From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8A19CA04C7; Fri, 22 Nov 2019 15:03:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3F43923D; Fri, 22 Nov 2019 15:03:52 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 6C885235 for ; Fri, 22 Nov 2019 15:03:50 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id z10so8711434wrs.12 for ; Fri, 22 Nov 2019 06:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=zkdhzFJGUGJCTXydQkkgA54UF7KM6JErJt/kzDilQf0=; b=bxC6vIJ5CvZB+X1kZpxc66YotFeS7yXVrv3JMMveuaHXj8SxYyKQdSmvjLKNrRLIiY LcVRhKtx66kpNTdPkYH0xHgzCJq9bPIj3uNAaL4tGjQa7RKsRdKNxXlDYs7Eot7z+WdH xNV3dCx9CJKQgQ/Y5COUVH56qkrfd2xWLVTW1BU8NOh4OIiVp/M2wKcNTsBOY8EGtOWQ BDsHsauSl0eYhLle/osOpp5ArFgyypj36lzV47/apSSkPg2E5oSV7bOHALt0I2DcJzMX D7JufJWNj2jRZz4MZ4MUBGxrf28fdtZL+VICc1Wqf0VcRtBQ5mp9St7YfPX1+6fX+YUv kBZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=zkdhzFJGUGJCTXydQkkgA54UF7KM6JErJt/kzDilQf0=; b=KSA/uNw5xK09Ah05m7O4Yca46ErO2UHq7XZ9tBBbgZfp0w1Qw/H5a1Rxf4fgEmvCJW rlMnBZ7a0WtjruY2+JxtVLpf/MakwFlnwMYLQYbzUSgR2Lw4+jiJxOiCvYlL8xTyOHTL A+h0uNdgemWU26lHbO1Sbyd3jXZOluoxYiRmTmE9bOBqdGoKQ9D0uI0g1Wo288XSfAzQ wkwDy+Pt55d4UrSN40f6p5Dbs2AwHkqlR+nEWAbPDOumV7D7PRaimr3bTOj55pzTDNUS iTYnCqxELmWHM0GX6lCnGtMSYbYpQqo5kOVCl+RFVDzKlbHcns9+wDPZognLBmghsKNw tuyw== X-Gm-Message-State: APjAAAXPuddj4YEGJf3BAYHOJ7kYn2W8l37ujQf51ueO0afXjtuFmlNX mTEnjY9//jyrW95Me1hB4cH30w== X-Google-Smtp-Source: APXvYqzSUAy9+DVPETL9nyaBd5T7x/wR1agq7+EXd0dGIH7J5Jxp+kmTVcQLX3Z8B/gCmNy4hSt+ww== X-Received: by 2002:adf:ea88:: with SMTP id s8mr18059684wrm.120.1574431430021; Fri, 22 Nov 2019 06:03:50 -0800 (PST) Received: from bidouze.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id y6sm7887841wrw.6.2019.11.22.06.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 06:03:49 -0800 (PST) Date: Fri, 22 Nov 2019 15:03:47 +0100 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Thomas Monjalon Cc: david.marchand@redhat.com, ferruh.yigit@intel.com, dev@dpdk.org Message-ID: <20191122140347.GE28445@bidouze.6wind.com> References: <785dc5f5-8378-3506-aaa8-39ec22a3eb11@intel.com> <20191122134808.7639-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191122134808.7639-1-thomas@monjalon.net> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] devtools: disable automatic probing in null testing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Thomas, On Fri, Nov 22, 2019 at 02:48:08PM +0100, Thomas Monjalon wrote: > The script test-null.sh is supposed to do a quick and simple > run of testpmd with null PMD only, for sanity check. > As it is not supposed to test probing of any other PMD, > physical device probing is switched to whitelist mode > by using a fake PCI address (0:0.0). > It will also help to keep memory usage stable across platforms. > With https://patchwork.dpdk.org/patch/62014/, --manual-probe could be used as a more standard way of workarounding the PCI bus. This is a common issue, we should have cleaner way of addressing it than using hacks relying on the PCI bus not panicking up upon finding an inexistant address. Which is a questionable behavior, users should not be encouraged to rely on it. > Signed-off-by: Thomas Monjalon > --- > devtools/test-null.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/devtools/test-null.sh b/devtools/test-null.sh > index 9f9a459f76..d82c6ad193 100755 > --- a/devtools/test-null.sh > +++ b/devtools/test-null.sh > @@ -26,5 +26,5 @@ fi > > (sleep 1 && echo stop) | > $testpmd -c $coremask --no-huge -m 150 \ > - $libs --vdev net_null1 --vdev net_null2 $eal_options -- \ > + $libs -w 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ > --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia > -- > 2.23.0 > -- Gaëtan Rivet 6WIND