examples/vm_power: remove VM channel number check
authorReshma Pattan <reshma.pattan@intel.com>
Wed, 21 Apr 2021 10:45:34 +0000 (11:45 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 May 2021 21:43:22 +0000 (23:43 +0200)
commit4a8f4f97658d1e3458aa2590ca4b17fdf56126bc
tree2535f8adaccebf407ea04261ce3e2e04428f5f45
parent97ca1e786b25182199877393978decbed6608a78
examples/vm_power: remove VM channel number check

VM channel number should not be validated against the
host vm_power_manager coremask core indexes, as VM
cores need not to be same as host cores.
So remove this check, to allow all the vm channels
to be added successfully.

Fixes: b49c677a0d24 ("examples/vm_power: respect core mask")
Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Reviewed-by: David Hunt <david.hunt@intel.com>
examples/vm_power_manager/channel_manager.c