From nobody Tue Jun 9 11:51:27 2026 X-Original-To: dev-commits-src-main@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 4gZS1C2Tfhz6hqRb for ; Tue, 09 Jun 2026 11:51:27 +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 4gZS1C1vQSz3gmJ for ; Tue, 09 Jun 2026 11:51:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781005887; 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=PHajl7iBsmZBh96yv6SANfjY7eaHiqVjp7hE1zOpujSGz0+PIpdnsn9QpTF+WcCzPkJRT0 s4w3wll7WNHdrI3CfWXb1/YdDzN1w1FD4ZLYr/vats//NDwyZOM8+wB9d924gAUgLsgq0S bj6IJyZyTnoCt1H1/F/Vb1pMvPl1E8anFm0WEA+MmSxl9vffW8USTi47EY8CsA0kovmp5B ov743LJYOtsmNoYV1N3AOkODlJONddwiwv1RUDBVlQptLpUsCO0XijtVo3bR5phD2Ucdju BtCDCRCKbJSIIP/0wlrd6FsajMZzexHFIETurXx0pWoq3YGke37W9VoOTv6C6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781005887; a=rsa-sha256; cv=none; b=bt6xcaXWHo+pCYAogQdjaS1ygpiUNmEXrqiIjq1n69ectqc0b/NowDaDn4pTzl3NsUVpf3 q1TtDzo5yoAHzt9C/9y68eIE9lk7v/MJKb83BU6x2zTlgRfeNaH6y6iDikpEd/j23GeXqV cavzpNFUPS52On+GQCyfDAvwOZPsRXr1Yy1CGdP1uMa+cs5HOqdnrNqMx6dinfnXYkKgog j059Gy/WlzJJSrKEh6Oc2LTE5PTd7ZFhLWs+4mX/PAYi82HEq75cEj6MXHSrSewOxecROE a36r/JnX1RChTwwHAiJRhTF9drAJs7pvpAk21Q8f9KkH7Vlh005bzm4dI1L9iQ== 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=1781005887; 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=quB0hTUS/t6ySL628evsqIZxV+cATccgZ7i5gTEuTZxvMaDB6FpUaSB42PMfnyPp2RVexI qyfae+MwhNSMDka1ZoDCW0QiBa+s+k/AxusFADcPGvwp3wXH+gwU2iz/CX0A/yO5OMhXVE g9tr+23WmtSn+u6ZmsSuX3tZ8zQmj1tOF1vi+Cw6fcUF/83k2Zlkwcb4z6azC7s/lc9isZ hCPh6AoJYeppUtfQBsTETNxMJ0tN0Mv18spsWn8hCSwjkQHHSXFNX3tyck4QghhQBYRfrQ mzwXERaTKIr5IRhFviIMOPV/fWShARsFZjZrJzY3TEi2UVp0gRCJnURtXKvd0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gZS1C1VGMzZ7b for ; Tue, 09 Jun 2026 11:51:27 +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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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;