diff options
author | 2008-07-18 13:38:40 +0000 | |
---|---|---|
committer | 2008-07-18 13:38:40 +0000 | |
commit | 31d567d1e1eca0de2c2681092cc8dae31a5c69ac (patch) | |
tree | 364867d2c35d0f7fd3f14a5d837c6d1285f98ce6 /sys/kern/exec_elf.c | |
parent | fix cases, found by lint: (diff) | |
download | wireguard-openbsd-31d567d1e1eca0de2c2681092cc8dae31a5c69ac.tar.xz wireguard-openbsd-31d567d1e1eca0de2c2681092cc8dae31a5c69ac.zip |
o Use mbufs, for the RX ring, instead of malloc()'ing an MCLBYTES sized buffer.
o On non-strict alignment archs, dont copy the mbuf, every time, unload it, and send
it up the stack and just get a new one for the rx ring. We still do the copy on
strict alignment archs though...
o create a function to handle mbuf allocation for the rx ring, vr_mbuf_alloc(),
use it to allocate the mbufs and shuffle the bus dma setup around.
ideas/code from vic(4) and sis(4);
ok reyk@, brad@, dlg@
tested by many, been in snapshots for a while.
Diffstat (limited to 'sys/kern/exec_elf.c')
0 files changed, 0 insertions, 0 deletions