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 <david.h...@intel.com> > --- > 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 <bruce.richard...@intel.com> Acked-by: Bruce Richardson <bruce.richard...@intel.com>