[dpdk-dev] [PATCH v1] eal: add manual probing option

Stephen Hemminger stephen at networkplumber.org
Mon Sep 30 20:53:33 CEST 2019


On Mon, 30 Sep 2019 14:51:03 +0200
Gaetan Rivet <gaetan.rivet at 6wind.com> wrote:

> Add a new EAL option enabling manual probing in the EAL.
> This command line option will configure the EAL so that buses
> will not trigger their probe step on their own.
> 
> Applications are then expected to hotplug devices as they see fit.
> 
> Devices declared on the command line by the user (using -w and --vdev),
> will be probed using the hotplug API, in the order they are declared.
> 
> This has the effect of offering a way for users to control probe order
> of their devices, for drivers requiring it.
> 
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>

I have no problems with the patch, but it would help if there was better
way to handle device naming policy in DPDK. Applications that depend on
particular port number are prone to get broken by changes in surrounding
OS or hardware environment. Just like Linux applications that are built
to depend on "eth0"; which is unfortunately all too common.


More information about the dev mailing list