summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_eiface.h
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2010-11-22 12:32:19 +0000
committerzec <zec@FreeBSD.org>2010-11-22 12:32:19 +0000
commita5a86ab1cba969d8fd1ac51249239fa2bcd2b0e2 (patch)
treeb2cc43c00a5e3ed0c66014fffab72c4ae0984c2e /sys/netgraph/ng_eiface.h
parent680e761bab7c129507894e64cf9c55aaf9d83988 (diff)
downloadFreeBSD-src-a5a86ab1cba969d8fd1ac51249239fa2bcd2b0e2.zip
FreeBSD-src-a5a86ab1cba969d8fd1ac51249239fa2bcd2b0e2.tar.gz
Allow for MTU sizes of up to ETHER_MAX_LEN_JUMBO (i.e. 9018) bytes to be
configured on ng_eiface ifnets. The default MTU remains unchanged at 1500 bytes. Mark ng_eiface ifnets as IFCAP_VLAN_MTU capable, so that the associated vlan(4) ifnets may use full-sized Ethernet MTUs (1500 bytes). MFC after: 3 days
Diffstat (limited to 'sys/netgraph/ng_eiface.h')
-rw-r--r--sys/netgraph/ng_eiface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_eiface.h b/sys/netgraph/ng_eiface.h
index db07a55..6fc1c5b 100644
--- a/sys/netgraph/ng_eiface.h
+++ b/sys/netgraph/ng_eiface.h
@@ -46,7 +46,7 @@
/* MTU bounds */
#define NG_EIFACE_MTU_MIN 72
-#define NG_EIFACE_MTU_MAX 2312
+#define NG_EIFACE_MTU_MAX ETHER_MAX_LEN_JUMBO
#define NG_EIFACE_MTU_DEFAULT 1500
/* Netgraph commands */
OpenPOWER on IntegriCloud