diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2016-05-27 21:12:25 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2016-05-27 21:12:25 +0000 |
commit | 1874b317e188005bdd17809144476da2e81a1ec6 (patch) | |
tree | f6043cc74cb82ad0612d285a94800f07257277f6 /tools | |
parent | 09210a281cf7155a1667450b6a9f8da37eeaed95 (diff) | |
download | src-1874b317e188005bdd17809144476da2e81a1ec6.tar.gz src-1874b317e188005bdd17809144476da2e81a1ec6.zip |
Update usage(..)
- Document missing options
- Sync options with ioatcontrol(8).
- Make it clear that the first 2 parameters are always required.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=300874
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/ioat/ioatcontrol.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/tools/tools/ioat/ioatcontrol.c b/tools/tools/ioat/ioatcontrol.c index 32890f8d0b2d..855621743e38 100644 --- a/tools/tools/ioat/ioatcontrol.c +++ b/tools/tools/ioat/ioatcontrol.c @@ -49,14 +49,19 @@ static void usage(void) { - printf("Usage: %s [-E|-f|-m] OPTIONS <channel #> <txns> [<bufsize> " + printf("Usage: %s [-c period] [-EfmVz] channel-number num-txns [<bufsize> " "[<chain-len> [duration]]]\n", getprogname()); - printf(" %s -r [-v] OPTIONS <channel #> <addr> [<bufsize>]\n\n", + printf(" %s -r [-c period] [-vVwz] channel-number address [<bufsize>]\n\n", getprogname()); - printf(" OPTIONS:\n"); - printf(" -c <period> - Enable interrupt coalescing (us)\n"); - printf(" -V - Enable verification\n"); - printf(" -z - Zero device stats before test\n"); + printf(" -c period - Enable interrupt coalescing (us) (default: 0)\n"); + printf(" -E - Test non-contiguous 8k copy.\n"); + printf(" -f - Test block fill (default: DMA copy).\n"); + printf(" -m - Test memcpy instead of DMA.\n"); + printf(" -r - Issue DMA to or from a specific address.\n"); + printf(" -V - Enable verification\n"); + printf(" -v - <address> is a kernel virtual address\n"); + printf(" -w - Write to the specified address\n"); + printf(" -z - Zero device stats before test\n"); exit(EX_USAGE); } |