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 242FBA04DB; Fri, 16 Oct 2020 00:59:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9D0EC1E4AE; Fri, 16 Oct 2020 00:57:58 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id E5F511E49E for ; Fri, 16 Oct 2020 00:57:53 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id y14so305444pfp.13 for ; Thu, 15 Oct 2020 15:57:53 -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=mfiVAODrCS5cLfoHTOeIB7QIlcijVq7nc10CJ5p50l8k1VYVj7enQFeazR0SeZHTyP W18OXm7FG2oMfE6RypCx3WrAl1yPPmFCip0mYmyUMEgbDOQuq76JdHOA3spw0Lo0pkxH V3FjFnv0swXlJ/nog7O9icUXJkV7LpiN/SKCCrpN0+texa/8zHf9042h54NyrFLdWiIr 2PKf5KrZdSt5R9/Doq24OLb/AZxSMOX53/c72tMn1laOqPt/1JOpHDo9PVNcZZRWwUBc 0iva5uVa5uy9VIegy8K9Z75eWIc6Yh3YgbePYxDSTHajFycMQSmdjn6GHzgHCMTLmAy8 nv0w== 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=chIpMYcgV5JTJBnFpYr5gVSpCDOmn28MqytqWJ2vBSlLFMPXKWns5+S9WbbwowO9eU jMILf6cjxqYDWs2UO8pJ+yWgL5M0LvVlBBLHMPz/gZemSy/qSYJ6DapH/ktqkJTeHiHV zynlz0/cKR7TauUaaV0cLpixCgKFGprS9h3DRYB9HhtyOeMSTHzmOTYYkLuaM4AbS9Iq 5WH8HwV6OlLGXxLQhztWyFGfeZU9883GBqPB545YHLv/ByVIIuMyqkcDPh6Mj065INmv 4adt1NjmIelkR+R/21UnBNqmkSHN2BJcg5MP5EEb7qn0u7N/MGQGX8OtBTHBHd7M71sB s/7g== X-Gm-Message-State: AOAM532937trJBGjLCp77G/CCxuLDVa9doRfTXcE75RP0VNMi2vg/WWa rOW753uaxe6ReXdcbOJwaW998zb3QUH7mA== X-Google-Smtp-Source: ABdhPJwMrxeRHrttqT3HyFu64z3x7wOicDvP1eYKs1XOAQ+820PZbHdtzIlsnZRLhz7vIoa+GH6QxQ== X-Received: by 2002:a05:6a00:16c7:b029:152:54b8:ee32 with SMTP id l7-20020a056a0016c7b029015254b8ee32mr840407pfc.76.1602802670213; Thu, 15 Oct 2020 15:57:50 -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 x4sm324055pfm.86.2020.10.15.15.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:57:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov Date: Thu, 15 Oct 2020 15:57:20 -0700 Message-Id: <20201015225736.12167-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201015225736.12167-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20201015225736.12167-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v7 04/20] 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