diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-11 19:44:40 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-11 19:44:40 +0000 |
commit | 3a1cdb75b1f8c55619b456d1e39f7932b059498c (patch) | |
tree | 96daa3975a6f26c874c5e9eae1db71d332b6cd5a /sys | |
parent | a7a4a2770b0e20d60fd9b45f6d24fe13adff3808 (diff) |
Make BGE_JUMBO_FRAMELEN big enough to include vlan tag. Fixes problems with
receiving jumbo frames on bge(4).
ok krw@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_bgereg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h index 85c9107638b..a97ca14f45f 100644 --- a/sys/dev/pci/if_bgereg.h +++ b/sys/dev/pci/if_bgereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bgereg.h,v 1.72 2007/02/10 01:23:19 krw Exp $ */ +/* $OpenBSD: if_bgereg.h,v 1.73 2007/10/11 19:44:39 kettenis Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2212,8 +2212,8 @@ struct bge_gib { * boundary. */ -#define BGE_JUMBO_FRAMELEN 9018 -#define BGE_JUMBO_MTU (BGE_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN) +#define BGE_JUMBO_FRAMELEN 9022 +#define BGE_JUMBO_MTU (BGE_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN - ETHER_VLAN_ENCAP_LEN) #define BGE_PAGE_SIZE PAGE_SIZE /* |