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 B7A14A0547; Tue, 30 Mar 2021 23:14:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AB3C140F31; Tue, 30 Mar 2021 23:14:06 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id 30F2A140F30 for ; Tue, 30 Mar 2021 23:14:05 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id h25so12639863pgm.3 for ; Tue, 30 Mar 2021 14:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uIxFBdqRLGAU520GcWDG1s7fejsqlTEL7LpYy8iLekE=; b=be5/z1BR6GfloLtyXbE414lr464T2h9c1QJLrRFiD2WQ7D82o5IDy1XL91M8MpyZxI VF1zgujShVOdbEbEOt9wo9ED2QKz3o3fHaUiKEjg4m6esIpkgBq1oF5Ec1JWXCrQe+T9 +3NYxy/Twh9lCCYqoIUF9PwO+X7oGNXGn7HczONsyq/9EJsKpYXxtoz9tdHtxmSn+c50 f217/LWqRfTUqv9uZSP7H0lEaV/9Xo2VCipVy+LPZWczjb7u+EVs+DoPaCECfQJUoi4N IiZlaqTU8Cs3BPSntRFvn7ANRiOh2Kmcd/q2LkL8REfyzUPX/BByW2ZxV5/Jze/kiL7Q 4u8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uIxFBdqRLGAU520GcWDG1s7fejsqlTEL7LpYy8iLekE=; b=iNNTom8sY3Sxfw1J0uHo9RfdE2qc5rqOtrhf9jSyOngpZtdKCIXy9CGCPZb1eAVfgQ usMDA15DL2YF8vSUlea0smhI4tw5s0QblIiPZ0nWVufS/ZSJPtZmqCqjBBNvWp3G+ADP QTuX7zoid5TKKHxNUgDjGGym4pXq3nMLx2RymfU5CTu03Vobu20WVSTwHSeBDaRVCyx+ eDbVuMJf4ynuGOg76cb4/1vebE5RWal5qjZsKSyAN2agYpl5s62KClxs/QBMyvkld0Gu 7TOEL4p6jsnNyM+vYtoZlrrNB7Bccb67xr4M6SIT7vaB8xxTFQ0D2kxF4uorg/lwe+zi Xktw== X-Gm-Message-State: AOAM533jqWrtsURS5aHiJO+IhN2La6H3j/ZWN1hCsksZxEHUGGEGbvh2 CuVAwjJxRmYqLI8XG3pWlXsH2Q== X-Google-Smtp-Source: ABdhPJxRxdVFMl4DQprmudqBu8M2z8VhtF7tPYUJ+4+26wLd9u9EW1iWHNYMmAZsZE8Cg8fw/fThng== X-Received: by 2002:a63:2259:: with SMTP id t25mr64150pgm.395.1617138844367; Tue, 30 Mar 2021 14:14:04 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id 132sm21659816pfu.158.2021.03.30.14.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 14:14:04 -0700 (PDT) Date: Tue, 30 Mar 2021 14:14:01 -0700 From: Stephen Hemminger To: Narcisa Ana Maria Vasile Cc: dev@dpdk.org, thomas@monjalon.net, dmitry.kozliuk@gmail.com, khot@microsoft.com, navasile@microsoft.com, dmitrym@microsoft.com, roretzla@microsoft.com, talshn@nvidia.com, ocardona@microsoft.com, bruce.richardson@intel.com, david.marchand@redhat.com, pallavi.kadam@intel.com Message-ID: <20210330141401.7279aee1@hermes.local> In-Reply-To: <1617057640-24301-3-git-send-email-navasile@linux.microsoft.com> References: <1616802771-31578-10-git-send-email-navasile@linux.microsoft.com> <1617057640-24301-1-git-send-email-navasile@linux.microsoft.com> <1617057640-24301-3-git-send-email-navasile@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 02/10] eal: add thread attributes 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 Mon, 29 Mar 2021 15:40:32 -0700 Narcisa Ana Maria Vasile wrote: > + > +int > +rte_thread_attr_set_priority(rte_thread_attr_t *thread_attr, > + enum rte_thread_priority priority) > +{ > + if (thread_attr == NULL) { > + RTE_LOG(DEBUG, EAL, > + "Unable to set priority attribute, invalid parameter\n"); > + return EINVAL; > + } > + > + thread_attr->priority = priority; > + return 0; > +} For Linux, shouldn't this be ENOTSUPP since not supported.