summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-01-25 10:46:54 +0000
committermikeb <mikeb@openbsd.org>2016-01-25 10:46:54 +0000
commit8f91f357e40403e4f249f3ebda504df8541b0f0c (patch)
tree0cacd81429e36e096df38269e8b32774aac24f20
parentIn vmxnet3_start(), do not send the mbuf to bpf after passing it to (diff)
downloadwireguard-openbsd-8f91f357e40403e4f249f3ebda504df8541b0f0c.tar.xz
wireguard-openbsd-8f91f357e40403e4f249f3ebda504df8541b0f0c.zip
Revert the minimum number of Rx ring slots back to 32
Figured out the hard way by Jonathon Sisson <openbsd at j3z ! org>, thanks!
-rw-r--r--sys/dev/pv/if_xnf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c
index d068f03ac3b..b053128b579 100644
--- a/sys/dev/pv/if_xnf.c
+++ b/sys/dev/pv/if_xnf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xnf.c,v 1.11 2016/01/22 19:47:57 mikeb Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.12 2016/01/25 10:46:54 mikeb Exp $ */
/*
* Copyright (c) 2015, 2016 Mike Belopuhov
@@ -81,7 +81,7 @@ union xnf_rx_desc {
#define XNF_RX_DESC 256
#define XNF_MCLEN PAGE_SIZE
-#define XNF_RX_MIN 18
+#define XNF_RX_MIN 32
struct xnf_rx_ring {
uint32_t rxr_prod;