testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev 27/27127/2
authorChristian Trautman <ctrautma@redhat.com>
Wed, 18 Jan 2017 01:12:31 +0000 (20:12 -0500)
committerChristian Trautman <ctrautma@redhat.com>
Wed, 18 Jan 2017 15:17:11 +0000 (10:17 -0500)
commitbd278ffd0db2c777bdfc2eae6a2af7c3fb9d57b0
tree8d525f2238f2dfbaf6db61f456bb1f1b96699cab
parent8b75ee19407e542fa4b4153e3b6b23f678507575
testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev

A recent patch introduced a bug where SR-IOV would use code designed
for use with testpmd_pvp scenarios. This is because this scenario
also calls for the vswitch=none flag. This patch resolves this issue
to stop the vdev devices from being added when the vnf is specified
as QemuPciPassthrough.

JIRA: VSPERF-460

Change-Id: Ie4522b046982ec5554c3deb6a507d86ca9798124
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
core/pktfwd_controller.py