eal: bring forward multi-process channel init
authorJianfeng Tan <jianfeng.tan@intel.com>
Tue, 24 Apr 2018 05:51:20 +0000 (05:51 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 10:31:26 +0000 (12:31 +0200)
commit79967252c3b233be2006c6f79fc2aa4ab1f8af0f
tree9f6ec4f2d17b5104e6fdc2b28a95ee53af16a4c5
parenteb8a86e275ef15a5455948d679d1a2c43dd4c740
eal: bring forward multi-process channel init

Adjust the init sequence: put mp channel init before bus scan
so that we can init the vdev bus through mp channel in the
secondary process before the bus scan.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal.c