aqtion-freebsd icon indicating copy to clipboard operation
aqtion-freebsd copied to clipboard

Support for Aquantia AQC113 and AQC113C Ethernet Controllers on FreeBSD

Open Harry-Jing opened this issue 3 months ago • 1 comments

Here’s the revised request formatted for a GitHub issue:

Description:

This is a feature request to add driver support for the Aquantia AQC113 and AQC113C Ethernet controllers in FreeBSD. These devices are widely used in modern high-performance networking scenarios, and adding support would enhance FreeBSD's hardware compatibility for servers, NAS systems, and workstations.

Current Behavior:

  • The devices are detected by the system but show no driver attached when checked via pciconf or dmesg.
  • The aquantia-atlantic-kmod driver does not currently support the AQC113 family.

Example pciconf -lv output:

none3@pci0:7:0:0: class=0x020000 rev=0x03 hdr=0x00 vendor=0x1d6a device=0x14c0 subvendor=0x1d6a subdevice=0x0001
    vendor     = 'Aquantia Corp.'
    device     = 'AQC113C NBase-T/IEEE 802.3an Ethernet Controller [Marvell Scalable mGig]'
    class      = network
    subclass   = ethernet

Expected Behavior:

The AQC113 and AQC113C devices should be recognized and functional under FreeBSD, with support for the advanced features these controllers offer, such as NBase-T and 10GBase-T networking.

Additional Context:

  1. Device Details:

    • Vendor: Aquantia Corp. (Marvell)
    • PCI IDs:
      • AQC113: 0x04c0
      • AQC113C: 0x14c0
    • Found in devices like the ASUS XG-C100C v2.
  2. Relevant Resources:

    • OpenBSD’s aq driver supports AQC113 and AQC113C (source code).
    • Linux’s atlantic driver includes support for these devices.
  3. Use Cases:

    • Deployment in high-performance environments such as NAS systems, workstations, and enterprise servers.
    • Increasing adoption of AQC113-based hardware, particularly for 10G networking.
  4. FreeBSD’s Current Limitations:

    • The current aquantia-atlantic-kmod driver supports the AQC107 family but not the AQC113.

Request:

Please consider adding support for the AQC113 family to the aquantia-atlantic-kmod driver or create a new driver for these devices. If testing or hardware access is required, I am happy to assist in debugging and validation.

Logs & System Details:

  • FreeBSD Version: 14.1
  • Relevant Commands:
    • pciconf -lv: See above example.
    • dmesg | grep -i ethernet: Reports devices as detected but unsupported.

Thank you for your time and consideration. Adding support for the AQC113 family would be a significant enhancement to FreeBSD’s hardware compatibility.

Harry-Jing avatar Nov 17 '24 02:11 Harry-Jing