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)
Sat, Jan 10, 3:55 AM
Unknown Object (File)
Tue, Dec 30, 7:20 PM
Unknown Object (File)
Tue, Dec 30, 4:58 PM
Unknown Object (File)
Sun, Dec 28, 5:11 PM
Unknown Object (File)
Sun, Dec 21, 2:15 PM
Unknown Object (File)
Dec 9 2025, 7:16 AM
Unknown Object (File)
Nov 27 2025, 10:59 AM
Unknown Object (File)
Nov 14 2025, 4:24 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