tomic_readandclear_32(&sc->iov_pending); atomic_readandclear_32(&sc->iov_spoof_pending); atomic_readandclear_32(&sc->iov_blocked_pending); + atomic_readandclear_32(&sc->iov_intr_drain_pending); atomic_store_rel_32(&sc->iov_teardown, 0); } diff --git a/sys/dev/e1000/if_igb_iov.h b/sys/dev/e1000/if_igb_iov.h index f24b3199867e..8bd576d47649 100644 --- a/sys/dev/e1000/if_igb_iov.h +++ b/sys/dev/e1000/if_igb_iov.h @@ -31,6 +31,7 @@ void igb_iov_mdd_event(struct e1000_softc *); void igb_iov_ping_all_vfs(struct e1000_softc *); void igb_iov_reset_prepare(struct e1000_softc *); u32 igb_iov_intr_mask(const struct e1000_softc *); +void igb_iov_intr_drain_stale(struct e1000_softc *); void igb_iov_rebuild_mta(struct e1000_softc *); void igb_iov_rebuild_vlan(struct e1000_softc *); void igb_iov_update_pf_vmolr(struct e1000_softc *); @@ -48,6 +49,7 @@ void igb_iov_update_pf_vmolr(struct e1000_softc *); #define igb_iov_ping_all_vfs(_sc) #define igb_iov_reset_prepare(_sc) #define igb_iov_intr_mask(_sc) (0) +#define igb_iov_intr_drain_stale(_sc) ((void)(_sc)) #define igb_iov_rebuild_mta(_sc) #define igb_iov_rebuild_vlan(_sc) #define igb_iov_update_pf_vmolr(_sc)