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 A9883A04C3; Fri, 22 Nov 2019 16:57:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F40012BAF; Fri, 22 Nov 2019 16:57:17 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id D53BF2BA8 for ; Fri, 22 Nov 2019 16:57:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574438236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rX/9nYCKu7aIbe8HakI76HwJvBM/Wi73nWccrxEtkso=; b=A/Jj+9qZDkBK4P27/EKCkD3YgfP8UQeRafdFWLQszIpnLMvIWbSxEBGHngp8p7s2lEKhgB zSlPFuanuCVLg/PicOaxnYgrgPf2Kz9vZTvY/Lw608N+XB9EIS63d1RprSNm3qej9xnJOe eb6+OaGg94NZJBhmkKsp6mimYckZf78= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-83-BqQ5wzb2OSukFwPGBW_OYA-1; Fri, 22 Nov 2019 10:57:12 -0500 Received: by mail-ua1-f72.google.com with SMTP id d22so1824627ual.1 for ; Fri, 22 Nov 2019 07:57:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3ekH1RAdAckfoZcfI24nCKaV0g74OsmMJ9Pukao9QVI=; b=RGs3KINURY7L6U6nJNtETUHgh92CazL1oXfyMqNPmKo35+oMZBRO4a80e/j1QzcEHx uUHtZjhfeMpacNck0zs4uOY2MOIYpGR4cPMVneBLp+EyOTibwTWtVr3kqh14kzMJLNJU 4uZnaNWHTAu+yeZZyHbu6CdvMkgGXBRA9gSOhHQ8btpiHP4rcOX2yWm4JeOegiVLtGmF BUU6mjduSmAwWItjmL1EodLmzHxQXX8l+FzOVwJpCynpQk4UNB0d9QRd+Zj/MEx7WXJv bnWOnUoL6mzu9KanH07guhM0MHwcanayGeR4fc+CX+g0jQtOefY9rLj9L6/RqmC+64YL rZsQ== X-Gm-Message-State: APjAAAV6+XpV7eYMUdNjahvh/7+JZxYcW1vrpA3WulQk/MWK2wXQTPdy qhrt0M/J7al6ZsPslIASQUH3anAKbm2Uq6ZNdcYi2H0VTDQfMsK7oTeMo/f49jmm0tHZp6i94f2 pFj4nsBDxq8joEoWg9fE= X-Received: by 2002:ab0:48ab:: with SMTP id x40mr10244469uac.126.1574438231258; Fri, 22 Nov 2019 07:57:11 -0800 (PST) X-Google-Smtp-Source: APXvYqygp36LUJ6IaE90hFFljvGdDm+p1sU4fghstV9ezDMNVOIDYrv7q/bDDv55z9aCZIUZ41i4P5nwJrtCAvrd+U0= X-Received: by 2002:ab0:48ab:: with SMTP id x40mr10244443uac.126.1574438230824; Fri, 22 Nov 2019 07:57:10 -0800 (PST) MIME-Version: 1.0 References: <785dc5f5-8378-3506-aaa8-39ec22a3eb11@intel.com> <20191122134808.7639-1-thomas@monjalon.net> <50ee66c8-1b5a-093d-e38c-f746380a03f3@intel.com> In-Reply-To: <50ee66c8-1b5a-093d-e38c-f746380a03f3@intel.com> From: David Marchand Date: Fri, 22 Nov 2019 16:56:59 +0100 Message-ID: To: Thomas Monjalon Cc: dev , Ferruh Yigit X-MC-Unique: BqQ5wzb2OSukFwPGBW_OYA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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" On Fri, Nov 22, 2019 at 2:56 PM Ferruh Yigit wrote= : > > On 11/22/2019 1:48 PM, 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. > > > > 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=3D2048 $testpmd_options -ia > > > > Tested-by: Ferruh Yigit Ugly, but does the job. Acked-by: David Marchand --=20 David Marchand