DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <rami.rosen@intel.com>
To: keith.wiles@intel.com
Cc: dev@dpdk.org, Rami Rosen <rami.rosen@intel.com>
Subject: [dpdk-dev] [pktgen PATCH] Fix a typo in app/pktgen.c
Date: Wed,  7 Feb 2018 11:15:12 -0500	[thread overview]
Message-ID: <20180207161512.24010-1-rami.rosen@intel.com> (raw)

This patch fixes a typo in pktgen_main_rxtx_loop() method 
of app/pktgen.c.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 app/pktgen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/pktgen.c b/app/pktgen.c
index 4904954..412585b 100644
--- a/app/pktgen.c
+++ b/app/pktgen.c
@@ -1263,7 +1263,7 @@ pktgen_main_rxtx_loop(uint8_t lid)
 	if (txcnt == 0)
 		rte_panic("No ports found for %d lcore\n", lid);
 
-	printf("For TX found %d port(s) for lcore %d\n", rxcnt, lid);
+	printf("For TX found %d port(s) for lcore %d\n", txcnt, lid);
 	for(idx = 0; idx < txcnt; idx++) {
 		if (infos[idx] == NULL)
 			rte_panic("Invalid TX config: port at index %d not found for %d lcore\n", idx, lid);
-- 
2.14.3

             reply	other threads:[~2018-02-07  9:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-07 16:15 Rami Rosen [this message]
2018-02-07 14:48 ` Wiles, Keith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180207161512.24010-1-rami.rosen@intel.com \
    --to=rami.rosen@intel.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).