Article View: linux.kernel.netdev
Article #2347Re: [PATCH net-next] net: dsa: motorcomm: Do not do the redundant MIB clear
From: Andrew Lunn
Date: Mon, 12 Oct 2026 13:30
Date: Mon, 12 Oct 2026 13:30
14 lines
6054 bytes
6054 bytes
On Sun, Oct 11, 2026 at 07:10:12AM +0800, David Yang wrote:
> The MIB clear in yt921x_chip_setup() is redundant: it runs right after
> hard reset of the hardware, which already zeroes MIB counters.
Please reword the commit message to address the AI comment, but the
change itself makes sense.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
---
pw-bot: cr
Technical Details
Message-ID:
<c920abea-8334-4d27-98cb-4fdfbc309e04@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344998-linux-kernel-netdev=dewy.ruReferences:
<20261010231015.2600207-1-mmyangfl@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344998-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: dsa: motorcomm: Do not do the redundant MIB clear Date: Mon, 12 Oct 2026 15:30:29 +0200 Organization: Usenet Network Message-ID: <c920abea-8334-4d27-98cb-4fdfbc309e04@lunn.ch> References: <20261010231015.2600207-1-mmyangfl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1791028"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:eq4nJwPYVbv90+7UcMT6UeXqsiU= sha256:zhOiaOBGTgNT1ehaq6dx9sWEwQZnqrCVCyhx8uvHiCs= sha1:pw3a8TF8W5KM6JWVCYTiQZSmgOI= sha256:C6hcGCFuHMlMQOEOxiHEhKhIgCQmVgsFOlDX7bp3LPo= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id CCC4710FBF8; Mon, 12 Oct 2026 17:03:25 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -0.75 X-Spam-Status: No, score=-0.75 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1yfcAKyVmJrn; Mon, 12 Oct 2026 17:03:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-344998-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id C8FC110FBE6; Mon, 12 Oct 2026 17:03:09 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id A12112E7FB; Mon, 12 Oct 2026 13:31:08 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 140F53769F0; Mon, 12 Oct 2026 13:30:44 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="2d75lBRE" X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9D4F371D1D; Mon, 12 Oct 2026 13:30:42 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791811844; cv=none; b=eBrYAjxFwXfAhSvEIRC0Bhh1F8H9XluR/dctxFe7HClGTZUxnipJ8tNZXHdGn0pw+znajFpkIQAYfEvVSSv0GTinGf7AiAT9i/DCrPYbn6TMvhnSDAFz1VNZq6t2FgnP8dbyGW3Gn4GcR1CX3na3uEXrZaBwmrINsvTEXGdBO+s= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791811844; c=relaxed/simple; bh=QV7drw0uq/lEPN9PsDrWoSjvlDZyx4+3SeJGInytyzc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uLHVLZI74YDWkKHAkyCRBrM3RtpHCsbes1AzpTCaaim5cOSWCkQq3ptIU/DUIpKJuP11jpZrV6wptwNoaYq068GZ9UgVDZnyQbYxg1NGU4PQ9Mo7ImM5gvOm2x3tr1K/uLLGZ+HpSopsxPMJfq4zz0ZswDKtGBO32Q7Do3RjXTE= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=2d75lBRE; arc=none smtp.client-ip=156.67.10.101 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=DuZiGly6MG//A57XdYfMe+CWCXBXfmwcJvA+lJ6Y3zY=; b=2d75lBRE+dNphuw/Jhcwgoo2Ww e4wvtn04bBClXiJaeoxCLrf2sZvV8E0QWfvrABR0JfUfvGyLg6Vh+MXeUk7WLgwl5F5L0vLRHVmFx 6d43mkH3XEiuCq6CQEU5nhB7fvwk4wP+2OUr/j/XZoIttEu4O+CgAZuatGN/X20UG2eQ=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xGG6n-00AKVT-Hy; Mon, 12 Oct 2026 15:30:29 +0200 X-Cc: netdev@vger.kernel.org, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, linux-kernel@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261010231015.2600207-1-mmyangfl@gmail.com>