diff options
author | Mike Silbersack <silby@FreeBSD.org> | 2003-04-13 23:31:06 +0000 |
---|---|---|
committer | Mike Silbersack <silby@FreeBSD.org> | 2003-04-13 23:31:06 +0000 |
commit | 3cab047e0be9b68179f14a71b1e452edb8eaf960 (patch) | |
tree | b781c1f3fb58478b66683bf2d427e102825d448e /share | |
parent | 1a03d6d57a3be762ae5fcc642238080d46f12802 (diff) | |
download | src-3cab047e0be9b68179f14a71b1e452edb8eaf960.tar.gz src-3cab047e0be9b68179f14a71b1e452edb8eaf960.zip |
Add info on how to use the MBUF_STRESS_TEST options. (Only 1 option
at present.)
Notes
Notes:
svn path=/head/; revision=113455
Diffstat (limited to 'share')
-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 b10e6ea73a7c..9e325a28be37 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 |