examples/vm_power_manager: fix set VF MAC address
authorDavid Coyle <david.coyle@intel.com>
Tue, 23 Jan 2018 14:14:15 +0000 (14:14 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 1 Feb 2018 00:19:35 +0000 (01:19 +0100)
commita032a0816a1e63cc90505b96c0abf0770b71f160
treedb88d4531a3c39bf5da4d484187770931b53f3e4
parent532e5242db15b311594c4a633d520ed3ae87b38d
examples/vm_power_manager: fix set VF MAC address

Current code only sets mac address of first VF. Fix code so that it
continues through the loop and sets the mac address of each VF.

Fixes: c9a4779135c9 ("examples/vm_power_mgr: set MAC address of VF")
Cc: stable@dpdk.org
Signed-off-by: David Coyle <david.coyle@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
examples/vm_power_manager/main.c