From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ECF03A0546; Sat, 1 May 2021 14:38:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A2524014F; Sat, 1 May 2021 14:38:19 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 197CB4013F for ; Sat, 1 May 2021 14:38:18 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id t13so494071pji.4 for ; Sat, 01 May 2021 05:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=405VbU29nGSnG9wruNVCLb+kIAZGOzsnQr6hh1TEXiQ=; b=SGYwdQp2Xm9wWX8b5Va7CLVz+ePAOzRAVKjn8vu7zYL9Y2JAoZ3QYVG+smEdeYDjGD bMzkBLHi8NN7JqKkkgwjgPEimOtR4II9COvqnI2Jnm0mNLzS6IwRxSGiDXiZKf+z7AXb PMWL8OQBxmkGs9s4zel/+88GY4SYDvBuvfWFqp/J66NFj2NOEQ21skHg+6wkT9BTn+hW kTzlKrNxcmOZkYGLgoBhOpzz+am3Q8L0/6isKQH4mctAZdn/GzkdHdYOuE73viBhqT+9 8BYq+ZOb/EiY+uCUW82VDG2pXXUO7IrkzsApenXiTGbJCohThhnVJcZIbw51Dr/2icPK MTrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=405VbU29nGSnG9wruNVCLb+kIAZGOzsnQr6hh1TEXiQ=; b=Z+pMmtpZkcfGG0jY9yv2DEJSckqUyWNx0cHL0gLlz9osDfjl6o10tRPEPTLB6tE5Lp 7uQVEjk5gPitFqJVo90ASj/idTdMVf1E11pnN7y1PNJpuLp6AvLJyYRLn7V2Hv5qmN7b WKeK76EZnliwrxFmXPqHoYGSmxxVVpHe8IWtjlunsGuhMIF/UeU7hCD4hSduNjpyya5c ZFg4O8GJJQ6AyY9Cn/Kf2VHEDhxOOCqYVoSqmFl95RebzBB/JAyiTnsWpcxUyTsvJoSh T76m+Z+2rp8ExndDe2vtxVNaRO4VYRqelP09U1r4mS3gXnyI6Z+nic5tQ3BExO4/ziPL V6UQ== X-Gm-Message-State: AOAM532dGyge5mzRkyC+6G8HGse7QXqJQsEWaWa2a9/a1WZhEeSmJy4V prUEkxpjgV8rppRKG/jZdg05HLwZb3OAyxEdxWM= X-Google-Smtp-Source: ABdhPJzDPEPpIE6rSqSGK8geWBVABkNomh4hM0TGSVRw/kqdmT/GBkrLfr8hq9nfqluyqwr0EOqFWdbsvw1NM8/tE+s= X-Received: by 2002:a17:902:b705:b029:e6:f027:adf8 with SMTP id d5-20020a170902b705b02900e6f027adf8mr10476442pls.72.1619872697137; Sat, 01 May 2021 05:38:17 -0700 (PDT) MIME-Version: 1.0 References: <1619775278-25857-1-git-send-email-humin29@huawei.com> <1619775278-25857-2-git-send-email-humin29@huawei.com> In-Reply-To: <1619775278-25857-2-git-send-email-humin29@huawei.com> From: Jerin Jacob Date: Sat, 1 May 2021 18:08:01 +0530 Message-ID: To: "Min Hu (Connor)" Cc: dpdk-dev , Ferruh Yigit , Jerin Jacob Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 1/2] eventdev: remove redundant setting thread name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Apr 30, 2021 at 3:04 PM Min Hu (Connor) wrote: > > From: Chengwen Feng > > 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) Reviewed-by: Jerin Jacob > --- > 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 >