[dpdk-dev] [PATCH v2] devargs: fix policy check in rte_eal_devargs_add
Thomas Monjalon
thomas at monjalon.net
Thu Aug 3 21:36:47 CEST 2017
02/08/2017 19:12, Gaetan Rivet:
> Do not fail upon detecting a set bus configuration when adding an
> rte_devargs. i.e. adding a blacklisted PCI device while the bus is
> configured in whitelist mode.
>
> This failure condition has been introduced when the bus policies
> were implemented. This implementation however was meant to strictly
> follow the existing API. This check was not and should not be performed
> until the current API has been properly deprecated.
>
> Fixes: 02823c1db0bc ("devargs: parse bus policies")
>
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
Adding a precision:
The same kind of check is already done when parsing EAL options.
Applied, thanks
More information about the dev
mailing list