bus/vdev: scan by multi-process channel
authorJianfeng Tan <jianfeng.tan@intel.com>
Tue, 24 Apr 2018 05:51:22 +0000 (05:51 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 10:33:36 +0000 (12:33 +0200)
commitcdb068f031c6b0a4ecea6f62190e17ecfdbeb23d
treea7d712bccc9d14174cb49467708aad905c808593
parent35f462839b699960b6f152ba99ac23f944315615
bus/vdev: scan by multi-process channel

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@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
drivers/bus/vdev/Makefile
drivers/bus/vdev/meson.build
drivers/bus/vdev/vdev.c