summaryrefslogtreecommitdiffstats
path: root/share/man/man4/if_bridge.4
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-01-14 03:51:31 +0000
committerthompsa <thompsa@FreeBSD.org>2006-01-14 03:51:31 +0000
commitdfb4dff72d447694faafb9e0fe0ffb31863c7173 (patch)
treecf3a69e94b7d6d48da6db40cd0b9c13fda45922d /share/man/man4/if_bridge.4
parente634f0353637189d142075431b0c24910521d15e (diff)
downloadFreeBSD-src-dfb4dff72d447694faafb9e0fe0ffb31863c7173.zip
FreeBSD-src-dfb4dff72d447694faafb9e0fe0ffb31863c7173.tar.gz
Add code that clears certain capabilities from the member interface, these are
restored when its removed from the bridge. At the moment we only clear IFCAP_TXCSUM. Since a locally generated packet on the bridge may be sent out any one or more interfaces it cant be assumed that every card does hardware csums. Most bridges don't generate a lot of traffic themselves so turning off offloading won't hurt, bridged packets are unaffected. Tested by: Bruce Walker (bmw borderware.com) MFC after: 5 days
Diffstat (limited to 'share/man/man4/if_bridge.4')
-rw-r--r--share/man/man4/if_bridge.43
1 files changed, 3 insertions, 0 deletions
diff --git a/share/man/man4/if_bridge.4 b/share/man/man4/if_bridge.4
index 09425f8..4182113 100644
--- a/share/man/man4/if_bridge.4
+++ b/share/man/man4/if_bridge.4
@@ -146,6 +146,9 @@ as on the interface on which the packet arrives or departs.
.Pp
The MTU of the first member interface to be added is used as the bridge MTU,
all additional members are required to have exactly the same value.
+.Pp
+The TXCSUM capability is disabled for any interface added to the bridge, this
+is restored when the interface is removed again.
.Sh EXAMPLES
The following when placed in the file
.Pa /etc/rc.conf
OpenPOWER on IntegriCloud