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 66F48A0350; Wed, 1 Jul 2020 22:24:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 927C41D57E; Wed, 1 Jul 2020 22:24:17 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 3697A1D53F for ; Wed, 1 Jul 2020 22:24:14 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id o1so3771226plk.1 for ; Wed, 01 Jul 2020 13:24:14 -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=TdNNjCwT7lxNMzLIE/8EZU8zsFA4GxHsEZbek+TXv48=; b=zS+k70+UPn4xTDSemY60/gB38TO1xhXU8+gndIrSDWBMn9SqMDwAmcxinwwIE5n1Ww i0UL8IBrBdAYRCQd55/rrIa+k/cri6i7gVExQYEXCGprf13MyXJW/VisrCGL9fPJ7gEU enFZKPpslbrhSS3gUQk+6PqajRXzlJiH28kQFXPZkTCY1+qukXXJ/IJbCVZFTqdyVXCE L3TxWIHXGlUKeyvx8Pdyy3VBNzusgi0Z+31Y//IMvP0ifzkD1w2RWs5jgqhnPitsG+Kt dw9Nx39kR0yj9HrUlUAfwGZXgGr4aWK3wdmECudiS07OrWcown6ZPoQ+WDR5PtZtjaax MMPQ== 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=TdNNjCwT7lxNMzLIE/8EZU8zsFA4GxHsEZbek+TXv48=; b=BvuCquP/hDK7ve98eRyoNhVW4ON7KgNcorTQusyjCIht/7Gxb65BtF9K1y2fxV9+rC KhdgA0Hhv1TO0KTXpcGmpX+4aHv/uxnSCpRkHjEys9Gbn/iMUnzE5sHYWFn4XJ8JYyqn DFsxupq0PcIDeDjC/ndpifBOZfh3FUK8yWo8ZHYTIHHQo6qh9IvbJBMWXxj0TRB21q15 68O/zBWocqhqY1+VZghMAQvozAgVkukj3S0PGY1lMstvmPteJDQZVOCtocNrtV2y8SBk iRNHC//a9NCRr3EIX+3Kgeh/VTBrH8XPSl96GgcZYIJCscCgKz1RLwm+9wc88mMGItpV 3urg== X-Gm-Message-State: AOAM5327dyCMkAxenk9lKBLckmHNs/a9bSKAwkVpnC6L7bPVMF+zqd8F Db95rdqpbm/tc0GJ0nEDpF2y7iTM4aM= X-Google-Smtp-Source: ABdhPJxJnfgWXp4lR2jACvAb6grb3SEiJNgJYp2jg9aaVuKc0+/Xh8Rcif4Jwi864yRlpPKiCuqCEA== X-Received: by 2002:a17:90a:de94:: with SMTP id n20mr19645240pjv.125.1593635052972; Wed, 01 Jul 2020 13:24:12 -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 g8sm6584803pgr.70.2020.07.01.13.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 13:24:12 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 1 Jul 2020 13:23:36 -0700 Message-Id: <20200701202359.17006-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200701202359.17006-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200701202359.17006-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 04/27] librte_power: change reference to rte_master_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" New API name is rte_get_initial_lcore() 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..d54a09b9d6a4 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_initial_lcore() != i) { w->wrk_stats[i].lcore_id = i; set_policy(&w->wrk_stats[i], policy); } -- 2.26.2