From 4c76dd6696f951e1fcc9acf2a1cc56c160b4a944 Mon Sep 17 00:00:00 2001 From: kettenis Date: Fri, 2 Jan 2015 17:32:59 +0000 Subject: [PATCH] Holds up much better under load with an IPL on the block pool. --- sys/dev/pci/if_nep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/if_nep.c b/sys/dev/pci/if_nep.c index f9e3080c6ea..360151f0981 100644 --- 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); -- 2.20.1