summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bnxreg.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-03-05 11:13:11 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-03-05 11:13:11 +0000
commit83833f0fbdf6d417b7873fcc64ed85c2aee3a00b (patch)
tree2d95e8f6a2cd5dd036a503b8de4df57135da70d5 /sys/dev/pci/if_bnxreg.h
parent2ceb6388cee5686046ca641a4107c7045cfef44d (diff)
remove jumbo frame support by replacing MEXTALLOC with MCLGET, and
simplify the VLAN code. this will close PR 5356 (system panics under high load). From claudio@ who is currently not around to commit this fix tested and ok by mcbride@, reyk@, todd@, Paul Hirsch, and brad
Diffstat (limited to 'sys/dev/pci/if_bnxreg.h')
-rw-r--r--sys/dev/pci/if_bnxreg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnxreg.h b/sys/dev/pci/if_bnxreg.h
index 044a995b372..e42795e50f4 100644
--- a/sys/dev/pci/if_bnxreg.h
+++ b/sys/dev/pci/if_bnxreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnxreg.h,v 1.19 2007/03/03 11:17:48 reyk Exp $ */
+/* $OpenBSD: if_bnxreg.h,v 1.20 2007/03/05 11:13:10 reyk Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
@@ -4572,7 +4572,8 @@ struct fw_info {
#define BNX_MAX_JUMBO_ETHER_MTU 9018
#define BNX_MAX_JUMBO_ETHER_MTU_VLAN 9022
-#define BNX_MAX_MRU 9216
+#define BNX_MAX_MRU MCLBYTES
+#define BNX_MAX_JUMBO_MRU 9216
/****************************************************************************/
/* BNX Device State Data Structure */