Re: [dpdk-dev] [PATCH v1] examples/vm_power: fix no PCI option for guest cli

2019-11-11 Thread Thomas Monjalon
30/10/2019 02:09, Yao, Lei A: > From: Hunt, David > > > > If there are no ports available to the guest cli application, it will exit > > when > > setting up the default policy because it fails to set the mac address. This > > should not be the case, as this example can be used for many other use

Re: [dpdk-dev] [PATCH v1] examples/vm_power: fix no PCI option for guest cli

2019-10-29 Thread Yao, Lei A
> -Original Message- > From: Hunt, David > Sent: Tuesday, October 29, 2019 7:40 PM > To: dev@dpdk.org > Cc: Yao, Lei A ; Hunt, David > Subject: [PATCH v1] examples/vm_power: fix no PCI option for guest cli > > If there are no ports available to the guest cli application, it will exit

[dpdk-dev] [PATCH v1] examples/vm_power: fix no PCI option for guest cli

2019-10-29 Thread David Hunt
If there are no ports available to the guest cli application, it will exit when setting up the default policy because it fails to set the mac address. This should not be the case, as this example can be used for many other use cases that do not need ports. If ports not found, simply set nb_mac_to_