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 69C96A04FF; Tue, 24 May 2022 13:08:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C62242685; Tue, 24 May 2022 13:08:42 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 1D26740140 for ; Tue, 24 May 2022 13:08:40 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id D74F720B71D5; Tue, 24 May 2022 04:08:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D74F720B71D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1653390518; bh=3KCYFWmpnEfC97yKF1mbwnEDQGUFnu7Lj51BnkH7o2E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pLYrn+1yDto9u6VP71kDd8kmvnE9J57GkV0xHV+f96Iu3iEknD4OwHs3ctZSf+ncl zTJ4y+5Vc+opNORjlwmyT8di9ZSOe4znvx9kC/1OfQxOfwjjvRE/4pKMaO43gVKurA PT007hlMUyHjJm1m/zsh8LBFZ8tybcM6J9xtr1a0= From: Tyler Retzlaff To: dev@dpdk.org Cc: thomas@monjalon.net, dmitry.kozliuk@gmail.com, anatoly.burakov@intel.com, Tyler Retzlaff Subject: [PATCH v3 0/2] add thread priority accessors Date: Tue, 24 May 2022 04:08:35 -0700 Message-Id: <1653390517-4033-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1653302773-11043-1-git-send-email-roretzla@linux.microsoft.com> References: <1653302773-11043-1-git-send-email-roretzla@linux.microsoft.com> 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 this series introduces accessors for get and set of thread priority based on original patches from Narcisa Vasile. v3: * synchronize exit of thread_main to maintain thread life for duration of affinity and priority tests. * fix test check of errno return value should be non-negative ENOTSUP instead of -ENOTSUP v2: * fix typo in test assert string mistmatch -> mismatch * add new experimental exports names to lib/eal/version.map Tyler Retzlaff (2): eal: get/set thread priority per thread identifier test/threads: add unit test for get set priority app/test/test_threads.c | 57 +++++++++++++++++++ lib/eal/include/rte_thread.h | 50 +++++++++++++++++ lib/eal/unix/rte_thread.c | 101 +++++++++++++++++++++++++++++++++ lib/eal/version.map | 2 + lib/eal/windows/rte_thread.c | 130 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 340 insertions(+) -- 1.8.3.1