diff options
author | silby <silby@FreeBSD.org> | 2003-04-13 23:31:06 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-04-13 23:31:06 +0000 |
commit | 41c5b55e0388222dffc7f84d40d2db4633e0b5dc (patch) | |
tree | b781c1f3fb58478b66683bf2d427e102825d448e /share/man/man9/mbuf.9 | |
parent | a9021891fc546a05ccda5639e9b06c6e1cfece8b (diff) | |
download | FreeBSD-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.9 | 11 |
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 |