summaryrefslogtreecommitdiffstats
path: root/share/man/man9/mbuf.9
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-04-13 23:31:06 +0000
committersilby <silby@FreeBSD.org>2003-04-13 23:31:06 +0000
commit41c5b55e0388222dffc7f84d40d2db4633e0b5dc (patch)
treeb781c1f3fb58478b66683bf2d427e102825d448e /share/man/man9/mbuf.9
parenta9021891fc546a05ccda5639e9b06c6e1cfece8b (diff)
downloadFreeBSD-src-41c5b55e0388222dffc7f84d40d2db4633e0b5dc.zip
FreeBSD-src-41c5b55e0388222dffc7f84d40d2db4633e0b5dc.tar.gz
Add info on how to use the MBUF_STRESS_TEST options. (Only 1 option
at present.)
Diffstat (limited to 'share/man/man9/mbuf.9')
-rw-r--r--share/man/man9/mbuf.911
1 files changed, 11 insertions, 0 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index b10e6ea..9e325a2 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -522,6 +522,17 @@ In case of failure, it returns
.Dv NULL
and attempts to restore the chain to its original state.
.El
+.Sh STRESS TESTING
+When running a kernel compiled with the option MBUF_STRESS_TEST,
+the following sysctl-controlled options may be used to create
+various failure / extreme cases for testing of network drivers
+and other mbuf-reliant parts of the kernel.
+.Pp
+.Va net.inet.ip.mbuf_frag_size
+causes ip_output to fragment outgoing mbuf chains into fragments of
+the specified size. Setting this option to 1 is an excellent way to
+test the long mbuf chain handling ability of network drivers.
+.El
.Sh RETURN VALUES
See above.
.Sh HISTORY
OpenPOWER on IntegriCloud