I successfully configured the QLogic QLE8152. The issue with "if_qlxge_load="YES"" not working stems from the absence of the if_qlxge.ko module in the pfSense release. My initial solution was to install FreeBSD 14.0 and manually copy the module to boot/kernel. However, this approach failed due to a version mismatch error when attempting to load it with "kldload."
To resolve this, I took the following steps on a fresh installation of FreeBSD 14.0:
Cloned the FreeBSD source repository from the pfSense GitHub:
cd /usr
git clone git@github.com:pfsense/FreeBSD-src.git
cd FreeBSD-src
Switched the branch from master to the version I'm using, in this case, RELENG_2_7_2
git checkout RELENG_2_7_2
Added the qlxge module to the GENERIC configuration file as per the documentation (https://man.freebsd.org/cgi/man.cgi?query=qlxge&sektion=4&format=html):
device qlxge
Executed the following commands:
make buildkernel
After the kernel was built, use make installkernel to copy the new kernel and modules to boot/kernel.
Copied if_qlxge.ko to pfSense and added "if_qlxge_load="YES"" to /boot/conf/loader.conf.
Rebooted the system.
For your convenience, I've attached the module for the 2.7.2 version: if_qlxge.zip.
if_qlxge.zip