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)
Tue, Oct 29, 5:28 PM
Unknown Object (File)
Sat, Oct 19, 5:08 PM
Unknown Object (File)
Sat, Oct 19, 5:08 PM
Unknown Object (File)
Sat, Oct 19, 5:08 PM
Unknown Object (File)
Sat, Oct 19, 4:50 PM
Unknown Object (File)
Sep 26 2024, 7:52 PM
Unknown Object (File)
Sep 23 2024, 8:40 PM
Unknown Object (File)
Sep 23 2024, 7:46 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 15625
Build 15661: arc lint + arc unit