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, Jul 15, 6:56 AM
Unknown Object (File)
Wed, Jul 15, 6:56 AM
Unknown Object (File)
Sat, Jul 4, 5:40 AM
Unknown Object (File)
Tue, Jun 30, 7:27 PM
Unknown Object (File)
Thu, Jun 25, 4:34 PM
Unknown Object (File)
Wed, Jun 24, 12:53 AM
Unknown Object (File)
Mon, Jun 22, 11:20 PM
Unknown Object (File)
Mon, Jun 22, 12:17 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