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

Question on QAT Device Configuration File for in-tree and out-of-tree (OOT) driver

OttoChow
Employee
949 Views

For most QAT HW 2.0 documentation online, the configuration is for OOT (Out-of-Tree) and the device configuration file for each endpoint is /etc/4xxx_dev[x].conf.

 

For QAT HW 2.0 in-tree driver device configuration, it is all done at /etc/sysconfig/qat.  Is it correct?  But how can I config individual endpoint?   

 

Besides, does in-tree driver support only SR-IOV (VF only) and OOT driver support both as PF and VF as told by another colleague (who did not use in-tree driver)?  I don't think so but want to take this opportunity to verify with you.

 

Thank you.

 

Regards,

Otto

0 Kudos
1 Solution
Ronny_G_Intel
Moderator
914 Views

Hi OttoChow,


For the out-of-tree (standalone) QAT drivers provided by Intel, you will often find the configuration files in the following location: /etc/<driver_name>/

For example, you might find configuration files in: /etc/qat/

Within this directory, you may find one or more .conf files, such as: dh895xcc_dev0.conf dh895xcc_dev1.conf c6xx_dev0.conf c6xx_dev1.conf

Each .conf file typically corresponds to a specific QAT device or endpoint.


For in-tree QAT drivers that are part of the Linux kernel, the configuration might not rely on individual configuration files but rather on kernel parameters, sysfs, or other kernel mechanism.

There is only one config file, usually located at /etc/sysconfig/qat directory, this is not a standard directory for configuring Intel QuickAssist Technology (QAT) on all Linux distributions. However, it is commonly used by certain Linux distributions or specific packages to store configuration scripts or files related to the QAT service.


You may want to check QATlib Users Guide https://intel.github.io/quickassist/qatlib/index.html. QATlib is designed to work with QAT hardware regardless of whether the underlying driver is in-tree or out-of-tree, as long as the driver provides the necessary support for the library to interface with the hardware. 


For VF and PF configuration you may want to check Configuration and Tuning https://intel.github.io/quickassist/qatlib/configuration.html 


I hope this helps.


Regards,

Ronny G


View solution in original post

0 Kudos
2 Replies
Ronny_G_Intel
Moderator
915 Views

Hi OttoChow,


For the out-of-tree (standalone) QAT drivers provided by Intel, you will often find the configuration files in the following location: /etc/<driver_name>/

For example, you might find configuration files in: /etc/qat/

Within this directory, you may find one or more .conf files, such as: dh895xcc_dev0.conf dh895xcc_dev1.conf c6xx_dev0.conf c6xx_dev1.conf

Each .conf file typically corresponds to a specific QAT device or endpoint.


For in-tree QAT drivers that are part of the Linux kernel, the configuration might not rely on individual configuration files but rather on kernel parameters, sysfs, or other kernel mechanism.

There is only one config file, usually located at /etc/sysconfig/qat directory, this is not a standard directory for configuring Intel QuickAssist Technology (QAT) on all Linux distributions. However, it is commonly used by certain Linux distributions or specific packages to store configuration scripts or files related to the QAT service.


You may want to check QATlib Users Guide https://intel.github.io/quickassist/qatlib/index.html. QATlib is designed to work with QAT hardware regardless of whether the underlying driver is in-tree or out-of-tree, as long as the driver provides the necessary support for the library to interface with the hardware. 


For VF and PF configuration you may want to check Configuration and Tuning https://intel.github.io/quickassist/qatlib/configuration.html 


I hope this helps.


Regards,

Ronny G


0 Kudos
Ronny_G_Intel
Moderator
830 Views

Hi Otto,


I am just checking, do you need any further information regarding this particular question?


Regards,

Ronny G


0 Kudos
Reply