summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2019-01-22 02:04:30 +0000
committerjmatthew <jmatthew@openbsd.org>2019-01-22 02:04:30 +0000
commit270601a5547cdc7243f1dbbbe15af45bb6e3a5d8 (patch)
tree981fc0923d28cc29e4d72b3c54cdf81cc9089f91
parentIncrease hardmtu to the maximum according to the datasheet and set the rx (diff)
downloadwireguard-openbsd-270601a5547cdc7243f1dbbbe15af45bb6e3a5d8.tar.xz
wireguard-openbsd-270601a5547cdc7243f1dbbbe15af45bb6e3a5d8.zip
Increase max mtu to match the linux driver; tested against ixl, which can
go larger still.
-rw-r--r--sys/dev/pci/if_bnxt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnxt.c b/sys/dev/pci/if_bnxt.c
index 6ec61a783b2..cd27eaf5ade 100644
--- a/sys/dev/pci/if_bnxt.c
+++ b/sys/dev/pci/if_bnxt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnxt.c,v 1.17 2018/09/19 10:26:17 jmatthew Exp $ */
+/* $OpenBSD: if_bnxt.c,v 1.18 2019/01/22 02:04:30 jmatthew Exp $ */
/*-
* Broadcom NetXtreme-C/E network driver.
*
@@ -83,7 +83,7 @@
#define BNXT_TX_RING_ID 3
#define BNXT_MAX_QUEUE 8
-#define BNXT_MAX_MTU 9000
+#define BNXT_MAX_MTU 9500
#define BNXT_AG_BUFFER_SIZE 8192
#define BNXT_CP_PAGES 4