K 10 svn:author V 9 vmaffione K 8 svn:date V 27 2019-10-05T10:59:41.948896Z K 7 svn:log V 706 MFC r352841 bhyve: support for enabling/disabling the net backend Extend the net backend interface with two functions, namely netbe_rx_disable() and netbe_rx_enable(), which can be used by the net device emulators to stop the backend from invoking the receive callback. This is useful for device emulators, i.e., on hardware resets or to implement receive backpressure. The mevent module has been extendede to support the addition of a disabled event. To prevent race conditions, the net backends will start with receive operation disabled. A follow-up patch will use the new functionalities in the virtio-net device. Reviewed by: jhb, markj Differential Revision: https://reviews.freebsd.org/D20973 END