Intel QAT Passthrough?

I’m on the EE 24.10.2.2. I’m trying to pass a couple of QAT adapters through to some VMs. (tinkering around with opnsense) and I’m getting some strange errors…

Path ‘/dev/vfio/30’ is not accessible: No such file or directory

After a bit of research, it appears the errors are related to IOMMU/vfio which isn’t surprising, but I think I may have figure out the “why?” I’m just not sure of the “how?” with regards to fixing it.

While searching for “QAT and Truenas” didn’t turn up anybody trying to use pcipassthrough, it did turn up a bunch of stuff with people trying to use QAT with Truenas directly, and in reading some of those posts it appears that Truenas actually includes the QAT drivers. That leads me to believe that these drivers need to be blacklisted similar to the NVidia drivers. The problem is, I don’t know how to do that, or if it’s even possible.

I know this probably falls under the “if you can’t do it in the UI, you probably shouldn’t do it” category, but I figure there’s no harm in asking.

Thanks. Any help would be appreciated.

Follow up:

I tried a few suggestions from our AI overlords, specifically adding the driver for the QAT card to the blacklist.conf file and adding the card’s PCI vendor/device ID to the vfio.conf file, with the same results.

Unfortunately the same results (before and after a reboot)

Am I even going in the right direction here?