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
Unknown Object (File)
Mon, Apr 6, 7:52 AM
Unknown Object (File)
Tue, Mar 17, 7:20 AM
Unknown Object (File)
Tue, Mar 17, 7:14 AM
Unknown Object (File)
Fri, Mar 13, 5:51 AM
Unknown Object (File)
Thu, Mar 12, 5:17 PM
Unknown Object (File)
Thu, Mar 12, 2:01 PM
Unknown Object (File)
Thu, Mar 12, 10:37 AM
Unknown Object (File)
Thu, Mar 12, 6:41 AM

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 Not Applicable
Unit
Tests Not Applicable