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)
Tue, Jun 16, 8:37 AM
Unknown Object (File)
Fri, Jun 5, 5:01 AM
Unknown Object (File)
May 17 2026, 9:14 PM
Unknown Object (File)
May 17 2026, 3:40 PM
Unknown Object (File)
May 17 2026, 11:14 AM
Unknown Object (File)
May 17 2026, 1:05 AM
Unknown Object (File)
May 13 2026, 8:12 PM
Unknown Object (File)
May 7 2026, 10:29 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