net/virtio: complete init stage at the right place
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 5 Nov 2016 09:41:02 +0000 (17:41 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 14:40:24 +0000 (15:40 +0100)
commitee85024cf5f7affc458537a3829e2e2edb43e8d5
tree548f8b800a384fe7cf035c4d5b0e2fb3392a20d9
parent48cec290a3d25ccb75f67b1a940971b49a0ad2c2
net/virtio: complete init stage at the right place

Invoking vtpci_reinit_complete() at port start stage doesn't make any
sense, instead, it should be done at the end of dev init stage.

So move it here.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_ethdev.c