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)
Feb 12 2024, 11:56 PM
Unknown Object (File)
Dec 20 2023, 3:28 AM
Unknown Object (File)
Oct 2 2023, 3:07 AM
Unknown Object (File)
Sep 1 2023, 8:30 PM
Unknown Object (File)
Sep 1 2023, 2:58 AM
Unknown Object (File)
Sep 1 2023, 2:57 AM
Unknown Object (File)
Sep 1 2023, 2:57 AM
Unknown Object (File)
Sep 1 2023, 2:47 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