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)
Fri, Oct 25, 9:43 PM
Unknown Object (File)
Fri, Oct 25, 9:43 PM
Unknown Object (File)
Fri, Oct 25, 9:43 PM
Unknown Object (File)
Fri, Oct 25, 9:43 PM
Unknown Object (File)
Fri, Oct 25, 8:47 PM
Unknown Object (File)
Mon, Oct 21, 5:09 AM
Unknown Object (File)
Oct 3 2024, 7:41 AM
Unknown Object (File)
Oct 2 2024, 6:56 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