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 325EB4240D; Wed, 18 Jan 2023 15:52:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24FF141101; Wed, 18 Jan 2023 15:52:15 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 7D3624003F for ; Wed, 18 Jan 2023 15:52:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674053532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7Zvyh5rkG1Q8L013ilEKcf972h3NjX+G6NzMcuSqXD4=; b=Ye+TF3EG+7dYSf/YGpJ/W3EqV0pQrOi/TScitxFES2W45dtLE2uhfkH5wuiHLKXrYUbotd HoSsiOSEmkI4Bje17KqxjBMM0A1yVf8y+5j2fJiqg0UAT0z8qAVUI4J7+nT2ALjx5uxKWE E4TJkJpL291QwrBNjlqaKByMEao/GHM= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-12-FxUcytXDOqiEinAQJ1F7KQ-1; Wed, 18 Jan 2023 09:52:11 -0500 X-MC-Unique: FxUcytXDOqiEinAQJ1F7KQ-1 Received: by mail-pl1-f198.google.com with SMTP id j16-20020a170902da9000b00194c056109eso502379plx.18 for ; Wed, 18 Jan 2023 06:52:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7Zvyh5rkG1Q8L013ilEKcf972h3NjX+G6NzMcuSqXD4=; b=MBI1xBHLlmK0oI0ULfdYAdoGmLUDWef1XJTLSARWtcfF3h07Bv+PZYeuS6rUyz3g4F RkV6VUZ0CzmkP2tbb7t5QJEJWFDo9Yl+VyRxkgc12U9TmnK2wY/Ngy+Y8m5HGk6xaG6C 2fcztaw2SvOlYgUy0/nQNIl2kwFmpOpNbjGwVPv8CdsVdIQl5q59m8kdoWXV7HcIQ6vN jn5ktlfEjqrLENK8xQCfaR3tMx1QH3s2N9Izf14AvZXQLv0/WruUMUDWWJg25TEhqxbG /LWxtTyhWfRBC8OrzHZSav2kAenkgQZSneVZIsmV9bDPTxzoMW+yJkuz5vNr7mfQMKC2 747Q== X-Gm-Message-State: AFqh2kr19vDJfygGoq2B8ibq51CSAe02UMD6dDW4N8pOHiwBlR9ch2s4 ufq6sPQNgvLIirOaHz5w6buJjxHoHkTiQs9OVZ6kr2ISLZ8Hyl/Vc7mk+rNU8ooCRKPJcaBDjhx vYt2GxMEtZ63N53GOrVg= X-Received: by 2002:a63:1d4d:0:b0:4ce:20c3:5d95 with SMTP id d13-20020a631d4d000000b004ce20c35d95mr485830pgm.25.1674053530779; Wed, 18 Jan 2023 06:52:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXu93ZolsfpuT7E8UeIIbIhUp9GgkjtPg9QGJUxeVpl2KTlmplUlDEdwIBe81MJvAWUWngF2+R3Z3PyDE0AYB1E= X-Received: by 2002:a63:1d4d:0:b0:4ce:20c3:5d95 with SMTP id d13-20020a631d4d000000b004ce20c35d95mr485827pgm.25.1674053530556; Wed, 18 Jan 2023 06:52:10 -0800 (PST) MIME-Version: 1.0 References: <1670536096-4090-1-git-send-email-roretzla@linux.microsoft.com> In-Reply-To: From: David Marchand Date: Wed, 18 Jan 2023 15:51:59 +0100 Message-ID: Subject: Re: [PATCH] eal: replace lcore direct use of pthread in the EAL To: Tyler Retzlaff Cc: dev@dpdk.org, thomas@monjalon.net X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Wed, Jan 18, 2023 at 12:25 PM David Marchand wrote: > > On Thu, Dec 8, 2022 at 10:48 PM Tyler Retzlaff > wrote: > > > > * Replace the use of pthread_t in struct lcore_config with the EAL > > rte_thread_t type. > > > > * Replace the direct use of pthread_create(), pthread_self() > > pthread_getaffinity_np() and pthread_setaffinity_np(). > > > > Minor tweaks to return value comparisons to align with current DPDK > > style. > > > > Signed-off-by: Tyler Retzlaff > Acked-by: David Marchand Applied, thanks. -- David Marchand