summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-11-08 18:23:02 +0000
committeryongari <yongari@FreeBSD.org>2011-11-08 18:23:02 +0000
commitebf84a8f036e065de34815892c1d4abc2c388e9e (patch)
treeef068fdbe86cdb90c1b47c0f90c292f34d365da9 /sys/conf/options
parent6ecc40aefc1238d70784dcb1e5e975b0a009c10b (diff)
downloadFreeBSD-src-ebf84a8f036e065de34815892c1d4abc2c388e9e.zip
FreeBSD-src-ebf84a8f036e065de34815892c1d4abc2c388e9e.tar.gz
Retire 'options TI_PRIVATE_JUMBOS' and replace local jumbo
allocator with UMA backed jumbo allocator by default. Previously ti(4) used sf_buf(9) interface for jumbo buffers but it was broken at this moment such that enabling jumbo frame caused instant panic. Due to the nature of sf_buf(9) it heavily relies on VM changes but it seems ti(4) was not received much blessing from VM gurus. I don't understand VM magic and implications used in driver either. Switching to UMA backed jumbo allocator like other network drivers will make jumbo frame work on ti(4). While I'm here, fully allocate all RX buffers. This means ti(4) now uses 512 RX buffer and 1024 mini RX buffers. To use sf_buf(9) interface for jumbo buffers, introduce a new 'options TI_SF_BUF_JUMBO'. If it is proven that sf_buf(9) is better for jumbo buffers, interesting developers can fix the issue in future. ti(4) still needs more bus_dma(9) cleanups and should use separate DMA tag/map for each ring(standard, jumbo, mini, command, event etc) but it should work on all platforms except PAE. Special thanks to Jay[1] who provided complete remote debugging access. Tested by: Jay Borkenhagen <jayb <> braeburn dot org > [1]
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 61078bb..99d64bb 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -526,7 +526,7 @@ NGATM_CCATM opt_netgraph.h
DRM_DEBUG opt_drm.h
ZERO_COPY_SOCKETS opt_zero.h
-TI_PRIVATE_JUMBOS opt_ti.h
+TI_SF_BUF_JUMBO opt_ti.h
TI_JUMBO_HDRSPLIT opt_ti.h
BCE_JUMBO_HDRSPLIT opt_bce.h
OpenPOWER on IntegriCloud