Date: Mon, 30 Dec 2024 19:50:22 -0800 From: "Rudy Rucker (bulk Mail Account)" <crapsh@monkeybrains.net> To: Rebecca Cran <rebecca@bsdio.com> Cc: freebsd-net@freebsd.org Subject: Re: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) Message-ID: <C037BD15-E2FC-4ACF-8DA5-8051C8A57F49@monkeybrains.net> In-Reply-To: <b13ab4a5-5863-4e2b-9b74-52d234b26e13@bsdio.com> References: <b13ab4a5-5863-4e2b-9b74-52d234b26e13@bsdio.com>
next in thread | previous in thread | raw e-mail | index | archive | help
unsubscribe > On Dec 30, 2024, at 7:11=E2=80=AFPM, Rebecca Cran <rebecca@bsdio.com> wrot= e: >=20 > =EF=BB=BFI recently bought a slightly funky device with hopes of using it a= s a router: it's a SolidRun Ryzen v3000 (https://shop.solid-run.com/product/= SRRV318S01D64GE000H10IH/) with a "AMD Ryzen Embedded V3C18I 8-Core Processor= ". >=20 > It has 2x AMD 10 Gigabit EthernetSFP+ ports built-in, but I'm having troub= le 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}.li= nk_workaround=3D1 but it doesn't have any effect. >=20 >=20 > https://solidrun.atlassian.net/wiki/spaces/developer/pages/592904196/Honey= Comb+AMD+V3000+mini+ITX+Quick+Start+Guide mentions that "As of JUL 7 2024 (Fre= eBSD 14.01) the AMD XGBE driver on FreeBSD does not fully support SFP later v= ersion will eventually have the driver fixed" and I'm wondering if there's a= ny active work on this, any workarounds, or if I should try 14-STABLE instea= d? >=20 >=20 > Boot dmesg shows: >=20 > 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 >=20 >=20 > When I run "ifconfig ax1 up": >=20 > # 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 >=20 >=20 > But "ifconfig ax1" still shows: >=20 > ax1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150= 0 > options=3D4e503bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWC= SUM,TSO4,TSO6,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTP= G> > ether d0:63:b4:05:b4:a8 > media: Ethernet autoselect > status: no carrier > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >=20 >=20 > -- > Rebecca Cran >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C037BD15-E2FC-4ACF-8DA5-8051C8A57F49>