+1
−4
+34
−32
Loading
These can be found under CYP platform. To that end, refactor qat_setup.sh so it can support devices based on their dedicated driver rather than the specific device ID - this will allow for easier addition of new devices in the future. Also, configure number of VFs based on total number given ctrl supports - this is exactly what qat_service is doing while enabling VFs. Drop warning about old bug in the uio_pci_generic driver - in practice we don't hit that under CI since quite a long time. Slap errexit on top to make sure we exit immediately when writing to sysfs fails. Last but not least, run blockdev_crypto_qat test without any top condition - if qat_setup.sh succeeds, the test should be able to pass. Signed-off-by:Michal Berger <michal.berger@intel.com> Change-Id: I37c4fd319ad7002017f9baf9fdcf3890429aac75 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17086 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Pawel Piatek <pawelx.piatek@intel.com>