net/vhost: delay driver setup
authorItsuro Oda <oda@valinux.co.jp>
Thu, 6 Feb 2020 01:39:34 +0000 (10:39 +0900)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Feb 2020 11:42:13 +0000 (12:42 +0100)
commit3d01b759d2679c216725689eabe44147d1737326
treea08364806ed19db5517bbd39557dde36c703febd
parente045e858444349323cb02e0951cd977d4a0edd0d
net/vhost: delay driver setup

Vhost driver setup is delayed at eth_dev configuration
in order to be able to set it from a secondary process.

Fixes: 4852aa8f6e21 ("drivers/net: enable hotplug on secondary process")
Cc: stable@dpdk.org
Signed-off-by: Itsuro Oda <oda@valinux.co.jp>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/vhost/rte_eth_vhost.c