DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ark: repair incorrect loop counter
@ 2017-10-06 18:03 John Miller
  2017-10-06 23:47 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: John Miller @ 2017-10-06 18:03 UTC (permalink / raw)
  To: dev; +Cc: ed.czeck, shepard.siegel, John Miller

Change loop counter that should be based on the number
of rx queues, not tx queues.  This only affects debug
output.

Signed-off-by: John Miller <john.miller@atomicrules.com>
---
 drivers/net/ark/ark_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c
index ba25a9d..7130dca 100644
--- a/drivers/net/ark/ark_ethdev.c
+++ b/drivers/net/ark/ark_ethdev.c
@@ -698,7 +698,7 @@ static void eth_ark_macaddr_remove(struct rte_eth_dev *dev,
 	ark_udm_dump_stats(ark->udm.v, "Post stop");
 	ark_udm_dump_perf(ark->udm.v, "Post stop");
 
-	for (i = 0; i < dev->data->nb_tx_queues; i++)
+	for (i = 0; i < dev->data->nb_rx_queues; i++)
 		eth_ark_rx_dump_queue(dev, i, __func__);
 
 	/* Stop the packet checker if it is running */
-- 
1.9.1

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

* Re: [dpdk-dev] [PATCH] net/ark: repair incorrect loop counter
  2017-10-06 18:03 [dpdk-dev] [PATCH] net/ark: repair incorrect loop counter John Miller
@ 2017-10-06 23:47 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-10-06 23:47 UTC (permalink / raw)
  To: John Miller, dev; +Cc: ed.czeck, shepard.siegel

On 10/6/2017 7:03 PM, John Miller wrote:
> Change loop counter that should be based on the number
> of rx queues, not tx queues.  This only affects debug
> output.
> 
> Signed-off-by: John Miller <john.miller@atomicrules.com>

Applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2017-10-06 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-06 18:03 [dpdk-dev] [PATCH] net/ark: repair incorrect loop counter John Miller
2017-10-06 23:47 ` Ferruh Yigit

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