HomeFreeBSD

Use count(9) api for the bpf(4) statistics.

Description

Use count(9) api for the bpf(4) statistics.

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.

PR: kern/205320
Reported by: elofu17 at hotmail.com
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D14726

Details

Committed
melifaroMar 20 2018, 10:57 PM
Differential Revision
D14726: Convert bpf(9) counters to counter(9).
Parents
rS331274: Extend the description of ALTQ to call it a system which is a framework in
Branches
Unknown
Tags
Unknown