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 2B40D4240D; Wed, 18 Jan 2023 12:26:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D045C400D6; Wed, 18 Jan 2023 12:26:15 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 5666A4003F for ; Wed, 18 Jan 2023 12:26:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674041173; 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=qgLzQfWPJVr0FaI5ow8nx7gt3INwQjVs6LBywW3oT9Q=; b=fLZ/jJGlZdao3k2fso92a/t0yQllM+sOtPPBceG0Xbm8L9BLQnWXXn3LzqVnd0nFFEzbjo onup+HKDiXki4v6PhMyYEwlOswYwzZsGJiO4KBB5wH4/Z4J4xagy4Hhs9tT9AM6au6kC9K Zw89u6yvHqpyOZCugtFGrbGnTJj1qas= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-609-aWi3hgbxM0iVOh3MfMJoAQ-1; Wed, 18 Jan 2023 06:26:12 -0500 X-MC-Unique: aWi3hgbxM0iVOh3MfMJoAQ-1 Received: by mail-pj1-f72.google.com with SMTP id g20-20020a17090adb1400b0022941a246aaso4570710pjv.0 for ; Wed, 18 Jan 2023 03:26:12 -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=qgLzQfWPJVr0FaI5ow8nx7gt3INwQjVs6LBywW3oT9Q=; b=UvXoIXGGspr73TfH0kLBZnpoYgqsLDMmR5dJGdxlyhvRua9l4uBmjLv1ffh2T2jThx u4q6eE1JUwC8T4j0yST9QWNE7RUNhV/s8WVxVwfW00BXwBMiNgZYq7YRavkxMPGuJnnG xLRg6bYWTKsx8XDM9qFXfwKF2+JAMsTO65x4Zb6d36jJnLdAyhFVPe7SymtjHkZmcNvF d986slFia43f50XH20HaI3IsgSdvswq8MwV+tQdtGpEtmdB3Pi2iZ32joxI1VM4t6VhE Gja43WSRVZqsPwxsztzVHvqwhJ1n5i3JLSB510WSSJcFgccdOls5yD3MNzqKP4Z2nDBb yrmA== X-Gm-Message-State: AFqh2koXavofdHQYE2YwBS0mQY7UOvvMncm1aNYpLBTboWPOkw2VZJku Qv1Bo1nWZxovqiaoYleEm0E5tbZWegQAeQ2KDGkRwFrmRn7a6lkwmd8IWF7T+6gLLX6ixNXy20X Zq0v1G7cn12bIeLbfKqE= X-Received: by 2002:a63:1d4d:0:b0:4ce:20c3:5d95 with SMTP id d13-20020a631d4d000000b004ce20c35d95mr433407pgm.25.1674041171255; Wed, 18 Jan 2023 03:26:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXvcVxBdw6CEcFI+MusJOL2Ozp200BOMaF6XlMwRl2vtJA8ach4YUdXLN41s1PdyTqYHDpJrNlBliihz1FWjD6I= X-Received: by 2002:a63:1d4d:0:b0:4ce:20c3:5d95 with SMTP id d13-20020a631d4d000000b004ce20c35d95mr433404pgm.25.1674041170891; Wed, 18 Jan 2023 03:26:10 -0800 (PST) MIME-Version: 1.0 References: <1670536096-4090-1-git-send-email-roretzla@linux.microsoft.com> In-Reply-To: <1670536096-4090-1-git-send-email-roretzla@linux.microsoft.com> From: David Marchand Date: Wed, 18 Jan 2023 12:25: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 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 -- David Marchand