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
F115772135: D43116.diff
Mon, Apr 28, 10:47 AM
Unknown Object (File)
Thu, Apr 24, 5:15 AM
Unknown Object (File)
Thu, Apr 24, 12:22 AM
Unknown Object (File)
Wed, Apr 23, 9:32 PM
Unknown Object (File)
Wed, Apr 23, 9:29 PM
Unknown Object (File)
Wed, Apr 23, 9:10 PM
Unknown Object (File)
Wed, Apr 23, 9:05 PM
Unknown Object (File)
Mon, Apr 21, 8:01 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