Tuesday, December 22, 2020

sfp+ ethernet

Introduction

This is getting 10GbE working on a relatively old computer

2020-W52-1

Setup

Asus 10G SFP+ NIC (XG-C100F)
Dell Inspiron 3647 (i3-4170) running Ubuntu 20.04 LTS

Steps

  1. download repository: https://github.com/Aquantia/AQtion
  2. follow instructions per README
    1. installed dkms per https://community.clearlinux.org/t/how-can-install-asus-10gb-ethernet-driver/4362/4
  3. install ethtool
  4. read out data
user@user-510-p136:~/AQtion-master$ ethtool enp1s0
Settings for enp1s0:
Supported ports: [ FIBRE ]
Supported link modes:   100baseT/Full 
                        1000baseT/Full 
                        10000baseT/Full 
                        2500baseT/Full 
                        5000baseT/Full 
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:  100baseT/Full 
                        1000baseT/Full 
                        10000baseT/Full 
                        2500baseT/Full 
                        5000baseT/Full 
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000005 (5)
       drv link
Link detected: no


user@user-510-p136:~$ sudo ethtool -s enp1s0 speed 10000 duplex full autoneg off


Notes:
1. originally instructed to download drivers from Asus website https://www.asus.com/Networking-IoT-Servers/Wired-Networking/All-series/XG-C100F/HelpDesk_Download/
but found that original drivers could never finish due to this error:
~/aquantia/Linux-200/aq_compat.h:101:12: error: ‘struct sk_buff’ has no member named ‘xmit_more’
  101 |  return skb->xmit_more;

2. originally thought that I was missing 10GbaseT, but it was just because I expected it to be in numerical sort, vs alphabetical sort. See highlight

No comments:

Post a Comment