Page MenuHomeFreeBSD

Convert bpf(9) counters to counter(9).
ClosedPublic

Authored by melifaro on Mar 17 2018, 11:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 9:39 PM
Unknown Object (File)
Sep 15 2025, 5:42 PM
Unknown Object (File)
Sep 15 2025, 4:00 PM
Unknown Object (File)
Aug 8 2025, 1:47 AM
Unknown Object (File)
Aug 6 2025, 1:58 AM
Unknown Object (File)
Jul 21 2025, 4:31 PM
Unknown Object (File)
Jul 7 2025, 12:06 AM
Unknown Object (File)
Jul 5 2025, 6:58 AM
Subscribers

Details

Summary

Currently each bfp descriptor uses u64 variables to maintain its counters.
On interfaces with high packet rate this leads to unnecessary contention and
inaccurate reporting. Fix this by using standard counter(9) API for each counter.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable