+1
−0
Loading
Do this before the attempt to bind these devices is made. This is to make sure script works on subsequent runs. Scripts itself executes the qat_service which disables potential VFs of the target PF. In case VFs were previously bound to one of the uio drivers (via new_id) the next write to that attr will fail not rebinding the devices again. To avoid that, remove the VFs' id first and then attempt to bind them to the uio driver. Signed-off-by:Michal Berger <michal.berger@intel.com> Change-Id: I4818a2e3e663a4136084ce4bbb85ccfcfde1ae42 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15427 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>