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 25FC7A0350; Wed, 1 Jul 2020 21:47:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4ADFA1C28F; Wed, 1 Jul 2020 21:47:09 +0200 (CEST) Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) by dpdk.org (Postfix) with ESMTP id 21B721C1EB for ; Wed, 1 Jul 2020 21:47:06 +0200 (CEST) Received: by mail-pj1-f68.google.com with SMTP id o22so6402567pjw.2 for ; Wed, 01 Jul 2020 12:47:06 -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=Aftf7QVio8JYa3fOHSwS5KuOsbs5t4UmiqQX/yvzGWBk2KeEDer54xg7ATOoa9YO4S VGjqt2c7Pla6LaNn0/uRPKLInzUA3RuVPcIHhsnt+Qy56LhTeKmfBQBbn+G/lgYOgISw z/7O1PkNgBl87nm+nuZ8Ovn1U7ASaHyFOjGeTy56w59L+/AHzljxs8NXlxggoLPNuSQw xRyEjPZh13NiJFov3JQER4T5SB8cdpYsvEGmfJCUguRA4kXZgry5DI+8uXqEguLSaTKb 2Ah4QgMjzbi4qyck5Ka12jR7HOPKlJ8mjGNm6empwHryj06+BrzIO6imxkr499ikhW6A 5txg== 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=TKkLu1w5PDLrAfsIdMU+LdtP9ji3h6U+30g49VYoDHe3XhJpqvClAUxJD/citweTVJ LddlImZGcgM0gfipTLumTjVTpFk5ta5XYeOlYz4G7bsJrt6f4GMq94Hn1nTT03Cxm5GP tyapVEuAJmtJF0n9qWOf+YQe63+mDDyRtcZOyLtZkVTWWPDV1fYK19hlWOPIzZhlewCJ c+kA9fcaPZrdOkWyVxMvHHLTMk4061nsfsdJsAeU22uawUY+/aY3cM7wJMsmDUwatv0E 5QZG6WvIK5H3luX4UC7J/kXUq7s22qZIG7Rhzr2AE3hujOUon+q+XG4nna5LkZOpA2G9 XJuQ== X-Gm-Message-State: AOAM533fzYxXhY9s4lRtpBB0VuRsjpzVrSx89dnqjxUVOek4u0tWB5Co c5aFGALJouvHmLh2zxoGBhD++5eIWWM= X-Google-Smtp-Source: ABdhPJwCfpnumg9rlRbRjldh/F11oiVhAbQEMlAbyzus9rinF8XrHsYIJ5A0VVFqumCOYY9ym648Zw== X-Received: by 2002:a17:90a:d998:: with SMTP id d24mr28553472pjv.43.1593632825011; Wed, 01 Jul 2020 12:47:05 -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 n14sm6501870pgd.78.2020.07.01.12.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 12:47:04 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 1 Jul 2020 12:46:27 -0700 Message-Id: <20200701194650.10705-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200701194650.10705-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200701194650.10705-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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