opnsense-src/sys/dev/beri/virtio
Gleb Smirnoff e87c494015 Although most of the NIC drivers are epoch ready, due to peer pressure
switch over to opt-in instead of opt-out for epoch.

Instead of IFF_NEEDSEPOCH, provide IFF_KNOWSEPOCH. If driver marks
itself with IFF_KNOWSEPOCH, then ether_input() would not enter epoch
when processing its packets.

Now this will create recursive entrance in epoch in >90% network
drivers, but will guarantee safeness of the transition.

Mark several tested drivers as IFF_KNOWSEPOCH.

Reviewed by:		hselasky, jeff, bz, gallatin
Differential Revision:	https://reviews.freebsd.org/D23674
2020-02-24 21:07:30 +00:00
..
network Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00
virtio.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
virtio.h o Switch to use non-mergeable RX buffers to avoid mbuf adjustment needs 2015-01-05 16:43:22 +00:00
virtio_block.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
virtio_mmio_platform.c Allow BERI virtio-platform code to operate with no PIO devices specified. 2015-07-03 14:27:28 +00:00
virtio_mmio_platform.h o Add BERI Virtio Networking Frontend (if_vtbe) 2014-12-09 16:39:21 +00:00