[dpdk-dev] [PATCH v2 09/11] device-args: replace use-device eal option by pci-whitelist and vdev

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Apr 10 16:06:03 CEST 2014


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 <olivier.matz at 6wind.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied for version 1.6.0r2.

-- 
Thomas


More information about the dev mailing list