pfsense 2.70 with silicom GE bypass cards
-
Just wanted to write a quick note regarding my experience with getting the silicom bypass cards to work on pfsense 2.70.
Turns out there was prior art on github on swapping the kernel interfaces from the legacy callout interfaces for freebsd rather than having to patch it yourself. Only found the github link after I already made my own changes haha. Google foo fail....
https://forums.freebsd.org/threads/requesting-success-stories-of-using-silicom-pe2g4bpi80-nics.84519/
https://github.com/russor/freebsd_bp_ctl
Don't ask me about the code above as I made my own changes to make it build.....
I haven't tested the timeout functionality either, i use power fencing and both my cards are now back in production....Also short synopsis of build process if someone wants to build a kernel module for pfsense that is based on 14 as it's on as specific CURRENT git commit:
FreebSD 14 RC1 install, git checkout freebsd source to the appropriate git hash, make buildworld buildkernel; make installworld, reboot, then build your module.I found this link handy https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld
cards in question are the SD variants so loaded intel network drivers, from dmesg on load:
Silicom Bypass Control driver v4.0.2
PE2G4BPi80 found, firmware version: 0xaa
PE2G4BPi80 found, firmware version: 0xaa
PE2G4BPi35ALRB2 found, firmware version: 0xaa
PE2G4BPi35ALRB2 found, firmware version: 0xaaCheers.