examples/power: fix unreachable VF MAC init
A for loop to MAX_VFS had a break as the last line, so the w++ would never get called, breaking out of the loop after the first iteration. Remove the break so that the loop can execute properly. Coverity issue: 337682 Fixes: ace158c4a821 ("examples/vm_power: add check for port count") Cc: stable@dpdk.org Signed-off-by: David Hunt <david.hunt@intel.com> Acked-by: Rami Rosen <ramirose@gmail.com>
This commit is contained in:
parent
da4ac8e599
commit
958d14d386
@ -391,7 +391,6 @@ main(int argc, char **argv)
|
||||
break;
|
||||
}
|
||||
printf("\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user