[dpdk-dev] [PATCH v1] power: fix vm power manager build without i40e
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 24 17:07:32 CEST 2019
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>
More information about the dev
mailing list