Intel® QuickAssist Technology (Intel® QAT)
For questions and discussions related to Intel® QuickAssist Technology (Intel® QAT).

how to use SVM feature on QAT

fangyu
Beginner
370 Views

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.

 

Labels (1)
0 Kudos
1 Solution
Ronny_G_Intel
Moderator
327 Views

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

 

 

View solution in original post

0 Kudos
2 Replies
Ronny_G_Intel
Moderator
328 Views

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

 

 

0 Kudos
fangyu
Beginner
291 Views

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

0 Kudos
Reply