Commit afee86f9 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvme/perf: rename -m option to -c to match DPDK



Change-Id: I367bb9d3804ae7808a10c6166f0e752b7d6ce87f
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 668847e1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -479,7 +479,7 @@ static void usage(char *program_name)
	printf("\t\t(read, write, randread, randwrite, rw, randrw)]\n");
	printf("\t[-M rwmixread (100 for reads, 0 for writes)]\n");
	printf("\t[-t time in seconds]\n");
	printf("\t[-m core mask for I/O submission/completion.]\n");
	printf("\t[-c core mask for I/O submission/completion.]\n");
	printf("\t\t(default: 1)]\n");
}

@@ -529,9 +529,9 @@ parse_args(int argc, char **argv)
	g_rw_percentage = -1;
	g_core_mask = NULL;

	while ((op = getopt(argc, argv, "m:q:s:t:w:M:")) != -1) {
	while ((op = getopt(argc, argv, "c:q:s:t:w:M:")) != -1) {
		switch (op) {
		case 'm':
		case 'c':
			g_core_mask = optarg;
			break;
		case 'q':