Interface disabled due to unsupported sfp

Started by andygee, October 25, 2022, 09:59:40 AM

Previous topic - Next topic
We were running 21 series with no issues but after upgrading to 22.7 we are receiving an error on one of the 10gb sfp+ ports saying that the interface is disabled due to unsupported sfp.  It looks like this is due to intel restricting the sfps with their driver.  I have found you can override it by adding and ixgbe.allow_unsupported_sfp=1 but the system tunables doesn't support this one.  Any suggestions for making this work?

Thanks,
Andy

What do you mean by "does not support"? You can add arbitrary tunables, not only change existing ones.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I've tried putting that in the tunables but it still goes through and says that the interface is disabled due to unsupported sftp module.  Evidently between 22.7 and the 21 series the Intel driver has changed and intel is now disabling the interface if it's not a supported sftp+. 
https://serveradminz.com/blog/unsupported-sfp-linux/

Here's where I was finding information on what to do to fix the issue but I've yet to get it to work with opnsense.

November 01, 2022, 03:47:02 PM #3 Last Edit: November 02, 2022, 09:56:38 AM by BoodahsFever
In that link the discussion is about Linux. OPNsense is FreeBSD so good chance that tunable does not work on FreeBSD.

There is a sysctl that allows you to bypass this.
In /boot/loader.conf.local add this line:

hw.ix.unsupported_sfp=1

It might also be possible to add this to tunables but i am not sure about that.

The better solution is to buy a supported SFP+ module and be done with it. It's not like they are so expensive.