From: Jerin Jacob <jerinjacobk@gmail.com>
To: "Min Hu (Connor)" <humin29@huawei.com>
Cc: dpdk-dev <dev@dpdk.org>, Ferruh Yigit <ferruh.yigit@intel.com>,
Jerin Jacob <jerinj@marvell.com>
Subject: Re: [dpdk-dev] [PATCH 1/2] eventdev: remove redundant setting thread name
Date: Sat, 1 May 2021 18:08:01 +0530 [thread overview]
Message-ID: <CALBAE1MLaGNiynWNB9PUzYUuicdjwQRUz7+ihREGM3mO7w3E6g@mail.gmail.com> (raw)
In-Reply-To: <1619775278-25857-2-git-send-email-humin29@huawei.com>
On Fri, Apr 30, 2021 at 3:04 PM Min Hu (Connor) <humin29@huawei.com> wrote:
>
> From: Chengwen Feng <fengchengwen@huawei.com>
>
> 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 <fengchengwen@huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
> ---
> lib/eventdev/rte_event_eth_rx_adapter.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c
> index ca166a6..d317e89 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:
> --
> 2.7.4
>
next prev parent reply other threads:[~2021-05-01 12:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 9:34 [dpdk-dev] [PATCH 0/2] bugfix for lib eventdev Min Hu (Connor)
2021-04-30 9:34 ` [dpdk-dev] [PATCH 1/2] eventdev: remove redundant setting thread name Min Hu (Connor)
2021-05-01 12:38 ` Jerin Jacob [this message]
2021-04-30 9:34 ` [dpdk-dev] [PATCH 2/2] eventdev: fix memory leakage when create thread fail Min Hu (Connor)
2021-05-01 12:38 ` Jerin Jacob
2021-05-01 14:41 ` Jerin Jacob
2021-04-30 15:35 ` [dpdk-dev] [EXT] [PATCH 0/2] bugfix for lib eventdev Pavan Nikhilesh Bhagavatula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALBAE1MLaGNiynWNB9PUzYUuicdjwQRUz7+ihREGM3mO7w3E6g@mail.gmail.com \
--to=jerinjacobk@gmail.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=humin29@huawei.com \
--cc=jerinj@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).