diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-05-28 00:20:22 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-05-28 00:20:22 +0000 |
commit | af88527ffe750f4fc35af70bb81fbfd68e129ace (patch) | |
tree | 0ab28a440b9de954f9aed386febe09d2908b7f38 /sys/dev/pci/if_nfereg.h | |
parent | f32ef14b7e0390d427153634ede40cc7b15599a4 (diff) |
- remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO.
- use if_hardmtu for MTU ioctl handlers.
ok reyk@
Diffstat (limited to 'sys/dev/pci/if_nfereg.h')
-rw-r--r-- | sys/dev/pci/if_nfereg.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <jsg@openbsd.org> @@ -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) |