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

kernel qat fatal error & kernel qat device reset wq

Scheduled Pinned Locked Moved Hardware
15 Posts 2 Posters 1.2k Views 2 Watching
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.
  • S Offline
    stephenw10 Netgate Administrator
    last edited by Oct 23, 2023, 11:31 AM

    Ok, well it's clearly attaching correctly.

    I don't think rolling back to 23.05 would make any difference here. It would be more useful to try upgrading to 23.09-Beta.

    Did the tunnel bandwidth actually increase after you installed the card? Does it actually seem to be working despite the unexpected error processes?

    Are there errors shown in the system logs?

    I don't think that bug applies to this specifically. It's a more general report for QAT in 23.09. Even so it still works as expected for OpenVPN in DCO mode.

    Steve

    D 1 Reply Last reply Oct 23, 2023, 1:50 PM Reply Quote 0
    • D Offline
      Djbower1 @stephenw10
      last edited by Djbower1 Oct 23, 2023, 2:02 PM Oct 23, 2023, 1:50 PM

      @stephenw10

      Ok, I won’t roll back. I may try the beta later tonight.

      The bandwidth increase alot. Before I was only getting around 3-400Mbps on an average speedtest and now i am getting a consistent 850-900 both ways. That is maxing my connection.

      IMG_4207.jpg

      There is nothing in the System logs of note and I am also not using OpenVPN in DCO mode. PIA does not support DCO.

      If I never saw this error, I would be none the wiser, but I did! Ahhhhh. Bloody OCD is going kill me :)

      Thank you for your time on this πŸ™

      1 Reply Last reply Reply Quote 0
      • S Offline
        stephenw10 Netgate Administrator
        last edited by Oct 23, 2023, 2:24 PM

        DCO mode only applies to the end where it's set. It doesn't have to be set both ends. So I would expect you could use it.

        Using DCO the kernel mode crypto framework can use QAT directly giving a significant increase in performance. I actually surprised you're seeing that sort of boost without DCO to be honest.

        Switching to DCO uses QAT completely differently. It may eliminate those error processes.

        Steve

        D 1 Reply Last reply Oct 24, 2023, 1:14 PM Reply Quote 0
        • D Offline
          Djbower1 @stephenw10
          last edited by Oct 24, 2023, 1:14 PM

          @stephenw10

          Ok,

          Quick question... Does QAT work in user space. Yes or No? and then elaborate if possible πŸ™

          Skimming the below thread I am unclear. Still reading.
          https://forum.netgate.com/topic/183123/23-09d-is-qat-broken/60?_=1697919695106

          In my current setup I have my tunnels setup with gateways for firewall routing purposes. Using DCO loses this ability I believe??? I may be wrong?

          I am a notice so please be kind 😊

          1 Reply Last reply Reply Quote 0
          • S Offline
            stephenw10 Netgate Administrator
            last edited by Oct 24, 2023, 1:29 PM

            As far as I'm aware QAT is not used in user space because there is no longer a dev crypto engine that OpenSSL can use to access it. It's possible OpenSSL can use it directly though I'm not aware of that. I know it can use AES-NI directly but that is an instruction set not actually a hardware device.

            Using DCO does not prevent you assigning an interface and getting a gateway etc. I use that here on multiple tunnels.

            Steve

            D 1 Reply Last reply Oct 24, 2023, 1:35 PM Reply Quote 0
            • D Offline
              Djbower1 @stephenw10
              last edited by Oct 24, 2023, 1:35 PM

              @stephenw10
              Strange, Everytime I enable it on my tunnels they go down and wont connect. I put that down to PIA. But as your said before it didnt matter that they dont support it. I must have something else wrong somewhere then.

              1 Reply Last reply Reply Quote 0
              • S Offline
                stephenw10 Netgate Administrator
                last edited by Oct 24, 2023, 1:42 PM

                There are some things it doesn't support:
                https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/dco.html#limitations

                If PIA is using a different cipher or you are connecting over TCP it will fail.

                D 1 Reply Last reply Oct 24, 2023, 2:47 PM Reply Quote 0
                • D Offline
                  Djbower1 @stephenw10
                  last edited by Oct 24, 2023, 2:47 PM

                  @stephenw10

                  Nope, I am 100% using the correct settings. I have double and tripple checked that. then checked again after a coffee.

                  Just seens this in the log though, after enabling DCO on PIA tunnel....

                  Oct 24 15:38:26	openvpn	27424	OPTIONS ERROR: server pushed compression settings that are not allowed and will result in a non-working connection. See also allow-compression in the manual.
                  Oct 24 15:38:26	openvpn	27424	Compression or compression stub framing is not allowed since data-channel offloading is enabled.
                  

                  Can you recommend another VPN provider I can try?

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stephenw10 Netgate Administrator
                    last edited by Oct 24, 2023, 3:02 PM

                    Oh there we go compression is not compatible with DCO. Hmm, I don't see that on our docs for some reason though. I'll try to add that.

                    I don't know of any off hand but I'd bet there are some because using DCO allows them to pass far more clients with whatever hardware they have. You might even ask PIA support. They might have some servers running DCO already that obviously wouldn't have compression enabled.

                    Steve

                    D 1 Reply Last reply Oct 25, 2023, 6:08 PM Reply Quote 0
                    • D Offline
                      Djbower1 @stephenw10
                      last edited by Oct 25, 2023, 6:08 PM

                      @stephenw10

                      Hi Steve,

                      THanks for all your help on this but im giving up. Ripped the card out and sticking with previous setup. Going setup a dev box to play with as trying to do this between meetings on Teams is not easys and there.

                      I am going to look at going down the wireguard route instead and keep openvpn just for the dialin stuff as I need it to use radius.

                      1 Reply Last reply Reply Quote 0
                      15 out of 15
                      • First post
                        15/15
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received