summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-02-08 23:05:44 +0000
committerbrad <brad@openbsd.org>2006-02-08 23:05:44 +0000
commit0bd5b5a790ce6883e597ef8635abdc12403b3427 (patch)
treecd03622e8a51e66dffc61abd45101afed7cd82d3
parenteliminate a reset when configuring the IP address. (diff)
downloadwireguard-openbsd-0bd5b5a790ce6883e597ef8635abdc12403b3427.tar.xz
wireguard-openbsd-0bd5b5a790ce6883e597ef8635abdc12403b3427.zip
lower the number of Jumbo slots on sparc64.
-rw-r--r--sys/dev/pci/if_skreg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_skreg.h b/sys/dev/pci/if_skreg.h
index c9f1c1fdb53..051cfbd78f4 100644
--- a/sys/dev/pci/if_skreg.h
+++ b/sys/dev/pci/if_skreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_skreg.h,v 1.26 2005/12/22 20:54:47 brad Exp $ */
+/* $OpenBSD: if_skreg.h,v 1.27 2006/02/08 23:05:44 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1461,7 +1461,11 @@ struct sk_tx_desc {
* layers. To be safe, we allocate 1.5 times the number of
* receive descriptors.
*/
+#ifdef __sparc64__
+#define SK_JSLOTS 54
+#else
#define SK_JSLOTS 384
+#endif
#define SK_JRAWLEN (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN)
#define SK_JLEN SK_JRAWLEN