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 ED2C2A04B7; Tue, 13 Oct 2020 17:28:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF7B11DD20; Tue, 13 Oct 2020 17:26:46 +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 3AA8F1DCE3 for ; Tue, 13 Oct 2020 17:26:45 +0200 (CEST) Received: by mail-pj1-f66.google.com with SMTP id j8so29174pjy.5 for ; Tue, 13 Oct 2020 08:26:45 -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=lTMbvmB2tw7tqyc9+cp2q1DIVoJPUaS3twD/CBljrqfgRKhxOXeL2XNaz+DgMcnLj+ 6ErHVcRRjMUYfjHTc7lm2s0FZVmgOfEo6yEMUwbsQp7XdNEwfsR3tKGK+WI+LctbUI08 hfYINcsq9h9FHn+W0Ub4eErHkCsHW2QStdhajzqLIZp/4NYsyAd1gDKsBnGjREjFMiww KVrxA3CcqsAgqj7hECSGp5modnMsN/O5SVfhRATic+79ehz7tEFe1iBLPnO2RRZQx62G 2tHllEacMu//xgpDORsYECCvVxeY6UEa4UUUFqE1kn0Yiwpcru9bY1UL7beiNVyuZ7wM PhsA== 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=W2r1XqUNqhOLQacK5eRZhDmXrQt67pcpGEBgVUOKF85q5bG5lIkMltnmLiFWXbQnQi NjmSRhxB7tu6DeQ3l3gGq4bMnEfOGLhwbOfuq6afS8Ll8aT7NFBke/sJlacbcIv4Jy5E f018wI0Fwpcw6LkYw72S/dooiG9YsXK+5lD+2akXN6CaLgLqrGoZvogebD4nTv0ekmka JQkZLxn1mgCsdNtAmzpeB+7lNGOR0kwoDzgrw1R3IJaDpSDnjmmIUESTenreyN00urHJ 5EmnLNSAxDgnT2pSFtGwoi2pNngGJooLTSL7kxYBHHC05zS+5nfxYOD/HI02VvcPly4+ 1aIw== X-Gm-Message-State: AOAM532g0ZkxgPZRoKOdXoRqPZHozimrcAmZcaEZZsdw+krRSd20lT2R b/4FfpXKlS82+PfU/jDsN+7arrN4ycsewQ== X-Google-Smtp-Source: ABdhPJxh72GgHWKwhBBBYWHTpkwLX+ATypNdE6JGXB6PNqo41l8bpVOTucbtihq47XV6wAQ/APhxng== X-Received: by 2002:a17:90a:ee87:: with SMTP id i7mr246900pjz.25.1602602802158; Tue, 13 Oct 2020 08:26:42 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z12sm23815233pfr.197.2020.10.13.08.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 08:26:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov , David Hunt Date: Tue, 13 Oct 2020 08:25:56 -0700 Message-Id: <20201013152610.2589-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201013152610.2589-1-stephen@networkplumber.org> References: <20200914182002.6750-1-stephen@networkplumber.org> <20201013152610.2589-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 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