Assistance Requested: Integrating QAT with StrongSwan on Linux Kernel #2194
-
Hello, Community, I am currently working on integrating QAT (Quality and Acceleration Technology) with StrongSwan on the Linux kernel and have encountered a challenge that I hope you can help me overcome. We have successfully loaded the necessary modules for QAT operation, but we are facing an issue where, despite what seems to be a correct configuration, QAT is not being utilized when generating traffic through StrongSwan. Here are the details of our current setup: Loaded QAT Modules: qat_api 565248 0 Issue: Steps Already Taken: Verification of the correct loading of QAT modules. Thank you in advance for any support you can offer! Sincerely, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I've no experience with QAT, so I can't really help you but...
Which might not have anything to do with QAT. Hardware acceleration that is configurable in strongSwan requires support by the Linux kernel, the drivers and the hardware (network interfaces) as it uses the Linux kernel's recent hardware offload facilities. QAT might only accelerate specific algorithms (e.g. AES-GCM), which works completely independent of the offloading feature and only depends on the kernel's configuration (i.e. which modules it prefers over others for specific crypto algorithms). |
Beta Was this translation helpful? Give feedback.
-
See the same , that the QAT's are not used from kernel-netlink . Agree with Tobias, that the kernel is expected to handle all completely independent. Having an esp_proposals = aes256-sha256-modp4096 name : cbc(aes) skcipher for symmetric key ciphers |
Beta Was this translation helpful? Give feedback.
I've no experience with QAT, so I can't really help you but...
Which might not have anything to do with QAT. Hardware acceleration that is configurable in strongSwan requires support by the Linux kernel, the drivers and the hardware (network interfaces) as it uses the Linux kernel's recent hardware offload facilities. QAT might only accelerate specific algorithms (e.g. AES-GCM), which works completely independent of the offloading feature and only depends on the kernel's configuration (i.e. which modules it prefers over others for specific crypto algorithms).