From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id EC583A00E6 for ; Mon, 15 Apr 2019 18:36:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD48F1B3A3; Mon, 15 Apr 2019 18:36:49 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by dpdk.org (Postfix) with ESMTP id 7A9921B276 for ; Mon, 15 Apr 2019 18:36:44 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id y6so8857263plt.1 for ; Mon, 15 Apr 2019 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+qkGxADZUcqkqOctROV4O7Ntf7AJXmrBm02TLFGkINw=; b=qrr6BSN/fCZ/zVKV7sZkO0a0HkM24yQ/OiDUDoHA+ymMi0zozZk17u+zGMIe+IoZ25 IOdqImFENDbffQXlYrEGoqiO3Lofb3MGA0FMw8gV0d2T0y8dAQEpyC+LIpU4Q5UsvWP0 iDb37MnHPWK3d0yGqmKQv17EGonKkMlstH/kxiGxnQN7fUFbpMgvcZ+WuIZ3168uNwZt 7MEcZEFs6NpvXlevnjrDYpwUYP2japwIJmiqVF8E7a7TuP++lTPEvBckhRWZ/Z7nYoTw Ejt5q55ITISosNa7rczYVmjwn9dfysIwThcT/K36qNV3Qdq/b92lJDZOCEBEcHwfg5CT U/fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+qkGxADZUcqkqOctROV4O7Ntf7AJXmrBm02TLFGkINw=; b=fW5AAUx3d2MPcRgl+aGWa7/h9CXXTYvAowGRjThXu37dy0Womao3wOU+3y/zOcrkGJ 5P6xva9XU8igGw0DfhU5ercSE+Bttkaf+a4GB3OX8pVV7A4dXESyJeGwl8qTrc2NZgr8 BA/LEGKKRDidDUwTB6EMDHmymKQkbqkDh77NV2BS94EEgI/Ebk+ZL06JU+gAboklRL3S KuxHwkdA1V+A6bWrQHAHcs5HORx2/Gi3LGa+anEJXREGEggywsJxQeBOzvP5qeK3iPos 5J/2+7rorw/feH3BLJK3fkeN2RvdlNE2lDWl4BW1tjfY4IK7QGbRjXTgesZOJ3bInrGT XE2Q== X-Gm-Message-State: APjAAAXoY4lt7tgUxwSu2yuZV7kbl7Gk3vivpKMhyTGsbDkoyrCIEaRS 6M1VLNT4XsSV1O2TH2TN2IzRig== X-Google-Smtp-Source: APXvYqzx3O2kNSaglVQrg8S79xcP2WXkwBJZ75Gn7fkosjzl2dpyL+gQry1UoNFIokTj0teyX5FZrA== X-Received: by 2002:a17:902:681:: with SMTP id 1mr77683554plh.31.1555346203507; Mon, 15 Apr 2019 09:36:43 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id y20sm51557601pfe.188.2019.04.15.09.36.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Apr 2019 09:36:43 -0700 (PDT) Date: Mon, 15 Apr 2019 09:36:40 -0700 From: Stephen Hemminger To: "Liang, Ma" Cc: Lee Daly , david.hunt@intel.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20190415093640.7ef236c8@shemminger-XPS-13-9360> In-Reply-To: <20190415161110.GA17469@sivswdev09.ir.intel.com> References: <1555084647-75896-1-git-send-email-lee.daly@intel.com> <20190415161110.GA17469@sivswdev09.ir.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] lib/librte_power: set new frequecy on turbo_disable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Mon, 15 Apr 2019 17:11:10 +0100 "Liang, Ma" wrote: > > pi->turbo_enable = 0; > > > > - > > + if ((pi->turbo_available) && (pi->curr_idx <= 1)) { You (don't) need (so many) parenthesis.