Skip to content

Commit

Permalink
eventdev: remove redundant thread name setting
Browse files Browse the repository at this point in the history
[ upstream commit 0bac9fc ]

The thread name already set by rte_ctrl_thread_create() API, so remove
the call of rte_thread_setname() API.

Fixes: 3810ae4 ("eventdev: add interrupt driven queues to Rx adapter")

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
  • Loading branch information
fengchengwen authored and steevenlee committed Jun 8, 2021
1 parent d173cc8 commit 78dfdbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/librte_eventdev/rte_event_eth_rx_adapter.c
Expand Up @@ -1284,10 +1284,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:
Expand Down

0 comments on commit 78dfdbc

Please sign in to comment.