1 .\" Copyright (c) 2015 EMC / Isilon Storage Division
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .Nd Userspace tool to test
60 allows one to issue some number of test operations to the
62 driver on a specific hardware channel.
63 The arguments are as follows:
66 Configure the channel's interrupt coalescing period, in microseconds
69 Test contiguous 8k copy.
71 Test non-contiguous 8k copy.
73 Test block fill (by default,
77 Test memcpy instead of DMA.
79 Verify copies/fills for accuracy
83 Test DMA copy with CRC.
85 Zero device statistics before running test.
88 Alternatively one can use
91 to issue DMA to or from a specific
93 The arguments in "raw" mode are:
99 is a kernel virtual address (by default,
101 is assumed to be a physical address)
103 Verify copies/fills for accuracy
105 Write to the specified
116 operates in one of two modes; if the
120 tries to estimate the copy rate in bytes per second by running
129 once and prints the total bytes copied, as well as error information.
133 argument determines the size of buffers to use for each
136 The default is 256 KB.
137 In raw mode, the default is 4 KB.
141 argument determines the number of copies to chain together in a single DMA
147 argument specifies an approximate time limit for the test, in milliseconds.
149 The test will allocate two chunks of memory for each component of each
151 It will initialize them with specific data patterns.
152 During the test, it submits DMA requests to copy between pairs of buffers.
155 flag was specified, it will compare the contents in the callback for a copy
160 The interface between
166 .Cd hw.ioat.enable_ioat_test=1 .
170 indicates that the test code has enqueued all requested transactions and is
171 waiting on the IOAT hardware to complete one before issuing another operation.
177 driver first appeared in
184 tool were developed by
185 .An \&Jim Harris Aq Mt jimharris@FreeBSD.org ,
186 .An \&Carl Delsey Aq Mt carl.r.delsey@intel.com ,
188 .An \&Conrad Meyer Aq Mt cem@FreeBSD.org .
189 This manual page was written by
190 .An \&Conrad Meyer Aq Mt cem@FreeBSD.org .