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)
Sun, Mar 1, 10:41 PM
Unknown Object (File)
Thu, Feb 26, 4:46 PM
Unknown Object (File)
Fri, Feb 13, 11:34 PM
Unknown Object (File)
Jan 29 2026, 3:50 AM
Unknown Object (File)
Jan 7 2026, 4:50 AM
Unknown Object (File)
Dec 19 2025, 1:13 AM
Unknown Object (File)
Dec 11 2025, 2:13 PM
Unknown Object (File)
Dec 6 2025, 12:27 AM
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 Not Applicable
Unit
Tests Not Applicable