From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 09/11] device-args: replace use-device eal option by pci-whitelist and vdev Date: Thu, 10 Apr 2014 16:06:03 +0200 Message-ID: <14707437.0M4q3fhKHj@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier Matz Return-path: In-Reply-To: <1393676085-17745-1-git-send-email-olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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