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, 4:11 PM
Reviewer
bz
Differential Revision
D31077: if_epair: rework
Parents
rG83d0a7763a92: aesni: Avoid a potential out-of-bounds load in AES_GCM_encrypt()
Branches
Unknown
Tags
Unknown
Reverted By
rG56dc95b249dc: Revert "if_epair: rework"