From nobody Fri Sep 9 15:32:23 2022 X-Original-To: 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 4MPKjz62Q6z4bfhX for ; Fri, 9 Sep 2022 15:32:23 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPKjz4jMdz3skc for ; Fri, 9 Sep 2022 15:32:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MPKjz3q1Mz1Fcr for ; Fri, 9 Sep 2022 15:32:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 289FWNJQ062381 for ; Fri, 9 Sep 2022 15:32:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 289FWNbr062380 for net@FreeBSD.org; Fri, 9 Sep 2022 15:32:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 263820] dwc: dwc driver is not able to receive packets after adding new MAC address Date: Fri, 09 Sep 2022 15:32:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662737543; 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: in-reply-to:in-reply-to:references:references; bh=9+g86De+EUyLOcWEfB2558w8MLzCkWP9A3S058V+TOA=; b=LJw3R2/8ebIbVgwBbia17H9slMmvrlJF2R0aiiowj94jTYEQ1084PJtSUp1snYSzKWGFs7 nPljDIeah9KG6aukFtCXonyUKGBUHP2JlJDSsWwe5+F3KyALrw4VKgydgCoD3L4yQiqGgN AVoJS3wpGy5bLbCs1dzgZ1gHDnrVI6XiXGIWdL9RrheVvGF4TWack/ZCJtgbM9OA5X7tFu NW3DAWIUOOxaBeQY7EMPWPt0V7borMn+cDyosaoMMA57opfu7w0uAXFRxzi96LjejK+VNZ Xbis3R1pC2EoVsSVi7y3GRNoV/ptl+ql9quxbNPBI/vWtbb/QmqM93GKYjE6iw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662737543; a=rsa-sha256; cv=none; b=X30IRgrKKlT6D+js1a2GWmnhD6/49ncwuKLNV9wysixheOCyYGjSZ+aGcrWJrXhb3feDWV vg6cz7ZAMOqdWiHTJjQbXZEsBpUzp54lp8+BqqwBtp2lKz3B21XgFsQbhEe38JoZftpY/i mq+emR4Wc4Pc/9ryBJ9kggGgG7REX2goxsVdjmY39tg3rJfLI3laH//uV/Pyjq7D1M7uwe pxwr0ltOVPEn+dyKWChCaY1bgdR2GxaMfdvmwKNMy7wSYEoy6E+/nB5t+zRRVTyIl3zxAY JAEQh8T21+CLk3E78lj+zP8WbVAZ3sJ6UsNi9gMb8+lqOFQipPfUJhB9m8gDEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263820 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6501fcdc0a97faa3c59f6ece314bf7754= 303db6f commit 6501fcdc0a97faa3c59f6ece314bf7754303db6f Author: Jiahao LI AuthorDate: 2022-09-08 15:50:37 +0000 Commit: Mitchell Horne CommitDate: 2022-09-09 15:31:26 +0000 if_dwc: fix reinitialization with changed MAC It was observed that on RockPro64 hardware, the dwc interface is unable to receive packets after being assigned a new MAC address. The fix is simply to call mii_mediachg() before touching any device registers in dwc_init_locked(). This is consistent with what the OpenBSD driver does. PR: 263820 MFC after: 1 week sys/dev/dwc/if_dwc.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=