]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_vtnet: Cleanup the reinit process
authorBryan Venteicher <bryanv@FreeBSD.org>
Tue, 19 Jan 2021 04:55:25 +0000 (04:55 +0000)
committerBryan Venteicher <bryanv@FreeBSD.org>
Tue, 19 Jan 2021 04:55:25 +0000 (04:55 +0000)
commit44559b26af1403513dabc0f15e23649aaf40d5d9
treecb6df92675f262c584ee53c4f31d119a2e36299f
parent32e0493c92458dc885167e5e3d76b2918ff72c24
if_vtnet: Cleanup the reinit process

In modern VirtIO, the virtqueues cannot be notified before setting
DRIVER_OK status.

Reviewed by: grehan (mentor)
Differential Revision: https://reviews.freebsd.org/D27932
sys/dev/virtio/network/if_vtnet.c
sys/dev/virtio/network/if_vtnetvar.h