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 5159FA04C7; Mon, 14 Sep 2020 20:20:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 51FA31C0DC; Mon, 14 Sep 2020 20:20:19 +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 B44181C0D1 for ; Mon, 14 Sep 2020 20:20:16 +0200 (CEST) Received: by mail-pj1-f68.google.com with SMTP id u3so282820pjr.3 for ; Mon, 14 Sep 2020 11:20:16 -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=c9NyUsAVnDKdbgQGroTQPyrKfnHhB1a8v2cckNTQVZU=; b=ZQeoGypYDobXwO3mzuwibbQZCyiXSgRq7gP0KQ1zc13+jLnjwUcIkppVK6JdsSrSPS S60iJGdI4Oc/wYnRBwdf+wfcvdQd4LJfoax25B6YJGTwW3e9MMssnVOmoGp9/JPk06R1 ylXlcEWRO2Dh0PWGEvK1nXkYSBBd/BH5bupiB3lturzB1GdrrOoc7Hp5c2p0i3u0BRpv ttQJWbxBUBJll0ul+/TwctQj4aE50fasuPOIuB+R+xBImW/hDnEbtbs8b/gvndRCGHg7 cjYvK7BaplPGodSL90YQCrsrEqLDuz8AdcTN7QCT/mEi2dROAOLWUYerAxv5/I+7sy8Q DHog== 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=c9NyUsAVnDKdbgQGroTQPyrKfnHhB1a8v2cckNTQVZU=; b=O96wQ7FaWpluJX/opJUqLsNiyD3tiLvQFYMpg9XMyXqCssPj0jj6GxJZgHmaxHE9fY BASLD8QMXXUhBHi7b4vcCGQuRn8Rz6zy/ljRLMBYOUPHFtZZsZ2vX3Hfo5FRFhBOfUQV IXQx4T/9toLC4YULXfdgWWxSe8bkrLg5O3D5FmIjxwAWOESgGDgRpDsVSbMQy/HChJy0 3q2MM5b4gAhoRzhqtDEBpI8GCqaInMGAqs6Dg+B5I3EQ7DJYfxxL7u9eERwO6uEMRchT 04/6PPpXbULQuP7XytJSz/ym6INj+HUJFu+Fet7d5BMdVQ7D31sIYzZc+60LBn7GN0W9 h5HQ== X-Gm-Message-State: AOAM530rPAeJHOLA/TnF4/WwJVmaECOiFh/IWXhazZ/X6YUporkgsDoT Uf61rT0UrP86UWmACHUFNRYGmg8bXGSGmQ== X-Google-Smtp-Source: ABdhPJwG7zSBLazfyvkRIUglDX4kyAQlm5J+dUfcKvD0gG/0sH/p+VAQhtwKFUBOu9DewnPemEIaMA== X-Received: by 2002:a17:90a:380a:: with SMTP id w10mr555700pjb.23.1600107615579; Mon, 14 Sep 2020 11:20:15 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id u6sm9952728pjy.37.2020.09.14.11.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 11:20:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 14 Sep 2020 11:19:49 -0700 Message-Id: <20200914182002.6750-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200914182002.6750-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20200914182002.6750-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 04/17] 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_mail_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..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