summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-11-08 22:36:22 +0000
committerdlg <dlg@openbsd.org>2013-11-08 22:36:22 +0000
commitddf7f97499081dc7bf10102cd050649e5684164c (patch)
treeb1e36211da2a06b300ac5a855ef100b4a62009a8 /sys/kern/subr_hibernate.c
parentUse get_ifdevs() to get the interface name (diff)
downloadwireguard-openbsd-ddf7f97499081dc7bf10102cd050649e5684164c.tar.xz
wireguard-openbsd-ddf7f97499081dc7bf10102cd050649e5684164c.zip
advertise the ring sizes through the stack. specifically:
- set the sndq size to the tx ring size so tx mitigation can hopefully kick in - advertise the size of the rx ring to mclgeti - only uses jumbo clusters. mtu is about what the ip stack will do for transmitted packets, we should happily receive packets up to the size the hardware supports. the point of mclgeti was to make it possible to do so without wasting too much memory. ok yasuoka@ uebayasi@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions