HomeFreeBSD

pf: revert: Use counter(9) for pf_state byte/packet tracking

Description

pf: revert: Use counter(9) for pf_state byte/packet tracking

stats are not shared and consequently per-CPU counters only waste
memory.

No slowdown was measured when passing over 20M pps.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Jun 28 2021, 6:50 PM
Parents
rG803dfe3da0e3: pf: deduplicate V_pf_state_z handling with pfsync
Branches
Unknown
Tags
Unknown