OPNsense Forum

English Forums => Hardware and Performance => Topic started by: jacker on July 25, 2025, 01:51:31 AM

Title: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: jacker on July 25, 2025, 01:51:31 AM
Dear OPNsense Team,

I am a long-time user and admirer of your firewall project. Recently, I purchased a network device that includes a Marvell AQC113C-B1-C 10GbE network controller. Unfortunately, I noticed that this chip is currently not supported in OPNsense.

As I understand that OPNsense relies on FreeBSD's network stack, I would like to ask if there are any plans — or possibility — to support this chip in future releases, should FreeBSD include support. According to community sources, this chip is already supported in Linux but not yet in FreeBSD.

If there's anything the community can do (e.g., testing, submitting requests upstream to FreeBSD, or encouraging Marvell to release a driver), I'd be glad to help.

Thank you for your continued work on this amazing project.

Best regards, 
Jacker
Title: Re: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: pfry on July 25, 2025, 03:18:36 AM
Well that's sad. I saw a very minimalistic port of the Linux driver some years back, but this was right in the middle of the Marvell purchase. The code review was pretty sad, too - just "what is an Aquantia?" and complaints about formatting. The driver (https://github.com/Aquantia/aqtion-freebsd (https://github.com/Aquantia/aqtion-freebsd)) appears to have advanced little. I'd hesitate to even try to make a plugin driver like the Realtek. Perhaps a (re-?) port of the NetBSD or OpenBSD drivers...?
Title: Re: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: Lion on July 27, 2025, 06:31:10 AM
I second that motion!
Title: Re: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: Mr. Me on October 03, 2025, 04:57:10 PM
Have you tried fetching the driver and installing the driver from freebsd.org?

It has been working fine for my AQC107 NIC.

Try this driver:

Download driver
fetch https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/aquantia-atlantic-kmod-0.0.5.1402000_3.pkg
Install driver
pkg install aquantia-atlantic-kmod-0.0.5.1402000_3.pkg
List your available interfaces. Aquantia Atlantic (Marvell) AQtion interface should be listed as aq0.
ifconfig
Title: Re: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: patient0 on October 03, 2025, 05:35:34 PM
A feature request does already exist for FreeBSD https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282805. It is not worked on though.
Title: Re: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: FraLem on October 04, 2025, 09:34:34 AM
Would running Opnsense on a VM (Linux Hipervisor) work for you?
 
Title: Re: Adapts to Marvell AQC113C-B1-C 10GbE network controller.
Post by: patient0 on October 04, 2025, 10:31:02 AM
Quote from: jacker on July 25, 2025, 01:51:31 AMIf there's anything the community can do (e.g., testing, submitting requests upstream to FreeBSD, or encouraging Marvell to release a driver),
I have added the device IDs and the speed init of AQC113/113C/113CA/113CS to the 14.3-RELEASE port of the driver (taken from OpenBSD, not more :)). Would you happen to be able to test it on a basic FreeBSD 14.3-RELEASE installation. Or of course if are able to, compile it yourself for a 14.3-RELEASE based installation.
The module doesn't compile for FreeBSD 15+, there are open tickets for it.

As usual: be careful installing stuff from the internet, don't put it on your prod machine.

The code/diff and the PKG file can be found: https://git.sr.ht/~patient0/FreeBSD-ports/refs/AQC113
Direct link to PKG file :https://git.sr.ht/~patient0/FreeBSD-ports/refs/download/AQC113/aquantia-atlantic-kmod-0.0.5.1403000_4.pkg

Edit: typo and extend to mention that if can of course compiled by the user itself.