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 EF9EFA04C0; Fri, 11 Sep 2020 21:07:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B520D1C113; Fri, 11 Sep 2020 21:07:17 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id AA5C21C0DC for ; Fri, 11 Sep 2020 21:07:14 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id j34so7296404pgi.7 for ; Fri, 11 Sep 2020 12:07: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=ctn2p6pMHEjILDJsbwMxXVE1aLuOND6V9qEV8Dd/wEI=; b=eI9DCPZdVDMvg+7UioQ9UdLyEmftSiX44RmzXunMAtimdjdNEpy/lzcBMviV37wHQ2 E++uUY0bF3tCwKe8Axz0uznv3iefQVZa5CnVqXm3N+NnbIdOIjinxcBww4zzk/9uNBNA by/HSHF9pAZtMo3+v1GpE0+CAGsVV11XrGOCFdPrIyQAafrq89xkjbhvSGN5Fn/2Sg4A rfidmZLIGZm8yAD12lQOV2A9H2lA2r0+zmEP4eSjOUBsrfEv3rJ9zFzDHzgwcZznjuAG /suYkH6S73hvASOS+Z8PABMsHAgzJ7AZ/DAUuY8xzYNZGYAhv1PAINoC/rZf1+fEWDd5 R6sw== 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=ctn2p6pMHEjILDJsbwMxXVE1aLuOND6V9qEV8Dd/wEI=; b=NCvQKA2xVVkTdnDp2dTC1PukbBnu7ACbRVW5FddfpDmimbFpZ0ge6oao4fIvXIFuhp WQiuBI79sZ6b+kmV+idmjB6OhEaO+N9ZdN3J6C/9Q5pPHzDgnji8Ok3ei/BYCQ6Tf8Wf cZ6oCf4eccEhndZ89c09qYMiDmS0c62O9OgY4fEX1e3tctY6aXZVCwehexgM7Mh0betM mXKJLvja3Jar3J51IiYCAyXDtUnUKtlmGb8AVDJ5u3QzwXgVZXG25NkIb16eHYJmk9M3 b/UQEQwT0X6+2nrcPWBCCfP5BL15Yb9WwnbTSSgbE0AlAz5Hw0Err2S4rRdd+xTvjhh/ SfZQ== X-Gm-Message-State: AOAM533GhgsF6lQ55XaOJ5CfYSp538Bm77KqbZxahJ0fsxtp/Homx2P3 c/5JkUMBlpXzwcHzHZ/udBZnsBlv9pAfrA== X-Google-Smtp-Source: ABdhPJxoXnpf2w5BBNQFFxVPmQXj1n4JU/g4a27EPrKCzHpiTEw/A6FoJoLHgS8UtQOKbwgW0HfF6A== X-Received: by 2002:a63:3501:: with SMTP id c1mr2591401pga.435.1599851233407; Fri, 11 Sep 2020 12:07:13 -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 z23sm2979984pfg.220.2020.09.11.12.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 12:07:12 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 11 Sep 2020 12:06:49 -0700 Message-Id: <20200911190701.29171-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200911190701.29171-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 03/15] 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" Don't use old function. 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