From nobody Fri Sep 16 17:41:10 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 4MThFM1bCBz4cgCt for ; Fri, 16 Sep 2022 17:41:11 +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 4MThFM0bWNz3ySy for ; Fri, 16 Sep 2022 17:41:11 +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 4MThFL6mMkzRGG for ; Fri, 16 Sep 2022 17:41:10 +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 28GHfAMc045122 for ; Fri, 16 Sep 2022 17:41:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28GHfABj045121 for net@FreeBSD.org; Fri, 16 Sep 2022 17:41:10 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, 16 Sep 2022 17:41:10 +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=1663350071; 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=ilvyaJ4e24lUnaOOiWawYifDGEIp8uOa6VKqZ8D6rPM=; b=Sa/JdWpM2Tdx9+LySfYxWX4YxZdOLmFj1QS7XtuIpoyuFZgkYdMuZKPXvac1jadpK8JRNN AXWwyeAtRBhxjX7uFnTFhzMHQ6u5k7vPFfwEhWXuTn8HdZJopN66/KAN+H2GT7oYNvQjFS wWSpI8Rod/6z+KWQ2Ubt/misI+YuCC/ajDyvJHB5i6MACNzNKLzzzidUsc5dSF7XZC3tsg 0076phg2cr+RBZ5BHV1Jxx4o5D63KcejBfC5sT5tG0N7N8N82SboIw0c6Bgz/eSv0rlvZ0 uaCxOZeHGTKMJ494aoQthH9EVxyYKlmHxLydmb4h9/A/ymJmtz4RclDGiCWWZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663350071; a=rsa-sha256; cv=none; b=FSHRxZ+nEoA4aCsk6zf1vxs0i0skzxsherbBr95gLezPyJabIqmcWdA64weFzD3ehtffmm X7yOACWbFf3sFLCOeERllRwa0YZpYD9Jzqr1MQHiVRNziLs4e0cfqe9Vjh06KcK6mhZdmA JI/SwyLUIvU3xljT6CbUzksC6jeXZSekEi5kyCqNcKD9TLblf2WZV6/VdYU8rx3ZG4OZJT rTHbcnS2Q8spfAM3yG4hjCxGwUfyG6xdkGLZPSwKk3B4MdICyfzs5U0N+fiJyy1JYm5sUq mUtFxpHyn7uZ/B9/ATF5XEVusynCQ3lhLey3i8wGe71nMrBbf1SNm0hHbhYqbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263820 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9465af5ee2de0374b143802ea32823c45= f3d73be commit 9465af5ee2de0374b143802ea32823c45f3d73be Author: Jiahao LI AuthorDate: 2022-09-08 15:50:37 +0000 Commit: Mitchell Horne CommitDate: 2022-09-16 17:34:48 +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 (cherry picked from commit 6501fcdc0a97faa3c59f6ece314bf7754303db6f) 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.=