Page MenuHomeFreeBSD

bpf: retire struct bpf_if_ext
ClosedPublic

Authored by glebius on Fri, Nov 21, 10:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 2:13 PM
Unknown Object (File)
Sat, Dec 6, 12:27 AM
Unknown Object (File)
Sun, Nov 30, 3:37 PM
Unknown Object (File)
Sun, Nov 30, 6:17 AM
Unknown Object (File)
Sat, Nov 29, 12:09 AM
Unknown Object (File)
Fri, Nov 28, 12:19 PM
Unknown Object (File)
Fri, Nov 28, 12:08 PM
Unknown Object (File)
Thu, Nov 27, 6:36 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