CSIT-1043: Execute pci rescan only if needed 61/12961/10
authorjuraj.linkes <juraj.linkes@pantheon.tech>
Fri, 8 Jun 2018 08:47:27 +0000 (10:47 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 22 Jun 2018 08:42:28 +0000 (08:42 +0000)
commitca163ffc171954c6b23fc8a715b2b7ca4c47cccf
treeede095de1ce52651dab8c1d477f6cd843a74e2f2
parent04d78878f062301f791d4000bfab5227b184c0d8
CSIT-1043: Execute pci rescan only if needed

Pci rescan is a rather invasive process, which is why it should be
executed only if needed. This patch moves the pci rescan after
pci device driver discovery, rescanning the devices for further attemps
at driver discovery.

Change-Id: I29c939b44c3f67371416a99c711e057f711ba9b4
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
resources/libraries/python/DUTSetup.py
resources/libraries/python/InterfaceUtil.py

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.