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 6A260A04B7; Wed, 14 Oct 2020 17:29:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9539F1DE6A; Wed, 14 Oct 2020 17:28:11 +0200 (CEST) Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by dpdk.org (Postfix) with ESMTP id 10C3B1DDF8 for ; Wed, 14 Oct 2020 17:28:06 +0200 (CEST) Received: by mail-pj1-f66.google.com with SMTP id u3so935pjr.3 for ; Wed, 14 Oct 2020 08:28: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=w3gRx5UVTgamGGSbK+SwFMLGiFb3+w1CbWFGMsNNjmk=; b=bhYg5ivmLnNxRnz1lks5qahi/g+0ZNazVnx3O4LTG4A/IC+A9UvaAt89Pd7AOKZ3kI Spwtic/j1jzDXwadv/KJISI5ehh76N/QayJValr0jBQlWSXjZ83s3YvBRIryvK5Yalaw xPSe3APtqid85iLg0oIToNtmR98jll5DW0rIsyIh+0nutnKkeKPMMRdl0fENJKxFY3MY S+nzZ/jgK08m3y0zx2KE5mBJMws8EK+BC1awZx3kqyRcsf7eYvl88ucgPTeJBAay7hca JobLWpcEIxRvlet6Ool9c499lcyLpFNPeF8CLVuExq3mgx7xLR9JVG/uJsSFpqUMWN77 Mp8Q== 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=TTJkQHyBMcQh5z11csWwfk07UTPCn/lYzB4D7zI3/Tx+k/0ZgBCQEJG2NtSBdVcy2l Ey4U/gff0icfuBklMY4VH5sfAGfMKbHvpwTxHTdoaoWTsAo28OdoNVqwfutghwi5HCU7 BTi9+VGfY1AuhNK+YU3t0kpHCM7A534MWWFyNV6HVitIhSgI7f/Nl+iztummv6Jk8A1F I4TIhak/0YXl9XOy3bbkeu5h0dHa3wLfqwN5/o9EAmA4C0tym8HA8ANZ8DaBKpKPKDX7 05MmjHJqbP/5PCacrgIvQwtXx1DCXtmyP468TOFpZ5hSiP+8ci+8REZOGbBHOV/I+9y3 rhnA== X-Gm-Message-State: AOAM5309e04+WGHnKPvTU5oq7eLIN3vz/kYt8YVWoXwJ77n84Uo5bMAg QiVxyniFIxmlnOWxWh3gvsFFNrBYUNiYTA== X-Google-Smtp-Source: ABdhPJwPHVG4y8pH0bW7zHYiOpLE2Nc9LljjBJco3VTNTJ/MILR7aE8tN4yY77EfFWqhuLis1eYquQ== X-Received: by 2002:a17:902:23:b029:d5:b88a:c782 with SMTP id 32-20020a1709020023b02900d5b88ac782mr435252pla.5.1602689284984; Wed, 14 Oct 2020 08:28:04 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id j11sm3653457pfh.143.2020.10.14.08.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 08:28:04 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov Date: Wed, 14 Oct 2020 08:27:42 -0700 Message-Id: <20201014152756.6518-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201014152756.6518-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20201014152756.6518-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v6 04/18] 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