Skip to contentSkip to conversation

net/ark: fix bug introduced during thread name addition

PATCH Applied Ed Czeck 2 participants 4 messages May 11, 2021 Network drivers

lore
Share & tools
lore

Ed Czeck

author
#0 lore raw

PATCH 1/2 net/ark: fix bug introduced during thread name addition

Fixes fdefe038eb9b ("net/ark: set generator delay thread name")
---
 drivers/net/ark/ark_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ark/ark_ethdev.c +1 -1
index 6372cf7740..154ccd7069 100644
@@ -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;
Signature · 1 line
2.17.1
author
#3 lore raw

There is only one patch for this submission. (The second one remains under development).
Thanks,

Quoted 15 lines · Ferruh Yigit
Quoted 11 lines · Ferruh Yigit
Quoted 4 lines · Ed Czeck
Fixes fdefe038eb9b ("net/ark: set generator delay thread name")

Applied to dpdk-next-net/main, thanks.
(changed the patch title and added a commit log, please check)

The patch title is 1/2, is there a missing patch 2/2?