[dpdk-dev] [PATCH 2/4] bus/vdev: bus scan by multi-process channel

Burakov, Anatoly anatoly.burakov at intel.com
Wed Mar 7 15:00:15 CET 2018


On 04-Mar-18 3:30 PM, Jianfeng Tan wrote:
> To scan the vdevs in primary, we send request to primary process
> to obtain the names for vdevs.
> 
> Only the name is shared from the primary. In probe(), the device
> driver is supposed to locate (or request more) the detail
> information from the primary.
> 
> Signed-off-by: Jianfeng Tan <jianfeng.tan at intel.com>
> ---

General note - you probably want to syncrhonize access to the tailq. 
Multiple secondaries may initialize, a vdev hotplug event may be in 
process, etc.


-- 
Thanks,
Anatoly


More information about the dev mailing list