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 C6CB8A04C7; Tue, 15 Sep 2020 17:43:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A36CA1C10D; Tue, 15 Sep 2020 17:43:01 +0200 (CEST) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 9273A1BF59 for ; Tue, 15 Sep 2020 17:43:00 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id o20so2139830pfp.11 for ; Tue, 15 Sep 2020 08:43:00 -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=1PO7DgkdMnNupzOp4BcBehcYzim93M6nMPagqnV+hSc1woPcsc/ggLbx9luuZ86XDG Rmxck+dPOSacwUbBw/9VTny6lCjeMn1XF3qKNnwEhM7KhhmD2m2kLtSe1I87HCemetDT XPhGmguEd/+dsE3reJ4MPcASjaWRQCjcQpjGD3adh+YxqqTUF36s7qNePoAYA8/YTpGi ulTKeLwNUTfRRcETMr7Gf8D6zmIEE3GTYMMg6nfYPiKmlEadWSc6aplfCmV32R6HUSW7 b5lOf2ApGRMGJZHC+7G9WJneBYAvphr8oaaOzFCJYME5t8I5ZCq7MRqFPHP9CvaYiJ2f ElIw== 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=B+gbllflaK2R27dBCwQ99SM9QNFNk25ZAkKwsLhlzT42xKXj+e/Ewf078DrCql9d5S HEgMT/rgz9PE8gcXox8VtECzB9UZNEj++aSChjKFhy1PmTJORQeGE2vmQwHzBg5hQepL HD+vcpnrj7c3O4ewPSNEM73tU6ELP7+DF471IlPSDGZAHXYre3bND8hNp/rOoHtFEiIn BclhhmRf27i0PmuysYbrbYprO8Bj8pr++wt5sDOk0OWXbpRV+v2EPVJ0S4D9/mrYLs2y JrqQ9jJFG0KTBPmfLHAKDS3xPZiLcRMsn5C/pgDBTQf5aCP8UIUZnjinKM5/9EI7QGQ+ Y+0A== X-Gm-Message-State: AOAM532Jn9YzGbwBfh6vuAEb11F7tKISF4QA6r9WX2fz6pFPg71MpM6t eoLvVtEN0NVu0V7qeJbDEe1CNq6bMkALrg== X-Google-Smtp-Source: ABdhPJx2Cra0UHDQYUrPNZ2zKVjUSG6mTXNql1jPUr9ywlAztDF326ihZ/mkoYauXNjkJ1AU7KJGaA== X-Received: by 2002:a17:902:710d:b029:d1:e5e7:be20 with SMTP id a13-20020a170902710db02900d1e5e7be20mr2209009pll.83.1600182689476; Tue, 15 Sep 2020 08:11:29 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id c127sm13742278pfa.165.2020.09.15.08.11.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 08:11:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov Date: Tue, 15 Sep 2020 08:11:01 -0700 Message-Id: <20200915151114.12024-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200915151114.12024-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20200915151114.12024-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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_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