From nobody Tue Jun 9 11:51:27 2026 X-Original-To: dev-commits-src-all@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 4gZS1J4xkjz6hqD4 for ; Tue, 09 Jun 2026 11:51:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gZS1J2Yyfz3gmm for ; Tue, 09 Jun 2026 11:51:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781005892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZM5DNKMoVHhQGK9uncOgKe5G2UqRl9AEAMm7cOtVVis=; b=WNhjH3rqAbvAbbRwYuGmQkWEYqYrdOS8i2RgzIXJ/a6cPQEX17GA/4RQ7HiNt1C7cH1ss9 HiRpIr7pibE+WffSR0+dklWNZQwQ9Dny8p+hyQYS2CUCrUS8fLXijTvhS7bQcdB3htxi1n HRezf5A6w8V2I1V49kFLJmjYxeLmtjRwKTMWMKMIm1qPL+3apAaGFzeZDS6GmiACS3qzyj gyFrYnxnZ9eN9z5TO51HEnUHcLlm5GKY8HYf5igjzT+5Av93Riap9u8zGcA2cv8DTgtdAo 6HgHt2PIpXpYW9rPXDm66M6kic0O0MdyHMeD4U08M5sYL+7GlANrIk5snLApxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781005892; a=rsa-sha256; cv=none; b=bwQEwScpAtP1JS3h6CvhOStqdMWzCBe5P4sqDs4GkmDejl1S5U35qJRumwgmkm+eEahNj4 H+LE7Dx00qBhPZw7hb8GQGFijBr4zlv1O7J22FmSRFDg0wG0ZHk9g1kEkU6mK6qMJXm0e7 IQj6dmepWpKYjMWACmoG86G9v16vhbrrSDlzTtptXj2ApcVYXJLw13fF4bdC/tehqA1a9u QHVxDRvIqvrY3bvILO/KqS1QzAg+UPNGCIaVCySMAwqTfF0idLRLQAO+foGmiwzxYlEl/9 hjjjVttPzcqsdnUVbuNczmfAMGrYBV6u9UBXev87AZ44btPqHwSZinhG6YKvsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781005892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZM5DNKMoVHhQGK9uncOgKe5G2UqRl9AEAMm7cOtVVis=; b=DfvF61RAQHt7gsoLEQSiwWxoxfFLffDGk25VUTffBLnEsWafMU+juEE3eVVx80XklFUCoC lfR5FVwos8aiKW468Z0YoiPveYmw22eFN3+pnJU8GDMjt2FiHxS9ClQTpjJ7v8VPqj64Pk hgK8QwnI2aeA9cotmuxR5Y8gFYrpx7ihuel2ggcdyiTgscK4X7kxWXrnwCfMC9R/oxbjSV 9Ahhh4GoooumFxPfGMHzx4wLq9jdP1clf0lnZmHaONpseKv0pPHnR/FErwUa/NenmiFsT7 vUyFM6UiFstueJkXUruQrV2YIGM4tVQLcoGW0OdYkWJ/q+F1/CgdN/BVeix5Dg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gZS1J1zclzZMS for ; Tue, 09 Jun 2026 11:51:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3866b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 09 Jun 2026 11:51:27 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Tai-hwa Liang Subject: git: 8011f6b0d8ba - main - if_axge: remove AXGE_RX_MII_ERR from packet dropping criteria List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: avatar X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8011f6b0d8ba2ee18a60f3bd719f950081a474b3 Auto-Submitted: auto-generated Date: Tue, 09 Jun 2026 11:51:27 +0000 Message-Id: <6a27fe3f.3866b.5589aeb1@gitrepo.freebsd.org> The branch main has been updated by avatar: URL: https://cgit.FreeBSD.org/src/commit/?id=8011f6b0d8ba2ee18a60f3bd719f950081a474b3 commit 8011f6b0d8ba2ee18a60f3bd719f950081a474b3 Author: Tai-hwa Liang AuthorDate: 2026-05-15 14:32:03 +0000 Commit: Tai-hwa Liang CommitDate: 2026-06-09 11:51:09 +0000 if_axge: remove AXGE_RX_MII_ERR from packet dropping criteria Packets received with the following configuration are associated with AXGE_RX_MII_ERR, which looks legit since there's no AXGE_RX_CRC_ERR or AXGE_RX_DROP_PKT attached: axge0: on usbus0 miibus0: on axge0 rgephy0: PHY 3 on miibus0 rgephy0: OUI 0x00e04c, model 0x0011, rev. 5 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow Without this, 'dhclient ue0' never gets valid lease as all the DHCP replies are dropped by the driver. This behaviour is align with the reference driver provided by the vendor(ASIX_USB_NIC_Linux_Driver_Source_v3.5.0.tar.bz2). MFC after: 2 weeks --- sys/dev/usb/net/if_axgereg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/net/if_axgereg.h b/sys/dev/usb/net/if_axgereg.h index 87e662b6cbc1..5cc9edeaf3b8 100644 --- a/sys/dev/usb/net/if_axgereg.h +++ b/sys/dev/usb/net/if_axgereg.h @@ -197,7 +197,7 @@ struct axge_frame_rxhdr { #define AXGE_RXBYTES(x) (((x) & AXGE_RX_LEN_MASK) >> AXGE_RX_LEN_SHIFT) #define AXGE_RX_ERR(x) \ - ((x) & (AXGE_RX_CRC_ERR | AXGE_RX_MII_ERR | AXGE_RX_DROP_PKT)) + ((x) & (AXGE_RX_CRC_ERR | AXGE_RX_DROP_PKT)) struct axge_softc { struct usb_ether sc_ue;