summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2009-11-26 15:34:15 +0000
committerjakemsr <jakemsr@openbsd.org>2009-11-26 15:34:15 +0000
commit19ff40b3008b9b8a26d0130790a2db76d17df7b2 (patch)
tree8d8b3e02c2eff7cfcf84e2fd0f53cb04d550aaf5 /sys/dev/pci/if_em.c
parentHandle the possibility of partial mouse reads, and fix a comment while here. (diff)
downloadwireguard-openbsd-19ff40b3008b9b8a26d0130790a2db76d17df7b2.tar.xz
wireguard-openbsd-19ff40b3008b9b8a26d0130790a2db76d17df7b2.zip
greatly reduce latency and kill some XXXs:
* reduce number of outstanding USB xfers: 6 -> 3 * reduce number of USB frames per xfer: 10 -> 2 * if the device uses wMaxPacketSize frame sizes that are longer than 1 ms, allow 1 frame per xfer * instead of making blocksizes big enough to hold all outstanding xfers, just make it big enough to hold one xfer * calculate blocksizes a little better * be more careful to let the upper layer know exactly when a block has been moved in/out of the upper layer buffer ok ratchov
Diffstat (limited to 'sys/dev/pci/if_em.c')
0 files changed, 0 insertions, 0 deletions