Date: Fri, 3 Jan 2025 10:49:24 +0800 From: Zhenlei Huang <zlei@FreeBSD.org> To: Rebecca Cran <rebecca@bsdio.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@FreeBSD.org>, "andrew@freebsd.org" <andrew@FreeBSD.org>, rajesh1.kumar@amd.com, Franco Fichtner <franco@opnsense.org> Subject: Re: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) Message-ID: <478581BA-CC9B-4FEB-9E23-FED19D0C9314@FreeBSD.org> 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
Hi, > On Dec 31, 2024, at 11:10 AM, Rebecca Cran <rebecca@bsdio.com> wrote: >=20 > 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". >=20 > 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=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 (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? IIRC, Franco reported that those cards work greatly with FS transceivers = ? >=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 = 1500 > = options=3D4e503bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWC= SUM,TSO4,TSO6,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEX= TPG> > ether d0:63:b4:05:b4:a8 > media: Ethernet autoselect > status: no carrier > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >=20 >=20 > --=20 > Rebecca Cran >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478581BA-CC9B-4FEB-9E23-FED19D0C9314>