Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2024 20:10:58 -0700
From:      Rebecca Cran <rebecca@bsdio.com>
To:        freebsd-net@FreeBSD.org
Cc:        andrew@FreeBSD.org, rajesh1.kumar@amd.com
Subject:   if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2)
Message-ID:  <b13ab4a5-5863-4e2b-9b74-52d234b26e13@bsdio.com>

next in thread | raw e-mail | index | archive | help
I recently bought a slightly funky device with hopes of using it as a 
router: it's a SolidRun Ryzen v3000 
(https://shop.solid-run.com/product/SRRV318S01D64GE000H10IH/) with a 
"AMD Ryzen Embedded V3C18I 8-Core Processor".

It has 2x AMD 10 Gigabit EthernetSFP+ ports built-in, but I'm having 
trouble getting FreeBSD to detect a link. I'm using a FS SFP-10GSR-85 
transceiver connected to a Zyxel XS1930-10 switch: the switch shows the 
link as active, but FreeBSD never detects it on its end. I've tried 
setting dev.ax.{0,1}.link_workaround=1 but it doesn't have any effect.


https://solidrun.atlassian.net/wiki/spaces/developer/pages/592904196/HoneyComb+AMD+V3000+mini+ITX+Quick+Start+Guide 
mentions that "As of JUL 7 2024 (FreeBSD 14.01) the AMD XGBE driver on 
FreeBSD does not fully support SFP later version will eventually have 
the driver fixed" and I'm wondering if there's any active work on this, 
any workarounds, or if I should try 14-STABLE instead?


Boot dmesg shows:

ax0: <AMD 10 Gigabit Ethernet Driver> mem 
0xfce60000-0xfce7ffff,0xfce40000-0xfce5ffff,0xfce82000-0xfce83fff at 
device 0.2 on pci4
ax0: Using 512 TX descriptors and 512 RX descriptors
ax0: Using 3 RX queues 3 TX queues
ax0: Using MSI-X interrupts with 7 vectors
ax0: Ethernet address: d0:63:b4:05:b4:a7
ax0: SPH Enabled
ax0: xgbe_config_sph_mode: SPH enabled in channel 0
ax0: xgbe_config_sph_mode: SPH enabled in channel 1
ax0: xgbe_config_sph_mode: SPH enabled in channel 2
ax0: RSS Enabled
ax0: Receive checksum offload Enabled
ax0: VLAN filtering Enabled
ax0: VLAN Stripping Enabled
ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2
ax0: netmap queues/slots: TX 3/512, RX 3/512
ax1: <AMD 10 Gigabit Ethernet Driver> mem 
0xfce20000-0xfce3ffff,0xfce00000-0xfce1ffff,0xfce80000-0xfce81fff at 
device 0.3 on pci4
ax1: Using 512 TX descriptors and 512 RX descriptors
ax1: Using 3 RX queues 3 TX queues
ax1: Using MSI-X interrupts with 7 vectors
ax1: Ethernet address: d0:63:b4:05:b4:a8
ax1: SPH Enabled
ax1: xgbe_config_sph_mode: SPH enabled in channel 0
ax1: xgbe_config_sph_mode: SPH enabled in channel 1
ax1: xgbe_config_sph_mode: SPH enabled in channel 2
ax1: RSS Enabled
ax1: Receive checksum offload Enabled
ax1: VLAN filtering Enabled
ax1: VLAN Stripping Enabled
ax1: netmap queues/slots: TX 3/512, RX 3/512


When I run "ifconfig ax1 up":

# ifconfig ax1 up
ax1: SPH Enabled
ax1: xgbe_config_sph_mode: SPH enabled in channel 0
ax1: xgbe_config_sph_mode: SPH enabled in channel 1
ax1: xgbe_config_sph_mode: SPH enabled in channel 2
ax1: RSS Enabled
ax1: Receive checksum offload Enabled
ax1: VLAN filtering Enabled
ax1: VLAN Stripping Enabled


But "ifconfig ax1" still shows:

ax1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4e503bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
         ether d0:63:b4:05:b4:a8
         media: Ethernet autoselect
         status: no carrier
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


-- 
Rebecca Cran




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b13ab4a5-5863-4e2b-9b74-52d234b26e13>