From: Chengwen Feng Date: Fri, 30 Apr 2021 09:34:37 +0000 (+0800) Subject: eventdev: remove redundant thread name setting X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0bac9fc7915483500f0e37f1cd66d1b6fa55308b;p=dpdk.git eventdev: remove redundant thread name setting The thread name already set by rte_ctrl_thread_create() API, so remove the call of rte_thread_setname() API. Fixes: 3810ae435783 ("eventdev: add interrupt driven queues to Rx adapter") Cc: stable@dpdk.org Signed-off-by: Chengwen Feng Signed-off-by: Min Hu (Connor) Acked-by: Jerin Jacob --- diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c index ca166a65f2..d317e89c1b 100644 --- a/lib/eventdev/rte_event_eth_rx_adapter.c +++ b/lib/eventdev/rte_event_eth_rx_adapter.c @@ -1432,10 +1432,8 @@ rxa_create_intr_thread(struct rte_event_eth_rx_adapter *rx_adapter) err = rte_ctrl_thread_create(&rx_adapter->rx_intr_thread, thread_name, NULL, rxa_intr_thread, rx_adapter); - if (!err) { - rte_thread_setname(rx_adapter->rx_intr_thread, thread_name); + if (!err) return 0; - } RTE_EDEV_LOG_ERR("Failed to create interrupt thread err = %d\n", err); error: