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)
Sun, Aug 2, 4:41 AM
Unknown Object (File)
Sun, Aug 2, 3:33 AM
Unknown Object (File)
Sun, Aug 2, 12:43 AM
Unknown Object (File)
Sat, Aug 1, 5:31 AM
Unknown Object (File)
Mon, Jul 27, 2:02 PM
Unknown Object (File)
Mon, Jul 27, 10:57 AM
Unknown Object (File)
Tue, Jul 21, 4:34 AM
Unknown Object (File)
Mon, Jul 20, 1:14 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