From nobody Wed May 11 14:32:44 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 906CF1AC3277 for ; Wed, 11 May 2022 14:32:45 +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 4Kyy712x0tz3KkL for ; Wed, 11 May 2022 14:32:45 +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 460781BAC2 for ; Wed, 11 May 2022 14:32:45 +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 24BEWjp0073740 for ; Wed, 11 May 2022 14:32:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24BEWjex073739 for net@FreeBSD.org; Wed, 11 May 2022 14:32:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www 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: Wed, 11 May 2022 14:32:44 +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: mhorne@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: bug_status cc 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=1652279565; 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=W18P7MBIEzTCOReATsWi+ka6+sKfUkyLnTWSexSmvss=; b=WMXQFVbRoJVqDafnzqbIgrWvNnX9ZZqQ47kojTk9+YTUIAl2EFKZGi6FhukKm3EQVKGMzI Wy9ObXfCN+oghvIwuFqvoqTZ0AbMbUsMkUyJH3iSuwiz/NaY1UorGWdOcBwPkhlD6pQ6jo F+fITU8Wp7vh8UXR6Nu1jGyqdq2dUBXjC7GMJz+MfrPxl9X9BaKUnjuDSwCI7RiofXKtqi jCRAfPY6vXbpbBDEHm7DGOpv2wHoIfmHub8Y1h5gp6ubzuZgHnlAjMs9OkrDRbhwEl6BK2 s04uD/n/pbSLb06TpVjx8QpC6yrPlGeIfxF2xNKr0S3j2bQt0q1wua1YjawCMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652279565; a=rsa-sha256; cv=none; b=gbnCRY9LBYfwyC8ZkVw1MwFyI+cVBEh5UFmvLzk7mQjod35KpbBV+MF25DXTlukeZPYuNa WHCYXw50cKxlGU2afIOE+kjzkZHz05r+3bRw/pS6zfOdtrmb/ZNRN0OTwpiYSsj7zI7EMA 2810yqwWj8MOrewYo7cp38HxerSa412rD/G8ilBE5PqOAuFrM+mXxnz8hYpvyQwnjinXlX fUddPThoIPFVt5cGSZVcJKHHE77ElhTnjHpvFqO/88EZk2Tm7x1gNZENHarfCfYpW4v73i 0XvO7kHOSbE6AJLnjCGIodMfFDfcGbc+XyLmAoOW36VkzfSxVA+uWbcOGrF7eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263820 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |mhorne@freebsd.org --- Comment #1 from Mitchell Horne --- (In reply to Jiahao LI from comment #0) Hi, I agree it is unintuitive why your patch seems to fix the issue (or why the issue exists). Can you narrow it down further: is it the second call to dwc_setup_macaddr() or its placement at the end of dwc_init_locked() that m= akes the difference? Having looked through a few other NIC drivers, they follow much the same structure for setting the MAC address. I will have to see if I can reproduce the bug on my particular hardware. --=20 You are receiving this mail because: You are the assignee for the bug.=