summaryrefslogtreecommitdiff
path: root/sys/dev/pv/if_xnf.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-01-25 10:46:55 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-01-25 10:46:55 +0000
commit6d41e9012d18a436547107e4acb1051f29239ced (patch)
treeaa0d9c7ab0830137a0654aa31f5c759b4a5cd706 /sys/dev/pv/if_xnf.c
parentbc35c9c0a6dd58a74d4e2a1a2d86d1f62bbc49c2 (diff)
Revert the minimum number of Rx ring slots back to 32
Figured out the hard way by Jonathon Sisson <openbsd at j3z ! org>, thanks!
Diffstat (limited to 'sys/dev/pv/if_xnf.c')
-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;