From af88527ffe750f4fc35af70bb81fbfd68e129ace Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 28 May 2006 00:20:22 +0000 Subject: - remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO. - use if_hardmtu for MTU ioctl handlers. ok reyk@ --- sys/dev/pci/if_nfereg.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_nfereg.h') diff --git a/sys/dev/pci/if_nfereg.h b/sys/dev/pci/if_nfereg.h index e1f4887a4b4..c7846ea9249 100644 --- a/sys/dev/pci/if_nfereg.h +++ b/sys/dev/pci/if_nfereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfereg.h,v 1.18 2006/05/01 15:59:31 brad Exp $ */ +/* $OpenBSD: if_nfereg.h,v 1.19 2006/05/28 00:20:21 brad Exp $ */ /*- * Copyright (c) 2005 Jonathan Gray @@ -21,7 +21,10 @@ #define NFE_RX_RING_COUNT 128 #define NFE_TX_RING_COUNT 256 -#define NFE_JBYTES (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN) +#define NFE_JUMBO_FRAMELEN 9018 +#define NFE_JUMBO_MTU (NFE_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN) + +#define NFE_JBYTES (NFE_JUMBO_FRAMELEN + ETHER_ALIGN) #define NFE_JPOOL_COUNT (NFE_RX_RING_COUNT + 64) #define NFE_JPOOL_SIZE (NFE_JPOOL_COUNT * NFE_JBYTES) -- cgit v1.2.3