Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Quickassist doesn't seem to be working

    Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
    5 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jjstecchino
      last edited by

      kernel find the quickassist adapter

      dmesg |grep qat
      qat0: <Intel dh895xcc QuickAssist> mem 0xf9e00000-0xf9e7ffff,0xfb140000-0xfb17ffff,0xfb100000-0xfb13ffff irq 16 at device 0.0 on pci9
      qat0: qat_dev0 started 12 acceleration engines
      qat0: FW version: 4.18.0
      qat_ocf0: <QAT engine>

      pfsense does not:

      Screenshot 2022-11-14 at 8.59.26 PM.png

      iperf speed between two pfsense boxes connected by ipsec is 1/2 of what it used to be.

      1 Reply Last reply Reply Quote 0
      • J
        jjstecchino
        last edited by

        Ok, pciconf -l output has changed between freebsd versions.

        freebsd 12 pciconf -l was:

        qat0@pci0:0:11:0:	class=0x0b4000 card=0x00008086 chip=0x1f188086 rev=0x02 hdr=0x00
        

        freebsd 14 pciconf -l gives:

        qat0@pci0:8:0:0:	class=0x0b4000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x0435 subvendor=0x8086 subdevice=0x0000
        

        The former chip field that was used to detect quick assist is now made up by device and vendor combined

        the function get_cpu_crypto_support() in /usr/local/www/includes/functions.inc.php needs to be updated.

        This works for me:

        /usr/local/www/includes: diff functions.inc.php.old functions.inc.php
        369c369
        < 		exec("/usr/sbin/pciconf -l | /usr/bin/awk '{ printf \"%s\\n\", $4 }' | /usr/bin/cut -f2 -d=", $pciids);
        ---
        > 		exec("/usr/sbin/pciconf -l | /usr/bin/awk '{ printf \"%s%s\\n\", $6, substr($5,10,4) }' | /usr/bin/cut -f2 -d=", $pciids);
        
        G 1 Reply Last reply Reply Quote 0
        • G
          gabacho4 Rebel Alliance @jjstecchino
          last edited by

          @jjstecchino latest dev build has incorporated a fix that addresses this. Give it a spin if you haven’t already.

          J 1 Reply Last reply Reply Quote 0
          • J
            jjstecchino @gabacho4
            last edited by

            @gabacho4 Thank You for the heads up!

            Tried to update but I now am getting a certificate error:

            Enter an option: 13
            
            >>> Updating repositories metadata...
            Updating pfSense-core repository catalogue...
            Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
            34936709120:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBSD-src-plus-devel-main/crypto/openssl/ssl/statem/statem_clnt.c:1921:
            Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
            34936709120:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBSD-src-plus-devel-main/crypto/openssl/ssl/statem/statem_clnt.c:1921:
            Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
            34936709120:error:1416F086:SSL 
            
            ...
            
             failed:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBSD-src-plus-devel-main/crypto/openssl/ssl/statem/statem_clnt.c:1921:
            pkg-static: https://pkg01-atx.netgate.com/beta/packages/pfSense_plus-master_amd64-pfSense_plus_devel/packagesite.txz: Authentication error
            Unable to update repository pfSense
            Error updating repositories!
            >>> Upgrading pfSense-upgrade... failed.
            

            I was going to wait and see if I gets fixed with the next snapshots

            G 1 Reply Last reply Reply Quote 0
            • G
              gabacho4 Rebel Alliance @jjstecchino
              last edited by

              @jjstecchino it’s going around today. Reboot the router and it should work again. I had the very same issue earlier.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.