From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A2A5DA04BC; Fri, 9 Oct 2020 23:40:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6C3E1D5A5; Fri, 9 Oct 2020 23:39:15 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 32AF81D57D for ; Fri, 9 Oct 2020 23:39:10 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id y20so5071691pll.12 for ; Fri, 09 Oct 2020 14:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w3gRx5UVTgamGGSbK+SwFMLGiFb3+w1CbWFGMsNNjmk=; b=n4YFp0EQkOBIMH1t5iVksav/dy6ogCSGRlY+juwsRzYC3IAjRLJ51wX6YYOlyS4+rO sD9o7Bqt42j9j/hgZsHXrltQL3ifbG6Q85mkfx7mVBPXxAsSRFIwIcPN/jANXPspu06N A3RfuHrvVDxVDRoj3+/UWaQIQb7AYDTXGZswSfcBaegK9ucxTIrRJb/SiPZxPQA19yUT O/6+OKdt6Cdx0aDZ+/D3M8fEU/RPkOu1kGso4CldEfo2w2xkweuGCYwD570QrMTWtxkH V/JOo+ZsJZTxbyEwmo//a+IAoNnr88PtY7lH69ktpFsgXNBQfWsyyXq54PL7UH142L+U ujzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w3gRx5UVTgamGGSbK+SwFMLGiFb3+w1CbWFGMsNNjmk=; b=SZdT+797UF/SJDjXd2veOtRLg/tAd9YQxCTacFV1/SXBUyQapQgv1rsrU6qxG3N+pE d/s74Jv8IBZBGapYBeYdBKTZfboZtnOUtYcHUB9OA60NGgqsdmnADMq2qNi/teDyQa7R ydHSx2TEYDAdaYJt6qVK/hBXDRzEhUzWEiLZDpg0TPF5PNttxsnG3VMY0aE1XDkiDg34 FPJjsfL5HBvbXBHOKg+kaEHm+1hDY/wJryqoUbhstG4u43wUvE0BiDDAB+ti+lSLi4VE xuBWdsQ+34rqXOAGEVzhNbtd6XEK8oO+rc5ReSIskLyTM6dQs7J3+ZBXEj0t3iQFes5F eQ5w== X-Gm-Message-State: AOAM531mBrOJ06upP2HF3MSQU5WoF3HdAwsjFfgEUIpJiiWNaKIu4FnB kelpTV9HT8vCiVZIdpXTPW0jeycQ9Mw7tQ== X-Google-Smtp-Source: ABdhPJzLHJo2BK1xOAZ0NHr7E3Ltz9mylyg6usIihfq2fbKEl2NOID/E0F022Cd7lzfmzhXoEcQieA== X-Received: by 2002:a17:902:a5ca:b029:d3:7d11:2a80 with SMTP id t10-20020a170902a5cab02900d37d112a80mr13370691plq.58.1602279547973; Fri, 09 Oct 2020 14:39:07 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x18sm12173381pfj.90.2020.10.09.14.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Oct 2020 14:39:07 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov Date: Fri, 9 Oct 2020 14:38:42 -0700 Message-Id: <20201009213855.17933-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201009213855.17933-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20201009213855.17933-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 04/17] rte_power: replace rte_master_lcore with rte_main_lcore X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" The old rte_master_lcore is now replaced by rte_main_lcore. Acked-by: Anatoly Burakov Signed-off-by: Stephen Hemminger --- lib/librte_power/rte_power_empty_poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_power/rte_power_empty_poll.c b/lib/librte_power/rte_power_empty_poll.c index 70c07b1533f3..975aa9299799 100644 --- a/lib/librte_power/rte_power_empty_poll.c +++ b/lib/librte_power/rte_power_empty_poll.c @@ -452,7 +452,7 @@ rte_power_empty_poll_stat_init(struct ep_params **eptr, uint8_t *freq_tlb, if (get_freq_index(LOW) > total_avail_freqs[i]) return -1; - if (rte_get_master_lcore() != i) { + if (rte_get_main_lcore() != i) { w->wrk_stats[i].lcore_id = i; set_policy(&w->wrk_stats[i], policy); } -- 2.27.0