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 859ADA0350; Sat, 6 Jun 2020 00:59:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3FB281D58A; Sat, 6 Jun 2020 00:59:06 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by dpdk.org (Postfix) with ESMTP id C76801D52B for ; Sat, 6 Jun 2020 00:59:02 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id y17so4259951plb.8 for ; Fri, 05 Jun 2020 15:59:02 -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=2N5C0Jc8cAcuJo2NcGO7wcBeoCTiUxduD4kYG/EJ9KFXYj7Z/3hscadP0j/ZUOGeox uvkLPpShBGmN4E8qgmHWBmUpAJgTL0qj0CnimWTnIELHnPoplrMRPdOKtj1ZHhbO8Rv0 1/1O/eLdcoKXs2x6eIpWD0Z/FC6EzRyEYDOtUI0EatJ0qXs1LEGThqr3t5qe2lbIqzLW nmXLUNR3TpYhhFonaBsKGVdgmaFsvmldJ73TX3H6tGShMhok0rswESaMXEHUKiz738ip C9HjdxSjAKH91NXczXZ4CnZY3UCQvD+AmTy68GXeK5jRB8/tXF3jS2W3hwFzTr+4Biy1 D5jw== 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=mAaFGyaIFnRxHSuXlMrTEVBFrATCqgjCrTgt9l0nqV95Ta3r3USUAi6gGaoCk4NnQQ yYZshGp25mfPQ3rT9gLm9qqs16+EP99ocvPXbEG5VvbkA/2DoWEhzFSWY49NwNDjgITr JxG6wYmG7gCkifz4fZxSlu27r+FjENJaXCboSHkSkAPVnAQ9eIzPbpIXUG1SUkAsvTZI k8TgD+HCMDlsyM7Yi0Ry3AvpVli5ddzzaey7mTnspiRm9k23Tzpb6ewTDOxGNW5iW76h YTLMp1xaXamhFsO3hefp2aDPQlSKEG9OjwG11BSSbfK6d6VeDMsmWasNTPa+TquIRgus NUqg== X-Gm-Message-State: AOAM532sHjMIsux1lpjKD00u66Bg3VldGOhFY1o6nzsxTv27+jaEySp5 wQyILRfYb0AfZSDbQ2Idh16O5q8GGEM= X-Google-Smtp-Source: ABdhPJygY82R85g2EKDD1o/Wdc269LdT2Dp4XzmgP3SCsuDXB3Uz5oUzKg5LPeE5bNickRrD2cakpA== X-Received: by 2002:a17:90a:17e1:: with SMTP id q88mr5148674pja.187.1591397941263; Fri, 05 Jun 2020 15:59:01 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id j186sm543121pfb.220.2020.06.05.15.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 15:59:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 5 Jun 2020 15:57:49 -0700 Message-Id: <20200605225811.26342-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200605225811.26342-1-stephen@networkplumber.org> References: <20200604210200.25405-1-stephen@networkplumber.org> <20200605225811.26342-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC v2 04/26] 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