aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/netmap/pkt-gen.c
diff options
context:
space:
mode:
authorHiren Panchasara <hiren@FreeBSD.org>2013-11-10 02:43:09 +0000
committerHiren Panchasara <hiren@FreeBSD.org>2013-11-10 02:43:09 +0000
commitfc6eb28bab7059d78b9a6bafd9d88221c8c74655 (patch)
treec771243fa1b828aaee70f273653c47ea457103b9 /tools/tools/netmap/pkt-gen.c
parentbeb199ac86d40202c2abf87a05f36b110979a666 (diff)
downloadsrc-fc6eb28bab7059d78b9a6bafd9d88221c8c74655.tar.gz
src-fc6eb28bab7059d78b9a6bafd9d88221c8c74655.zip
Notes
Diffstat (limited to 'tools/tools/netmap/pkt-gen.c')
-rw-r--r--tools/tools/netmap/pkt-gen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/netmap/pkt-gen.c b/tools/tools/netmap/pkt-gen.c
index 7203eba0e165..a6e5eeb227f6 100644
--- a/tools/tools/netmap/pkt-gen.c
+++ b/tools/tools/netmap/pkt-gen.c
@@ -277,11 +277,11 @@ system_ncpus(void)
/*
* parse the vale configuration in conf and put it in nmr.
* The configuration may consist of 0 to 4 numbers separated
- * by commas: #tx-slots,#rx-slots,#tx-rinzgs,#rx-rings.
+ * by commas: #tx-slots,#rx-slots,#tx-rings,#rx-rings.
* Missing numbers or zeroes stand for default values.
* As an additional convenience, if exactly one number
- * is specified, then this is assigned to bot #tx-slots and #rx-slots.
- * If there is no 4th number, then the 3rd is assigned to bot #tx-rings
+ * is specified, then this is assigned to both #tx-slots and #rx-slots.
+ * If there is no 4th number, then the 3rd is assigned to both #tx-rings
* and #rx-rings.
*/
void parse_nmr_config(const char* conf, struct nmreq *nmr)