Bug 238324 - Add XG-C100C/AQtion AQC107 10GbE NIC driver
Summary: Add XG-C100C/AQtion AQC107 10GbE NIC driver
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net mailing list
Keywords: feature, needs-patch
Depends on:
Reported: 2019-06-04 16:39 UTC by Anda
Modified: 2020-01-22 14:37 UTC (History)
6 users (show)

See Also:
koobs: mfc-stable12?
koobs: mfc-stable11?

v11.2 kernel compiled (25.30 KB, application/zip)
2019-06-29 07:37 UTC, Luckas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anda 2019-06-04 16:39:48 UTC
Add drivers for AQtion AQC107 chips and ASUS XG-C100C. 

Driver from AQN support:

I got the link via a support ticket from the chipmaker (Aquantia). They told me 6 weeks ago that they are wokring on a driver. I just asked them for a update today and the provided me with the link. On the driver site(https://www.aquantia.com/support/driver-download/) its not up yet.
Comment 1 Anda 2019-06-21 17:10:25 UTC
The driver is now publicly available via there website.

Comment 2 Luckas 2019-06-29 07:37:23 UTC
Created attachment 205409 [details]
v11.2 kernel compiled

v11.2 kernel compiled
Comment 3 Luckas 2019-06-29 07:37:58 UTC
I've send a few messages to Aquantia and I've finally found how to compile the driver.
The last github version is here (now v0.0.4): https://github.com/Aquantia/aqtion-freebsd/archive/master.zip
I've compiled the driver and obtained the if_atlantic.ko file.
The instructions to compile are:

    Load sources: fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz
    Become superuser: su
    Unzip sources: tar xzf /tmp/src.txz -C /
    Download archive with driver and extract it
    Build driver: make
    Load driver: kldload ./if_atlantic.ko

I've attached here the if_atlantic.ko result file for v11.2 kernel.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2019-07-09 02:56:59 UTC
I have a port WIP for this, which may be the best place for the network driver in the first instance. At last test it was failing to build on one supported base branch
Comment 5 Ole-Martin 2019-08-06 21:02:59 UTC
11.2 kernel pfsense attached .ko worked Pfsense 2.4.4-p3.

Tried build in vm (Newly built) and failed V0.0.2(AQ website) and 0.0.4 (github)

adding myself for visibility.
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2019-08-07 01:40:09 UTC
I'll have this QA'd / landed in ports mid next week
Comment 7 commit-hook freebsd_committer 2019-09-02 06:27:43 UTC
A commit references this bug:

Author: koobs
Date: Mon Sep  2 06:27:38 UTC 2019
New revision: 510761
URL: https://svnweb.freebsd.org/changeset/ports/510761

  [NEW PORT] net/aquantia-atlantic-kmod: Aquantia AQtion (Atlantic) Network Driver (Development Preview)

  Aquantia AQC multigigabit NIC FreeBSD Driver


   * Aquantia AQtion 10Gbit Network Adapter
   * Aquantia AQtion 5Gbit Network Adapter
   * Aquantia AQtion 2.5Gbit Network Adapter

  WWW: https://github.com/Aquantia/aqtion-freebsd

  PR:		238324
  Reported by:	many

Comment 8 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-02 06:31:30 UTC
Port of driver (v.0.0.4) is now avalaible in ports. v.0.0.2 was failing on versions > stable/12. This version was tested on 11/12/13{i386,amd64}. It will not be merged to the quarterly branch. Packages at least on those ARCH's should be produced within the next 1-2 days.

This issue now needs patches against base head to progress, if the drivers are to be made available in STABLE branches and subsequent -RELEASES
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-02 06:34:31 UTC
Job is done (in ports), reset assignee to progress in base