HomeFreeBSD

arm: hide busdma statistics behind ifdef ARM_BUSDMA_MAPLOAD_STATS

Description

arm: hide busdma statistics behind ifdef ARM_BUSDMA_MAPLOAD_STATS

Stat collection using counter(9) is quite expensive on this platform and
these counters are normally not needed.

In particular we see about 1.5% bump in packet rate using Cortex-A9

Reviewed by: ian
Sponsored by: Rubicon Communications, LLC ("Netgate")
Different Revision: https://reviews.freebsd.org/D31592

(cherry picked from commit aec8ad8a9e6aba2d73c98bd41f2994744aae3d01)

Details

Provenance
mjgAuthored on Jul 21 2021, 3:34 AM
Parents
rG43151ddbae85: pf: assert dir state on pf_test{,6}
Branches
Unknown
Tags
Unknown