summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-01-13 20:27:18 +0000
committermikeb <mikeb@openbsd.org>2016-01-13 20:27:18 +0000
commit9f3dfbb0ab179a8cb8ab4aa8a4cd5cb6b5f0f98c (patch)
tree1852e594e244a5d8cb9a9e7d6d017041fb6cac63 /sys
parentEnable Xen support in GENERIC; discussed with deraadt@ (diff)
downloadwireguard-openbsd-9f3dfbb0ab179a8cb8ab4aa8a4cd5cb6b5f0f98c.tar.xz
wireguard-openbsd-9f3dfbb0ab179a8cb8ab4aa8a4cd5cb6b5f0f98c.zip
Bump number of tx fragments to the stock value of 18
Diffstat (limited to 'sys')
-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 f47855ada5b..1852b7693c7 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.4 2016/01/13 20:15:54 mikeb Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.5 2016/01/13 20:27:18 mikeb Exp $ */
/*
* Copyright (c) 2015, 2016 Mike Belopuhov
@@ -120,7 +120,7 @@ union xnf_tx_desc {
} __packed;
#define XNF_TX_DESC 256
-#define XNF_TX_FRAG 8 /* down from 18 */
+#define XNF_TX_FRAG 18
struct xnf_tx_ring {
uint32_t txr_prod;