diff options
| author | Dexuan Cui <dexuan@FreeBSD.org> | 2017-01-24 09:27:13 +0000 |
|---|---|---|
| committer | Dexuan Cui <dexuan@FreeBSD.org> | 2017-01-24 09:27:13 +0000 |
| commit | 33408a34c44bd558498d0ee59ee2b3a96b5ee740 (patch) | |
| tree | 79c01d67ecd7a95193b9dbd4c79f4c6c537d3135 /sys/dev/hyperv/netvsc | |
| parent | 40d60d6ee1d9f84dfbb23bc03e043a399e813182 (diff) | |
Notes
Diffstat (limited to 'sys/dev/hyperv/netvsc')
| -rw-r--r-- | sys/dev/hyperv/netvsc/if_hn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c index 45ee2905f908..d5061c5f7475 100644 --- a/sys/dev/hyperv/netvsc/if_hn.c +++ b/sys/dev/hyperv/netvsc/if_hn.c @@ -996,6 +996,9 @@ hn_set_vf(struct hn_softc *sc, struct ifnet *ifp, bool vf) hn_resume_mgmt(sc); } + devctl_notify("HYPERV_NIC_VF", if_name(hn_ifp), + vf ? "VF_UP" : "VF_DOWN", NULL); + if (bootverbose) if_printf(hn_ifp, "Data path is switched %s %s\n", vf ? "to" : "from", if_name(ifp)); |
