CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/04/05 07:11:58

Modified files:
        sys/arch/mips64/mips64: cpu.c 
        sys/arch/octeon/octeon: machdep.c 
        sys/arch/loongson/loongson: machdep.c 

Log message:
Hoist mips64 CPU accounting to get multiple softnet threads on MP systems

Increment ncpus (hw.ncpu) in mips64 cpuattach() instead of octeon/loongson
hw_cpu_hatch() running before, not after MI sofnet_percpu(), respectively.

This matches what arm64, macppc and powerpc64 do.

Local traffic may now be distributed across multiple threads, while physical
drivers like cnmac(4/octeon) still lack multiqueue support to do so.

loongson was not tested, but should behave the same.

initial report Jordan Geoghegan
tests kirill bluhm Janne Johansson
feedback miod bluhm kettenis
OK kirill visa

Reply via email to