freebsd-dev/sys/dev/dpaa
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
..
bman_fdt.c dpaa: Mark BMan and QMan as earlier driver modules 2018-10-23 01:56:52 +00:00
bman_portals.c schedlock 4/4 2019-12-15 21:26:50 +00:00
bman.c
bman.h
fman_fdt.c
fman_mdio.c
fman.c
fman.h
if_dtsec_fdt.c
if_dtsec_im.c
if_dtsec_im.h
if_dtsec_rm.c dpaa: Fix warnings in dtsec(4) found by clang 2019-08-21 02:26:22 +00:00
if_dtsec_rm.h
if_dtsec.c Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00
if_dtsec.h
portals_common.c
portals.h
qman_fdt.c dpaa: Mark BMan and QMan as earlier driver modules 2018-10-23 01:56:52 +00:00
qman_portals.c schedlock 4/4 2019-12-15 21:26:50 +00:00
qman.c
qman.h