Hi,
I cannot enable VFs for the QAT device, my steps are as follows: 1. Enable VT-d in BIOS 2. Add the "intel_iommu=on iommu=pt" in the kernel command line 3. QAT device driver has been inserted: ~ # lsmod | grep qa qat_c62x 16384 0 intel_qat 114688 1 qat_c62x 4. Find the BDF of the PF: ~ # lspci -d:37c8 b5:00.0 Class 0b40: Device 8086:37c8 (rev 04) b7:00.0 Class 0b40: Device 8086:37c8 (rev 04) 5. Trying to enable VFs, but I did not find sriov_numvfs in directories: /sys/bus/pci/drivers/c6xx /sys/bus/pci/drivers/c6xx # ls -ltr --w------- 1 4096 Jan 22 21:41 uevent --w------- 1 4096 Jan 22 21:43 unbind --w------- 1 4096 Jan 22 21:43 remove_id --w------- 1 4096 Jan 22 21:43 new_id lrwxrwxrwx 1 0 Jan 22 21:43 module -> ../../../../module/qat_c62x --w------- 1 4096 Jan 22 21:43 bind But I can find sriov_numvfs in other directories: /sys # find ./ -name sriov_numvfs ./devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0/0000:b4:00.0/0000:b5:00.0/sriov_numvfs ./devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0/0000:b4:02.0/0000:b7:00.0/sriov_numvfs Unfortunately, when trying to enable the VFs with above sriov_numvfs file, cannot write to this file, like: /sys # echo 16 > ./devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0/0000:b4:02.0/0000:b7:00.0/sriov_numvfs sh: write error: No such file or directory Can any guys know some clue about it? Thanks,
