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 3EECAA32A2 for ; Thu, 24 Oct 2019 17:07:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D46861EA3E; Thu, 24 Oct 2019 17:07:39 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2F0F91EA3D for ; Thu, 24 Oct 2019 17:07:38 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2019 08:07:37 -0700 X-IronPort-AV: E=Sophos;i="5.68,225,1569308400"; d="scan'208";a="192214919" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.95]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Oct 2019 08:07:35 -0700 Date: Thu, 24 Oct 2019 16:07:32 +0100 From: Bruce Richardson To: David Hunt Cc: dev@dpdk.org Message-ID: <20191024150732.GA1751@bricha3-MOBL.ger.corp.intel.com> References: <20191024142610.37842-1-david.hunt@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191024142610.37842-1-david.hunt@intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) 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" 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