diff options
author | 2019-03-14 16:01:02 +0000 | |
---|---|---|
committer | 2019-03-14 16:01:02 +0000 | |
commit | fee69528d2cd998356813db0922e7fd576485f9c (patch) | |
tree | 6574799f7b17e80a97a9af8c5dda8e101e819f51 /lib/libm | |
parent | A little tidying in style_parse. (diff) | |
download | wireguard-openbsd-fee69528d2cd998356813db0922e7fd576485f9c.tar.xz wireguard-openbsd-fee69528d2cd998356813db0922e7fd576485f9c.zip |
Fix the balancing of work queue interrupts.
The value of `ncpusfound' no longer reflects the number of cores that
will be utilized by the kernel; it can be larger if secondary cores
have not been enabled by the firmware. This can lead to incorrect
assignment of work queue interrupts, making certain cnmac(4) ports
unable to receive packets. This is a regression introduced in r1.108 of
octeon/machdep.c.
Correct the problem by using `ncpus' for the balancing. All secondary
cores have been attached and the value is final by the time work queue
interrupt handlers are set up.
Network issue reported by krw@
Diffstat (limited to 'lib/libm')
0 files changed, 0 insertions, 0 deletions