From nobody Tue Dec 31 03:10:58 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YMdK806x1z5jS4R for ; Tue, 31 Dec 2024 03:11:08 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from fhigh-b4-smtp.messagingengine.com (fhigh-b4-smtp.messagingengine.com [202.12.124.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMdK73jXHz4rlG; Tue, 31 Dec 2024 03:11:07 +0000 (UTC) (envelope-from rebecca@bsdio.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdio.com header.s=fm3 header.b=JBK7bcrk; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=H22atSuw; spf=pass (mx1.freebsd.org: domain of rebecca@bsdio.com designates 202.12.124.155 as permitted sender) smtp.mailfrom=rebecca@bsdio.com; dmarc=none Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id CD28925401E8; Mon, 30 Dec 2024 22:11:06 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 30 Dec 2024 22:11:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1735614666; x=1735701066; bh=DD oG1wt1qvDA71M67GvhjXsO29EQKQRlnrdqqOOYvJ4=; b=JBK7bcrka2NJwXTLS5 Pu/OQpZCZQwOO+COZcGfHoeH00uO3eDvC8XIGQjzUFAdL8/rhOHf+YyBHNsdGhrl h8Rrl30GNohIkQbm+dNcgWN69kxdY5Px+se9KFpD97kcV/TQDLBTktbDue6UGK3Q M4tcKUnGRT4SxOL/lAy1SKhZoQuqqcyX83J7sbJIsjpDsVo1Rmciq5pbUwxqDdDh zj6TTtsJag5b/uI/IsF9IRf/Dg0mDh22IWcado1zBVNuGEHakItibCaCa8ou24l6 7vgNKZ6KBHOwLevBi+ghTZ1CfgKMXQXCWxt1Io5SC0f/g98KtYQV61A5ZJrKfxJQ VAyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1735614666; x=1735701066; bh=DDoG1wt1qvDA71M67GvhjXsO29EQ KQRlnrdqqOOYvJ4=; b=H22atSuw5wyuw33Ky6zhWrTqSg0xmUo7Q4K1o8pEvQML uxg66+2q18HTZpoPr2XdkzG+Z2o77vDz1e83NwIuU3PPXA1IaMgQ8j88rsAlWw53 OtrJHrpYqwY498CGPYHrxComRKXRRE37p7/YDa0DV6HPtaciTl+M0ykRCNMfzZ82 2doI5NDmhnMTYhefA1oTPwZH2z5aWJTkONlazBYSCqC2znjSaPQpzTXPy+uIQ+4X RThxB6On1p1okEf36i8UIL1ie2pFDh/qtYp6Zr2CpyZv7p7fD8EoBg+hUtKDIhCX 6kuPNH2XvzTmCNrCUSW9QgFKjHzo0WsYEq0V7ntePQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddvjedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffoh hmrghinhculdegledmnecujfgurhepkfffgggfvffhufevtgfgsehtkeertddtvdejnecu hfhrohhmpeftvggsvggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtoh hmqeenucggtffrrghtthgvrhhnpeduveeigeetffeiieevfefgleeiheehgfffheekleej ueelueffueeuvdfhjeekhfenucffohhmrghinhepshholhhiugdqrhhunhdrtghomhdprg htlhgrshhsihgrnhdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehrvggsvggttggrsegsshguihhordgtohhmpdhnsggprhgtphhtth hopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdhnvght sehfrhgvvggsshgurdhorhhgpdhrtghpthhtoheprghnughrvgifsehfrhgvvggsshgurd horhhgpdhrtghpthhtoheprhgrjhgvshhhuddrkhhumhgrrhesrghmugdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Dec 2024 22:11:05 -0500 (EST) Message-ID: Date: Mon, 30 Dec 2024 20:10:58 -0700 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-net@FreeBSD.org Content-Language: en-US From: Rebecca Cran Subject: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) Cc: andrew@FreeBSD.org, rajesh1.kumar@amd.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.952]; R_DKIM_ALLOW(-0.20)[bsdio.com:s=fm3,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.155:from]; XM_UA_NO_VERSION(0.01)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[bsdio.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@FreeBSD.org]; DKIM_TRACE(0.00)[bsdio.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4YMdK73jXHz4rlG X-Spamd-Bar: --- 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: 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: 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 metric 0 mtu 1500 options=4e503bb         ether d0:63:b4:05:b4:a8         media: Ethernet autoselect         status: no carrier         nd6 options=29 -- Rebecca Cran