HomeFreeBSD

if_vxlan(4): Allow netmap_generic to intercept RX packets.

Description

if_vxlan(4): Allow netmap_generic to intercept RX packets.

Netmap (generic) intercepts the if_input method to handle RX packets.

Call ifp->if_input() instead of netisr_dispatch().
Add stricter check for incoming packet length.

This change is very useful with bhyve + vale + if_vxlan.

Reviewed by: vmaffione (mentor), kib, np, donner
Approved by: vmaffione (mentor), kib, np, donner
MFC after: 2 weeks
Sponsored by: vstack.com
Differential Revision: https://reviews.freebsd.org/D30638

Details

Provenance
afedorovAuthored on Feb 6 2022, 12:27 PM
Reviewer
vmaffione
Differential Revision
D30638: if_vxlan(4): Allow netmap_generic to intercept RX packets.
Parents
rG42cf33dd1a8d: Add new USB host controller PCI ID's.
Branches
Unknown
Tags
Unknown