[dpdk-dev] [PATCH v1] power: fix vm power manager build without i40e

Thomas Monjalon thomas at monjalon.net
Sun Oct 27 19:31:59 CET 2019


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 <david.hunt at 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.richardson at intel.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks





More information about the dev mailing list