- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello guys:
I have a server base on INTEL(R) XEON(R) PLATINUM 8568Y+ process with QAT device integrated.
And I installed qat driver and qat lib following https://intel.github.io/quickassist/index.html, I can run qatzip test and dpdk test successfully with vfio-pci framework.
Now I want to use SVM feature(ATEnabled and SVMEnabled is enabled ), and found that SVM feature was based on UIO framework, qat driver registered itself as a UIO device via uio_register_device, there were four uio node after qat driver startup, but i didn't find how to use those uio device.
lrwxrwxrwx 1 root root 0 Nov 19 10:27 uio0 -> ../../devices/pci0000:70/0000:70:00.0/uio/uio0/
lrwxrwxrwx 1 root root 0 Nov 19 10:27 uio1 -> ../../devices/pci0000:70/0000:70:00.0/uio/uio1/
lrwxrwxrwx 1 root root 0 Nov 19 10:27 uio2 -> ../../devices/pci0000:70/0000:70:00.0/uio/uio2/
lrwxrwxrwx 1 root root 0 Nov 19 10:27 uio3 -> ../../devices/pci0000:70/0000:70:00.0/uio/uio3/
Is my understanding correct? and can you share a SVM usage guide to me.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi fangyu,
Thanks for using Intel Communities.
I might not fully understand your question, so I apologize if that's the case. Could you please provide more details about what you're trying to achieve?
uio0, uio1, uio2, uio3: These are the names of the UIO devices. Each UIO device corresponds to a specific QAT instance or resource.
-> ../../devices/pci0000:70/0000:70:00.0/uio/uio0/: This is the target of the symbolic link, pointing to the actual UIO device in the /sys filesystem.
Each UIO device (uio0, uio1, uio2, uio3) represents a different instance or resource of the QAT hardware. These instances can be used to perform cryptographic operations, compression, and other tasks accelerated by QAT.
Once the device memory is mapped, applications can perform read and write operations to interact with the QAT hardware and perform the desired cryptographic or compression tasks.
Refer to https://intel.github.io/quickassist/PERF/introduction.html for further information.
Regards,
Ronny G
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi fangyu,
Thanks for using Intel Communities.
I might not fully understand your question, so I apologize if that's the case. Could you please provide more details about what you're trying to achieve?
uio0, uio1, uio2, uio3: These are the names of the UIO devices. Each UIO device corresponds to a specific QAT instance or resource.
-> ../../devices/pci0000:70/0000:70:00.0/uio/uio0/: This is the target of the symbolic link, pointing to the actual UIO device in the /sys filesystem.
Each UIO device (uio0, uio1, uio2, uio3) represents a different instance or resource of the QAT hardware. These instances can be used to perform cryptographic operations, compression, and other tasks accelerated by QAT.
Once the device memory is mapped, applications can perform read and write operations to interact with the QAT hardware and perform the desired cryptographic or compression tasks.
Refer to https://intel.github.io/quickassist/PERF/introduction.html for further information.
Regards,
Ronny G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ronny,
Thanks for your reply.
I just want to use the SVM feature of QAT HW 2.0
I used the sample test named cpa_sample_code now, and found the SVM feature enabled successfully.
Regards,
Fangyu
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page