[dpdk-dev] [PATCH v1] eal: update all buses default scan mode

Stephen Hemminger stephen at networkplumber.org
Fri Jun 30 18:16:16 CEST 2023


On Sun, 28 Mar 2021 21:12:22 +0800
Xueming Li <xuemingl at nvidia.com> wrote:

> When parsing EAL allowed or blocked device arguments, only device bus
> being parsed got default scan mode updated. If the devargs was vdev, PCI
> bus default scan mode not touched, all PCI bus devices will got probed
> even none appear in allowed list.
> 
> This patch update all buses default scan mode when parsing first
> devargs.
> 
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>

Looking back at this old patch, and wondering why it never got applied.
Probably because it wasn't clear the exact problem.

It does raise the issue that scan_mode is currently a property
of the bus, not global. This patch would cause setting of allowed list
for PCI to also impact other bus types. That doesn't follow current
practice.

If you want to resubmit, make it per bus.


More information about the dev mailing list