CSIT-1325 - FIX: AVF tests failing on unbind 74/15074/4
authorPeter Mikus <pmikus@cisco.com>
Mon, 1 Oct 2018 13:21:59 +0000 (13:21 +0000)
committerPeter Mikus <pmikus@cisco.com>
Tue, 2 Oct 2018 07:48:52 +0000 (07:48 +0000)
commit9db603df1076b5ee56ef6326fd0e396b166ed5b1
tree48d24ee7b03921ddcbbb145b621a555e1c3365ea
parent424749b09ac91c4eb5eabdd8bdd9d34b8c130783
CSIT-1325 - FIX: AVF tests failing on unbind

Currently there is and issue when consecutive AVF suites are
trying to initialize AVF and bind VF to vfio-pci driver, there
seems to be race condition if VPP has already VFs allocated.

This patch should introduce safer contstrain to disable VPP prior
AVF init.

Change-Id: Id8839200f19d9e7a18d161b660cfb1e43a8ca379
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/InterfaceUtil.py
tests/vpp/perf/l2/10ge2p1x710-avf-eth-l2xcbase-mrr.robot
tests/vpp/perf/l2/10ge2p1x710-avf-eth-l2xcbase-ndrpdr.robot
tests/vpp/perf/l2/25ge2p1xxv710-avf-eth-l2xcbase-mrr.robot
tests/vpp/perf/l2/25ge2p1xxv710-avf-eth-l2xcbase-ndrpdr.robot