FIX: init_interface driver and sr-iov 91/32891/7
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Thu, 24 Jun 2021 14:47:55 +0000 (16:47 +0200)
committerJuraj Linkeš <juraj.linkes@pantheon.tech>
Mon, 2 Aug 2021 07:11:49 +0000 (09:11 +0200)
commit7d849ba64e10b8a7678845ee1dcc091e125dd124
tree30cfcf8397fd5c058950c359e73e2c83c3556354
parent324f01417f17a5347c102179f3d2277a77b116ce
FIX: init_interface driver and sr-iov

Add checks for not unbinding a driver that is not bound and not
trying to remove VFs from interfaces not supporting SR-IOV.

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