OPNsense Forum

English Forums => Hardware and Performance => Topic started by: KingGGs on January 30, 2023, 07:10:10 PM

Title: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: KingGGs on January 30, 2023, 07:10:10 PM
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.
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: tusc on January 30, 2023, 07:42:09 PM
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.


Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: KingGGs on January 30, 2023, 07:47:08 PM
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.
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: Patrick M. Hausen on January 30, 2023, 08:05:09 PM
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.
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: KingGGs on January 30, 2023, 09:09:40 PM
Wow, That worked thank you.
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: 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.
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: Patrick M. Hausen on January 30, 2023, 11:46:19 PM
Open an issue on github. Possibly ask on the FreeBSD-net mailing list, first.
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: KingGGs on January 21, 2025, 09:52:27 AM
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?
Title: Re: How to use SolarFlare S7120 10G Dual SFP+ NIC on opnsense?
Post by: Patrick M. Hausen on January 21, 2025, 09:56:10 AM
What's to fix? Adding a tunable is a common supported configuration. If it works with the tunable, everything is fine.