From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id AADEE68CB for ; Thu, 10 Apr 2014 16:04:27 +0200 (CEST) Received: by mail-wi0-f172.google.com with SMTP id hi2so10738460wib.5 for ; Thu, 10 Apr 2014 07:06:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=qLYsatFuCs8GyXifC9vDWmZImLoghS9+xD18yzcx3qg=; b=T0AbaEwUsVgHfX1Kjh6NBFtVFx79ACA03s5Kx+rJV3d1tp0YAzdRKbM+670KoyR2VH Ta/Itd6myVfTlap1CdXdU/4iqB2Et9NmI1U+VgEyCzEDsTqRay+35cX/tcKbqfQCVyWf ZCKJiIK7DrrFPE958G/O6j6IGmH5WQdLrswSq+QzAkssIvH1kZ0rDxy2NHDXBo0Vm45w BXAYqiyOyx9+VI7jNNaMgxOP20YbAdvDcQGE1vN901FmbxDtzuL9U+ro3rqFMOTzCR1p drkMwUvkFHJKv6ifWd6Ix6bQpKHZLdW4khvtlCdNPGftE4UzGwZtKoxqZckLJF+OcI6i mJ2g== X-Gm-Message-State: ALoCoQnYh8r3ONphwr2YCKTPX+VUCvxwZzOnfd5tSJNoyDERpzw9qIxmeAej48080z8yAHaT0WiV X-Received: by 10.194.24.194 with SMTP id w2mr15452943wjf.25.1397138764919; Thu, 10 Apr 2014 07:06:04 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id dd5sm16970905wib.12.2014.04.10.07.06.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Apr 2014 07:06:04 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Date: Thu, 10 Apr 2014 16:06:03 +0200 Message-ID: <14707437.0M4q3fhKHj@xps13> Organization: 6WIND User-Agent: KMail/4.12.3 (Linux/3.13.7-1-ARCH; KDE/4.12.3; x86_64; ; ) In-Reply-To: <1393676085-17745-1-git-send-email-olivier.matz@6wind.com> References: <1393608350-4431-10-git-send-email-olivier.matz@6wind.com> <1393676085-17745-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 09/11] device-args: replace use-device eal option by pci-whitelist and vdev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 14:04:28 -0000 2014-03-01 13:14, Olivier Matz: > This commit splits the "--use-device" option in two new options: > > - "--pci-whitelist or -w": add a PCI device in the white list > - "--vdev": instanciate a new virtual device > > Before the patch, the same option "--use-device" was used for these 2 > use-cases. > > By the way, we also add "--pci-blacklist" in addition to the existing > "-b" for coherency with the whitelist parameter. > > Test result: > > echo 100 > > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages echo > 100 > > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages > ./app/test -c 0x15 -n 3 -m 64 > RTE>>eal_flags_autotest > [...] > Test OK > > Signed-off-by: Olivier Matz Acked-by: Thomas Monjalon Applied for version 1.6.0r2. -- Thomas