hyperv/hn: Re-set datapath after synthetic parts reattached.
Do this even for non-transparent mode VF. Better safe than sorry. MFC after: 3 days Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11981
This commit is contained in:
parent
c2d50b263f
commit
d0cd8231e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322487
@ -3403,7 +3403,8 @@ hn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
|
||||
*/
|
||||
hn_resume(sc);
|
||||
|
||||
if (sc->hn_xvf_flags & HN_XVFFLAG_ENABLED) {
|
||||
if ((sc->hn_flags & HN_FLAG_RXVF) ||
|
||||
(sc->hn_xvf_flags & HN_XVFFLAG_ENABLED)) {
|
||||
/*
|
||||
* Since we have reattached the NVS part,
|
||||
* change the datapath to VF again; in case
|
||||
|
Loading…
Reference in New Issue
Block a user