summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2014-11-10 16:35:06 +0000
committermikeb <mikeb@openbsd.org>2014-11-10 16:35:06 +0000
commit120871acba15b5b1422a25a3397266e7800e8cc2 (patch)
tree50dc57bed8ea76b1c3f31c60a5ee7335a5d29e16 /lib/libc
parentdon't try to update the link status every second (diff)
downloadwireguard-openbsd-120871acba15b5b1422a25a3397266e7800e8cc2.tar.xz
wireguard-openbsd-120871acba15b5b1422a25a3397266e7800e8cc2.zip
Gather full statistics only when IX_DEBUG is defined
since most of them can't be retrieved otherwise. This comes with a slight but measurable performance increase as well. Also since the hardware has a single counter for missed packets including those caused by the insufficient DMA buffers available, this makes it hard to decipher actual errors when used with Rx ring length limiting mechanisms like if_rxr or mclgeti.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions