DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] net/ark: fix bug introduced during thread name addition
@ 2021-05-11 20:58 Ed Czeck
  2021-05-11 22:48 ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Ed Czeck @ 2021-05-11 20:58 UTC (permalink / raw)
  To: dev, ferruh.yigit, bruce.richardson
  Cc: fengchengwen, shepard.siegel, john.miller

Fixes: fdefe038eb9b ("net/ark: set generator delay thread name")
Cc: fengchengwen@huawei.com

Signed-off-by: Ed Czeck <ed.czeck@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 6372cf7740..154ccd7069 100644
--- a/drivers/net/ark/ark_ethdev.c
+++ b/drivers/net/ark/ark_ethdev.c
@@ -569,7 +569,7 @@ eth_ark_dev_start(struct rte_eth_dev *dev)
 		 * This is only used for sanity checking with internal generator
 		 */
 		if (rte_ctrl_thread_create(&thread, "ark-delay-pg", NULL,
-					   ark_pktgen_delay_start, ark) != 0) {
+					   ark_pktgen_delay_start, ark->pg)) {
 			ARK_PMD_LOG(ERR, "Could not create pktgen "
 				    "starter thread\n");
 			return -1;
-- 
2.17.1


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

end of thread, other threads:[~2021-05-11 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 20:58 [dpdk-dev] [PATCH 1/2] net/ark: fix bug introduced during thread name addition Ed Czeck
2021-05-11 22:48 ` Ferruh Yigit
2021-05-11 22:50   ` Ferruh Yigit
2021-05-11 23:01     ` Ed Czeck

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