diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2017-11-21 08:48:13 +0000 |
---|---|---|
committer | Martin Klozik <martinx.klozik@intel.com> | 2017-11-21 08:48:13 +0000 |
commit | a838853cd80b2287f62ba1bad60d3f977312a35f (patch) | |
tree | 0a8d8b26fe0dc0e16159f79495d831c5a37792d6 | |
parent | 4bca2eeb7fabe20112d0b9c5a4c166615124bcd0 (diff) |
sriov: Determine path to the bind-tool
In case of SRIOV path to the bind-tool must be known before
NIC driver is re-initialized. It means before TestCase.__init__()
is called.
Change-Id: Ib6fdba233e665144510dd492462c0a21aa19ed71
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
-rwxr-xr-x | vsperf | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -387,6 +387,9 @@ def enable_sriov(nic_list): else: _LOGGER.debug("SRIOV enabled for NIC %s", nic) + # ensure that path to the bind tool is valid + functions.settings_update_paths() + # WORKAROUND: it has been observed with IXGBE(VF) driver, # that NIC doesn't correclty dispatch traffic to VFs based # on their MAC address. Unbind and bind to the same driver |