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, Aug 11, 1:08 PM
Unknown Object (File)
Sat, Aug 1, 7:32 AM
Unknown Object (File)
Thu, Jul 30, 9:33 PM
Unknown Object (File)
Sat, Jul 25, 12:16 AM
Unknown Object (File)
Wed, Jul 22, 9:01 PM
Unknown Object (File)
Sat, Jul 18, 12:47 PM
Unknown Object (File)
Jul 3 2026, 6:34 PM
Unknown Object (File)
Jul 3 2026, 6:34 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 Not Applicable
Unit
Tests Not Applicable