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 91F7BA00B8; Sun, 27 Oct 2019 19:32:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 51F381BF07; Sun, 27 Oct 2019 19:32:05 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 3BD331BF06 for ; Sun, 27 Oct 2019 19:32:03 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 6977E5A8; Sun, 27 Oct 2019 14:32:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 27 Oct 2019 14:32:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=uGA5bFqC7MAW+91s+KBmcX+/U+bx/dNEccQQht9ZzaY=; b=IP45X/hCghQD U3WtBtdQU93Ij8alzoYal2hfSgTJJRvZArTqzDIYrehOeiLcRWdvch8K3vhUkqDj Of0ChgarGCwZul/SxANMOF/PO6Ubt2EHnUfnuV5WQTuRHEizdZViEZtRpz1XxljE X8Wpyw6Z42q8f4TVTsv+5rq7xHgm6r8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=uGA5bFqC7MAW+91s+KBmcX+/U+bx/dNEccQQht9Zz aY=; b=AAIXIgPobfhs1eZ92Ee64ETLeFv5pWinQOg+24FLmXFE/DBFUBpj+3Mx9 JV3vDqluJU3dxpP3ULaVavMXpXYtSfkiJ/vvtW38Y3MJ4zKDKhRFzMGPZQYkWigW gm/332OtGjdw2i1a9LqbfxZ3TXUIVum87oi6K+rjfQ0mBecqWE1CiE1wyrbkHrgv hKPuOsVfk387rMCu2tOgx/RDBL5S59ZtQLVNI0OF9lPv99CInpFTF6IzvxCagH+v iUGKPXu39fNSZ4KTvvrvKouyXVSK8X078nhkuR13sGOPsz6AY0abl+5mVrdN6pzY GF3zwW/X3bCqHikY+eiuyOn7YCKMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrleejgdduudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EDE7480059; Sun, 27 Oct 2019 14:32:00 -0400 (EDT) From: Thomas Monjalon To: David Hunt Cc: dev@dpdk.org, Bruce Richardson Date: Sun, 27 Oct 2019 19:31:59 +0100 Message-ID: <3921518.WtPimRk5fl@xps> In-Reply-To: <20191024150732.GA1751@bricha3-MOBL.ger.corp.intel.com> References: <20191024142610.37842-1-david.hunt@intel.com> <20191024150732.GA1751@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] power: fix vm power manager build without i40e 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" 24/10/2019 17:07, Bruce Richardson: > On Thu, Oct 24, 2019 at 03:26:10PM +0100, David Hunt wrote: > > channel_monitor.c was dependent on i40e driver being available. > > This is only necessary for the TRAFFIC policy, so use #ifdef's > > to not call these when i40e not available. > > > > Fixes: f14791a8126e ("examples/vm_power_mgr: add policy to channels") > > > > Signed-off-by: David Hunt > > --- > > examples/vm_power_manager/channel_monitor.c | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > Tested with "meson configure -Ddisable_drivers=/net/i40e" > Head build fails, passes with this patch applied. > > Tested-by: Bruce Richardson > Acked-by: Bruce Richardson Applied, thanks