Page MenuHomeFreeBSD

bpf: retire struct bpf_if_ext
ClosedPublic

Authored by glebius on Nov 21 2025, 10:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 1, 10:17 PM
Unknown Object (File)
Wed, Apr 1, 9:04 AM
Unknown Object (File)
Tue, Mar 24, 2:57 PM
Unknown Object (File)
Mon, Mar 23, 9:50 PM
Unknown Object (File)
Sun, Mar 15, 8:03 PM
Unknown Object (File)
Mar 1 2026, 10:41 PM
Unknown Object (File)
Feb 26 2026, 4:46 PM
Unknown Object (File)
Feb 13 2026, 11:34 PM
Subscribers

Details

Summary

The struct was used for bpf_if to bif_dlist masking, that is used to
optimize bpf_peers_present() call. The only functional change here is
that bif_dlist and bif_next swap their places in the structure. Both
belong to the first cache line anyway.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68793
Build 65676: arc lint + arc unit