diff options
author | 2020-06-24 22:36:31 +0000 | |
---|---|---|
committer | 2020-06-24 22:36:31 +0000 | |
commit | 67b051ae2647f8016a2524bb5ab3982bb69a299a (patch) | |
tree | e51023c68f27dad87f2f5b07ea8ef56c76c04c31 /lib/libc | |
parent | kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9) (diff) | |
download | wireguard-openbsd-67b051ae2647f8016a2524bb5ab3982bb69a299a.tar.xz wireguard-openbsd-67b051ae2647f8016a2524bb5ab3982bb69a299a.zip |
set IFQ_SET_MAXLEN to the number of slots on the tx ring, not 1.
this effectively enables tx mitigation on this chip. hrvoje popovski
tested it and discovered it adds about 20% to forwarding performance
on his test machine, and brings it more in line with ix(4) performance.
jmatthew thinks i copied setting it to 1 from myx, but myx resets
it to a proper value later on when it figures out what the chip is
capable of. how embarrassment.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions