<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: QAT Libcrypto patch on VM with SR-IOV? in Embedded Intel® Core™ Processors</title>
    <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206790#M976</link>
    <description>&lt;P&gt;Hello skyung&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only known issues that I see that can be related to your category are the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IXA00382936:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue was observed using the openssl speed application patched with libcrypto* (OpenSSL*) Sample Patch for Intel(R) QuickAssist Technology. Libcrypto's openssl speed test uses multiple processes (instead of multiple threads) to measure performance. Each process has access to one crypto instance. When running a test with 16 or 32 processes, the test can fail from time to time reporting: [error] SalCtrl_AdfServicesStartedCheck() - : Sal Ctrl failed to start in given time [error] do_userStart() - : Failed to start services can't use that engine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it seems to be fixed with the latest QAT version: &lt;A href="https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches"&gt;https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches&lt;/A&gt; Intel QuickAssist Technology | &lt;A href="http://01.org"&gt;01.org&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here: &lt;A href="https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf"&gt;https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf&lt;/A&gt; &lt;A href="https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf"&gt;https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And IXA00381337:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description:&lt;/P&gt;&lt;P&gt;In Pass-through of Intel® QuickAssist Technology Physical Function (PF) and the PCH device GbE ports to a virtual machine result in GbE ports being nonresponsive after Intel® QuickAssist Technology device initialization. Intel® QuickAssist Technology Virtual Function (VF) pass-through with GbE port passthrough is not affected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resolution:&lt;/P&gt;&lt;P&gt;After Intel® QuickAssist Technology device initialization, removing the igb module and reinserting it allows both devices to work as normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here: &lt;A href="https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf"&gt;https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf&lt;/A&gt; &lt;A href="https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf"&gt;https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will ask to the QAT contacts for additional advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Adolfo Sanchez&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2016 22:02:38 GMT</pubDate>
    <dc:creator>Adolfo_S_Intel</dc:creator>
    <dc:date>2016-08-12T22:02:38Z</dc:date>
    <item>
      <title>QAT Libcrypto patch on VM with SR-IOV?</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206789#M975</link>
      <description>&lt;P&gt;Hi, I have been trying to apply libcrypto (openssl) patch to a virtual function (VF) of QAT that is assigned to a qemu/kvm virtual machine.&lt;/P&gt;&lt;P&gt;First, I successfully created 32 virtual functions of QAT through SR-IOV as instructed on &lt;A href="http://www.intel.com/content/dam/www/public/us/en/documents/application-notes/virtualization-technology-with-quickassist-technology-app-note.pdf"&gt;http://www.intel.com/content/dam/www/public/us/en/documents/application-notes/virtualization-technology-with-quickassist-technology-app-note.pdf&lt;/A&gt; Using Intel VT with Intel QuickAssist Technology. Then, I assigned one of the virtual function to qemu/kvm virtual machine I created. Here is the spec of both host and vm I created:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;HOST&lt;/B&gt;&lt;/P&gt;&lt;P&gt;OS: CentOS Linux release 7.2.1511&lt;/P&gt;&lt;P&gt;kernel: 3.10.0-327.22.2.el7.x86_64&lt;/P&gt;&lt;P&gt;CPU: Intel(R) Xeon(R) CPU E5-2699 v3&lt;/P&gt;&lt;P&gt;QAT driver version: 2.6.0-60&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;VM&lt;/B&gt;&lt;/P&gt;&lt;P&gt;OS: CentOS Linux release 7.2.1511&lt;/P&gt;&lt;P&gt;kernel: 3.10.0-327.28.2.el7.x86_64 &lt;/P&gt;&lt;P&gt;CPU: copied host cpu info&lt;/P&gt;&lt;P&gt;QAT driver version: 2.6.0-60&lt;/P&gt;&lt;P&gt;libcrypto patch version: 0.4.9-009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After installing the QAT virtual function driver on the VM, I can see the driver running on the vm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I followed &lt;A href="https://01.org/packet-processing/downloads/libcrypto-openssl-sample-patch-intel%C2%AE-quickassist-technology"&gt;https://01.org/packet-processing/downloads/libcrypto-openssl-sample-patch-intel%C2%AE-quickassist-technology&lt;/A&gt; Libcrypto Patch for Intel QuickAssist Technology to apply the patch.&lt;/P&gt;&lt;P&gt;And then I tried to verify the installation with openssl speed test, but I got the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like openssl cannot find QAT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried doing the exact same thing with QAT using pci-passthrough (i.e., assigning &lt;B&gt;physical function&lt;/B&gt; to the vm instead of virtual function) and did not have any problem.&lt;/P&gt;&lt;P&gt;My guess is that it does not support virtual function but I'm not sure.&lt;/P&gt;&lt;P&gt;Did anybody have the same or similar problem? I cannot pinpoint the root cause because there is no reason for it to fail. I really need your help. Thanks a lot!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;skyung&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 00:10:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206789#M975</guid>
      <dc:creator>SKyun</dc:creator>
      <dc:date>2016-08-12T00:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: QAT Libcrypto patch on VM with SR-IOV?</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206790#M976</link>
      <description>&lt;P&gt;Hello skyung&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only known issues that I see that can be related to your category are the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IXA00382936:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue was observed using the openssl speed application patched with libcrypto* (OpenSSL*) Sample Patch for Intel(R) QuickAssist Technology. Libcrypto's openssl speed test uses multiple processes (instead of multiple threads) to measure performance. Each process has access to one crypto instance. When running a test with 16 or 32 processes, the test can fail from time to time reporting: [error] SalCtrl_AdfServicesStartedCheck() - : Sal Ctrl failed to start in given time [error] do_userStart() - : Failed to start services can't use that engine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it seems to be fixed with the latest QAT version: &lt;A href="https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches"&gt;https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches&lt;/A&gt; Intel QuickAssist Technology | &lt;A href="http://01.org"&gt;01.org&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here: &lt;A href="https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf"&gt;https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf&lt;/A&gt; &lt;A href="https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf"&gt;https://01.org/sites/default/files/page/330683_qat_relnotes-001_3.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And IXA00381337:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description:&lt;/P&gt;&lt;P&gt;In Pass-through of Intel® QuickAssist Technology Physical Function (PF) and the PCH device GbE ports to a virtual machine result in GbE ports being nonresponsive after Intel® QuickAssist Technology device initialization. Intel® QuickAssist Technology Virtual Function (VF) pass-through with GbE port passthrough is not affected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resolution:&lt;/P&gt;&lt;P&gt;After Intel® QuickAssist Technology device initialization, removing the igb module and reinserting it allows both devices to work as normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here: &lt;A href="https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf"&gt;https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf&lt;/A&gt; &lt;A href="https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf"&gt;https://01.org/sites/default/files/page/330683-010_qat_relnotes.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will ask to the QAT contacts for additional advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Adolfo Sanchez&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 22:02:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206790#M976</guid>
      <dc:creator>Adolfo_S_Intel</dc:creator>
      <dc:date>2016-08-12T22:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: QAT Libcrypto patch on VM with SR-IOV?</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206791#M977</link>
      <description>&lt;P&gt;Hello skyung,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, normally when this error is observed it is because it is possible that incorrect QAT configuration file placed in the /etc folder.  Please ensure that this was copied to the /etc folder and qat_service was restarted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the qat_mem.ko driver is not loaded. Please ensure that the qat_mem driver has been loaded properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We hope that this information may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos_A.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 15:07:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-Libcrypto-patch-on-VM-with-SR-IOV/m-p/206791#M977</guid>
      <dc:creator>CarlosAM_INTEL</dc:creator>
      <dc:date>2016-09-01T15:07:32Z</dc:date>
    </item>
  </channel>
</rss>

