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)
Tue, Nov 19, 9:13 AM
Unknown Object (File)
Fri, Nov 8, 9:08 AM
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)
Oct 21 2024, 5:09 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