OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: hina on June 23, 2024, 07:54:28 PM

Title: Crypto Hardware Acceleration
Post by: hina on June 23, 2024, 07:54:28 PM
I'm wondering if OPNsense will add support for the Chelsio ccr crypto driver, since OPNsense already supports

hifn
padlock
qat
safe

According to freebsd release notes for 13.3 (https://www.freebsd.org/releases/13.3R/hardware/) and 14.0 (https://www.freebsd.org/releases/14.0R/hardware/), ccr driver by Chelsio is listed.
Title: Re: Crypto Hardware Acceleration
Post by: hina on June 24, 2024, 08:46:46 PM
I found out how to use the ccr driver, just make sure you are using the ccX device, and ccr_load=YES

if you need netmap with the ccX device, you can enable by setting

hw.cxgbe.native_netmap=3
Native netmap support. bit 0 = main VI, bit 1 = extra VIs

afterwards, ipsec should work with the ccr driver and you can check the stats via sysctl dev.ccr