summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2018-03-10 10:51:46 +0000
committersthen <sthen@openbsd.org>2018-03-10 10:51:46 +0000
commite07eb1697ddec45195e96be3333fedb0996ea414 (patch)
treea7e3801eeb707935f235fa810e14b88f6ecbf7e8
parentAvoid a race when populating an mfs fs by using a tmp dir and split (diff)
downloadwireguard-openbsd-e07eb1697ddec45195e96be3333fedb0996ea414.tar.xz
wireguard-openbsd-e07eb1697ddec45195e96be3333fedb0996ea414.zip
raise bnx(4)'s rxring lwm to 16, ok deraadt
(I've had this diff locally for a long time on port build machines to avoid NFS stalls.)
-rw-r--r--sys/dev/pci/if_bnx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c
index b054cb10407..3d7018d81ab 100644
--- a/sys/dev/pci/if_bnx.c
+++ b/sys/dev/pci/if_bnx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnx.c,v 1.124 2017/01/24 03:57:35 dlg Exp $ */
+/* $OpenBSD: if_bnx.c,v 1.125 2018/03/10 10:51:46 sthen Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
@@ -4035,7 +4035,7 @@ bnx_init_rx_chain(struct bnx_softc *sc)
rxbd->rx_bd_haddr_lo = addr;
}
- if_rxr_init(&sc->rx_ring, 2, sc->max_rx_bd);
+ if_rxr_init(&sc->rx_ring, 16, sc->max_rx_bd);
/* Fill up the RX chain. */
bnx_fill_rx_chain(sc);