artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9c2e4
)
Holds up much better under load with an IPL on the block pool.
author
kettenis
<kettenis@openbsd.org>
Fri, 2 Jan 2015 17:32:59 +0000
(17:32 +0000)
committer
kettenis
<kettenis@openbsd.org>
Fri, 2 Jan 2015 17:32:59 +0000
(17:32 +0000)
sys/dev/pci/if_nep.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_nep.c
b/sys/dev/pci/if_nep.c
index
f9e3080
..
360151f
100644
(file)
--- a/
sys/dev/pci/if_nep.c
+++ b/
sys/dev/pci/if_nep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_nep.c,v 1.
7 2015/01/02 16:20:11
kettenis Exp $ */
+/* $OpenBSD: if_nep.c,v 1.
8 2015/01/02 17:32:59
kettenis Exp $ */
/*
* Copyright (c) 2014 Mark Kettenis
*
@@
-524,6
+524,7
@@
nep_attach(struct device *parent, struct device *self, void *aux)
}
pool_init(nep_block_pool, PAGE_SIZE, 0, 0, 0,
"nepblk", NULL);
+ pool_setipl(nep_block_pool, IPL_NET);
}
val = nep_read(sc, MIF_CONFIG);