if_epair: rework

Rework if_epair(4) to no longer use netisr and dpcpu.
Instead use mbufq and swi_net.
This simplifies the code and seems to make it work better and
no longer hang.

Work largely by bz@, with minor tweaks by kp@.

Reviewed by:	bz, kp
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D31077

(cherry picked from commit 3dd5760aa5)
This commit is contained in:
Bjoern A. Zeeb 2021-10-09 16:09:04 +02:00 committed by Kristof Provost
parent 35dfdb88ea
commit f4aba8c9f0

File diff suppressed because it is too large Load Diff