Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116018852
D19855.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D19855.diff
View Options
Index: head/tools/tools/ioat/ioatcontrol.c
===================================================================
--- head/tools/tools/ioat/ioatcontrol.c
+++ head/tools/tools/ioat/ioatcontrol.c
@@ -49,7 +49,7 @@
usage(void)
{
- printf("Usage: %s [-c period] [-EfmVz] channel-number num-txns [<bufsize> "
+ printf("Usage: %s [-c period] [-EefmVxXz] channel-number num-txns [<bufsize> "
"[<chain-len> [duration]]]\n", getprogname());
printf(" %s -r [-c period] [-vVwz] channel-number address [<bufsize>]\n\n",
getprogname());
@@ -154,9 +154,11 @@
break;
case 'x':
xflag = true;
+ modeflags++;
break;
case 'X':
Xflag = true;
+ modeflags++;
break;
case 'z':
t.zero_stats = true;
@@ -172,7 +174,7 @@
usage();
if (modeflags > 1) {
- printf("Invalid: Cannot use >1 mode flag (-E, -f, -m, or -r)\n");
+ printf("Invalid: Cannot use >1 mode flag (-E, -e, -f, -m, -r, -x or -X)\n");
usage();
}
@@ -191,7 +193,7 @@
t.testkind = IOAT_TEST_MEMCPY;
else if (xflag)
t.testkind = IOAT_TEST_DMA_CRC;
- else if (xflag)
+ else if (Xflag)
t.testkind = IOAT_TEST_DMA_CRC_COPY;
t.channel_index = atoi(argv[0]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 2, 4:47 PM (13 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17908224
Default Alt Text
D19855.diff (1 KB)
Attached To
Mode
D19855: ioatcontrol(8) crc-copy flag bug and misc usage tweak
Attached
Detach File
Event Timeline
Log In to Comment