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
F87212758: D43116.id132464.diff
Sun, Jun 30, 8:08 AM
F87212177: D43116.id131570.diff
Sun, Jun 30, 7:55 AM
F87210862: D43116.id132827.diff
Sun, Jun 30, 7:24 AM
Unknown Object (File)
Fri, Jun 28, 2:19 AM
Unknown Object (File)
Fri, Jun 28, 2:17 AM
Unknown Object (File)
Fri, Jun 28, 2:17 AM
Unknown Object (File)
Fri, Jun 28, 2:17 AM
Unknown Object (File)
Thu, Jun 27, 8:46 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 Not Applicable
Unit
Tests Not Applicable