How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?

Started by KingGGs, January 30, 2023, 07:10:10 PM

Previous topic - Next topic
So just upgraded to 2.5 Gig Fiber from my ISP and wanted to take advantage of those speeds with my whole 10gig  hardware and wanted to ask here if anyone here have used the Solarflare Cards with opnsense? I have alot of these and wanted to put them to use. The S7120 is updated to the latest firmware and works on windows and other OS. I tried adding the card to OPNsense box but it did not detect the interfaces.

You need to add the following to /boot/loader.conf.local :

sfxge_load="YES"

With that said, I've had issues with my Solarflare card. I have an SFN7122F that doesn't seem to work under Opnsense. Anytime I load the driver in loader.conf and reboot, the system panics after networking starts. The same card works fine under Linux. Seems to be an issue with the sfxge driver under FreeBSD 13.



Hello, thank you for your reply. I am a bit of a novis when it comes to the /boot/loader.conf.local as I have just started homelabbing recently. So if you wouldn't mind could you direct me how to access /boot/loader.conf.local ?

once again thank you for the reply.

Don't modify files directly. Go to System > Settings > Tunables, click on the [ + ] in the upper right corner, for Tunable enter "sfxge_load", for Value enter "YES", save, reboot.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


@pmhausen, how would I go about submitting a panic to help troubleshoot what might be causing this? Thanks.

Open an issue on github. Possibly ask on the FreeBSD-net mailing list, first.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: tusc on January 30, 2023, 11:42:16 PM@pmhausen, how would I go about submitting a panic to help troubleshoot what might be causing this? Thanks.

Hey there, Did you get your issue solved? Im coming back to my OPNsense box with the 10gig solarflare nic since I just got 5 gig fiber. Was wondering if U still have to add the tunables? or has OPNsense fixed this?

What's to fix? Adding a tunable is a common supported configuration. If it works with the tunable, everything is fine.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)