Page MenuHomeFreeBSD

pflow: Turn `pflowstats' statistics counters into per-CPU counters to make them mpsafe.
ClosedPublic

Authored by kp on Dec 19 2023, 10:07 AM.
Tags
None
Referenced Files
F169726282: D43116.id132464.diff
Wed, Sep 2, 9:39 AM
F169713706: D43116.id131570.diff
Wed, Sep 2, 8:55 AM
F169603190: D43116.diff
Wed, Sep 2, 1:12 AM
Unknown Object (File)
Fri, Aug 28, 12:38 PM
Unknown Object (File)
Tue, Aug 25, 5:29 PM
Unknown Object (File)
Fri, Aug 21, 4:43 AM
Unknown Object (File)
Fri, Aug 14, 10:54 PM
Unknown Object (File)
Sat, Aug 8, 7:07 PM

Details

Summary

The weird interactions around pflow_flows' and sc_gcounter' replaced
by simple `pflow_flows' increment. Since the flow sequence is the 32
bits integer, the `sc_gcounter' type replaced by the type of uint32_t.

Obtained from: OpenBSD
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 55023
Build 51912: arc lint + arc unit