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, Nov 24, 9:18 PM
Unknown Object (File)
Nov 23 2024, 9:32 AM
Unknown Object (File)
Nov 23 2024, 9:30 AM
Unknown Object (File)
Nov 19 2024, 4:54 AM
Unknown Object (File)
Nov 16 2024, 10:42 PM
Unknown Object (File)
Nov 16 2024, 7:41 PM
Unknown Object (File)
Oct 29 2024, 5:28 PM
Unknown Object (File)
Oct 19 2024, 5:08 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