HomeFreeBSD

if_epair: rework

Description

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 3dd5760aa5f876f8a3f0735afeebdf9ee414e1f5)

Details

Provenance
bzAuthored on Oct 9 2021, 2:09 PM
kpCommitted on Nov 23 2021, 3:50 PM
Reviewer
bz
Differential Revision
D31077: if_epair: rework
Parents
rG35dfdb88eafd: unix: Remove a write-only local variable
Branches
Unknown
Tags
Unknown