diff options
author | stas <stas@FreeBSD.org> | 2009-10-21 12:47:09 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-10-21 12:47:09 +0000 |
commit | f4db0c13dfa7f13866d61e2950d9093cc648047a (patch) | |
tree | d6e0d304fbc101b5d302f55de0aa3df5f273c027 /sys/conf | |
parent | 942e8c59c93da74bcc4e97031309b8c5f1561e0c (diff) | |
download | FreeBSD-src-f4db0c13dfa7f13866d61e2950d9093cc648047a.zip FreeBSD-src-f4db0c13dfa7f13866d61e2950d9093cc648047a.tar.gz |
- Introduce new option BCE_JUMBO_HDRSPLIT that allows user to enable header
splitting in bce(4) instead of (ab)using ZERO_COPY_SOCKETS that was not
propagated into if_bce.c anyway. It is disabled by default.
Approved by: davidch
MFC after: 3 days
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/NOTES | 6 | ||||
-rw-r--r-- | sys/conf/options | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 1cba42f..deab220 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -1985,6 +1985,12 @@ device lmc # only works for Tigon II chips, and has no effect for Tigon I chips. options TI_JUMBO_HDRSPLIT +# +# Use header splitting feature on bce(4) adapters. +# This may help to reduce the amount of jumbo-sized memory buffers used. +# +options BCE_JUMBO_HDRSPLIT + # These two options allow manipulating the mbuf cluster size and mbuf size, # respectively. Be very careful with NIC driver modules when changing # these from their default values, because that can potentially cause a diff --git a/sys/conf/options b/sys/conf/options index 1df09d7..b1e62c3 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -511,6 +511,7 @@ DRM_DEBUG opt_drm.h ZERO_COPY_SOCKETS opt_zero.h TI_PRIVATE_JUMBOS opt_ti.h TI_JUMBO_HDRSPLIT opt_ti.h +BCE_JUMBO_HDRSPLIT opt_bce.h # XXX Conflict: # of devices vs network protocol (Native ATM). # This makes "atm.h" unusable. |