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 641A7A055B; Thu, 20 Oct 2022 13:20:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A18042D40; Thu, 20 Oct 2022 13:20:57 +0200 (CEST) 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 9C49342D3F for ; Thu, 20 Oct 2022 13:20:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666264855; 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=1ipBz2cy8GxsEiGCskPZ3tfWUtLLFa8iUV4TiMyhHXc=; b=ePoKlHpJznTlyvgRLAbKCVCbxeXajmlU5LzdSXzi9i802SyML6y93gc9eYp3aVSwMOGVWN C8WG+ntxy9ZaCRi9jq34n2SWylQRrVeqOCiVNDG0ZTeISUCrY8kvyjXImObIxYOXQXIg48 eGFfmvles8HXLd2IXoNph5Wtdz7oqvI= Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-392-tTsGlOziMSGEnoLvqAuw1A-1; Thu, 20 Oct 2022 07:20:54 -0400 X-MC-Unique: tTsGlOziMSGEnoLvqAuw1A-1 Received: by mail-pl1-f200.google.com with SMTP id j7-20020a170902da8700b0018540711393so12103580plx.18 for ; Thu, 20 Oct 2022 04:20:53 -0700 (PDT) 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=1ipBz2cy8GxsEiGCskPZ3tfWUtLLFa8iUV4TiMyhHXc=; b=Be6adRsWoLPyDsbwiByIsTH/wu13W/6gNHRfx+6hf/I4Qcn1z/bodc8OkVG1zdwzn4 d+ivN8W3vBCjQkPjCQa/ls91UTMjNv/U9J31trSe/BpPARgVrzoaQEOzZ8IFFu++38sh bgUVZFREvbv9P5v1/7Khobww/bieqhh5nRutals0Oo7KeamICGDwaVqi89dR579Bzmc2 1IUTe+/CJxxQJgLdXMlqpOuHvxY2uxAww6qCx5fpJyxDt/KAEWt+elAKk8P2AMWdXMei J4DoqeWu6HA1Vg0jQsCrjQi9Js6a6/e/j/nfmFVknJKdvQwsm2oYroJP+UJ2wdv9td6g qzlw== X-Gm-Message-State: ACrzQf3jfkrzlZXpNUBfUNKhChXoaoqDvCypffTEq3j/xWpLbGwVIgov 6oxGs3iS67eeJdqZNzCs84jCq1HUulMmsOdXBWmD1TfqF3PKlELgCjSzKcj+WjPiyd36XdGDZ4C 5jdOir5DeF/jvb3ENKYk= X-Received: by 2002:a05:6a00:4c84:b0:562:ed08:599a with SMTP id eb4-20020a056a004c8400b00562ed08599amr13633487pfb.64.1666264853000; Thu, 20 Oct 2022 04:20:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6YLGU1YQeaf/zhl/gvAmMNSC+cA9lD99J3I68kowmdv0gLgtaDHCKDeKjMBiQjXjuKaovGz6zY1HdUevLAVYA= X-Received: by 2002:a05:6a00:4c84:b0:562:ed08:599a with SMTP id eb4-20020a056a004c8400b00562ed08599amr13633466pfb.64.1666264852721; Thu, 20 Oct 2022 04:20:52 -0700 (PDT) MIME-Version: 1.0 References: <20221014062100.5761-1-markus.theil@tu-ilmenau.de> <20221014075421.10300-1-markus.theil@tu-ilmenau.de> In-Reply-To: <20221014075421.10300-1-markus.theil@tu-ilmenau.de> From: David Marchand Date: Thu, 20 Oct 2022 13:20:40 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] eal: expose lcore pthread id To: Markus Theil Cc: dev@dpdk.org, Michael Pfeiffer , Tyler Retzlaff 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 Fri, Oct 14, 2022 at 9:54 AM Markus Theil wrote: > > From: Michael Pfeiffer > > Also expose the pthread id of each lcore, in > order to allow modification of pthread attributes, > for example use rte_thread_setname without executing > pthread_self() on the maybe already running lcore. > > The rte_lcore_to_thread_id function is added to API. > > Signed-off-by: Michael Pfeiffer We are trying to abstract the use of pthread in DPDK API. So I don't think this patch is going in the right direction. Cc: Tyler. -- David Marchand