DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] [pktgen PATCH] Fix a typo in app/pktgen.c
  2018-02-07 16:15 [dpdk-dev] [pktgen PATCH] Fix a typo in app/pktgen.c Rami Rosen
@ 2018-02-07 14:48 ` Wiles, Keith
  0 siblings, 0 replies; 2+ messages in thread
From: Wiles, Keith @ 2018-02-07 14:48 UTC (permalink / raw)
  To: Rosen, Rami; +Cc: dev



> On Feb 7, 2018, at 10:15 AM, Rosen, Rami <rami.rosen@intel.com> wrote:
> 
> 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);

Thanks I will apply it.

> 	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
> 

Regards,
Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [pktgen PATCH] Fix a typo in app/pktgen.c
@ 2018-02-07 16:15 Rami Rosen
  2018-02-07 14:48 ` Wiles, Keith
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2018-02-07 16:15 UTC (permalink / raw)
  To: keith.wiles; +Cc: dev, Rami Rosen

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-07 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 16:15 [dpdk-dev] [pktgen PATCH] Fix a typo in app/pktgen.c Rami Rosen
2018-02-07 14:48 ` Wiles, Keith

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).