[dpdk-dev] [PATCH v10 3/7] eal: replace pci-whitelist/pci-blacklist options

Thomas Monjalon thomas at monjalon.net
Sun Nov 15 21:02:56 CET 2020


10/11/2020 23:55, Stephen Hemminger:
> Replace -w / --pci-whitelist with -a / --allow options
> and --pci-blacklist with --block.
> The -b short option remains unchanged.
> 
> Allow the old options for now, but print a nag
> warning since old options are deprecated.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Luca Boccassi <bluca at debian.org>
> ---
[...]
> -		if (eal_option_device_add(RTE_DEVTYPE_BLACKLISTED_PCI,
> -				optarg) < 0) {
> +		if (eal_option_device_add(RTE_DEVTYPE_BLOCKED, optarg) < 0)
[...]
> -		if (eal_option_device_add(RTE_DEVTYPE_WHITELISTED_PCI,
> -				optarg) < 0) {
> +		if (eal_option_device_add(RTE_DEVTYPE_ALLOWED, optarg) < 0)

This belongs to the first patch.




More information about the dev mailing list