Article View: linux.kernel.netdev
Article #7765reply to Theo's questions
From: Zijin Tao
Date: Tue, 27 Oct 2026 07:23
Date: Tue, 27 Oct 2026 07:23
230 lines
13080 bytes
13080 bytes
Hi Theo: Sorry for having missed important things. I would like to append some explanations here. Thanks, Zijin Tao At 2026-10-14 01:55:03, "Théo Lebrun" <theo.lebrun@bootlin.com> wrote: >Hello Zijin, > > - I'll stop replying inline because you seem to be having issues with > your mailer. Please fix it to ease the discussion. > > See here how your email looks: > https://lore.kernel.org/netdev/63731290.3f0c.1a1198fe993.Coremail.taozj888@163.com/ > > - Your V4 commit message says "Fixes: 89e5785fc8a6" but that is wrong > with the current patch, it shold use 4df95131ea80. I don't > understand why you are talking about the changelog at the same time, > this is unrelated. > Yes, I made a mistake in V4 commit message with an oversight, it should use 4df95131ea80, so I just revised it to 4df95131ea80 in the V5 patch, and I will use it in possible later patches. > - You skipped over explaining why your dropped the start_xmit diff. > >I'll have to stop reviewing if you skip over parts of the messages. >I gave you a TLDR and you skipped over the first bulletpoint. > Sorry, I forgot to make an explanation here, maybe due to an omission. Now I would like to amend it: Actually when I started to rate limit the error messages in the data path, I saw the netdev_err message print in both the gem_rx_refill and at91ether_start_xmit, and I knew they are also in the data path. But for the following reasons I just omitted adding rate limits for them: 1. For the netdev_err in the gem_rx_refill, there is a "unlikely(!skb)" to check if the skb is NULL which is a rare case, so I think it's not so needed to add a rate limit here; 2. For the netdev_err in the at91ether_start_xmit, I think it belongs to another vendor which I am not familiar with, and I didn't know how popular it was used, even I was not authorized to change it with my will also. If you think it's better or needed to add a rate limit for them, I would like to do it in later possible patches. Would you please give your opinion here? >Thanks, > >-- >Théo Lebrun, Bootlin >Embedded Linux and Kernel engineering >https://bootlin.com > >text: >Mime-Version: 1.0 >Content-Transfer-Encoding: quoted-printable >Content-Type: text/plain; charset=UTF-8 >Date: Thu, 08 Oct 2026 14:59:55 +0200 >Message-Id: <DLZH4LPJ36YW.1CP7RL0J77DHN@bootlin.com> >Subject: Re: [PATCH net v4] net: macb: rate limit netdev error info print in > the data path >Cc: <stable@vger.kernel.org>, "Conor Dooley" <conor.dooley@microchip.com>, > "Andrew Lunn" <andrew+netdev@lunn.ch>, "David S. Miller" > <davem@davemloft.net>, "Eric Dumazet" <edumazet@google.com>, "Jakub > Kicinski" <kuba@kernel.org>, "Paolo Abeni" <pabeni@redhat.com>, "Jeff > Garzik" <jeff@garzik.org>, "Haavard Skinnemoen" <hskinnemoen@atmel.com>, > "open list:NETWORKING DRIVERS" <netdev@vger.kernel.org>, "open list" > <linux-kernel@vger.kernel.org> >To: "taozj888" <taozj888@163.com> >From: =?utf-8?q?Théo_Lebrun?= <theo.lebrun@bootlin.com> >X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 >References: <20261007053211.572073-1-taozj888@163.com> > <DLYI3O7PFN94.V7VH3HSLKEMD@bootlin.com> > <63731290.3f0c.1a1198fe993.Coremail.taozj888@163.com> >In-Reply-To: <63731290.3f0c.1a1198fe993.Coremail.taozj888@163.com> >X-TUID: tHkCkOndXaQQ > >Hello Zijin, > > - I'll stop replying inline because you seem to be having issues with > your mailer. Please fix it to ease the discussion. > > See here how your email looks: > https://lore.kernel.org/netdev/63731290.3f0c.1a1198fe993.Coremail.taozj888@163.com/ > > - Your V4 commit message says "Fixes: 89e5785fc8a6" but that is wrong > with the current patch, it shold use 4df95131ea80. I don't > understand why you are talking about the changelog at the same time, > this is unrelated. > > - You skipped over explaining why your dropped the start_xmit diff. > >I'll have to stop reviewing if you skip over parts of the messages. >I gave you a TLDR and you skipped over the first bulletpoint. > >Thanks, > >-- >Théo Lebrun, Bootlin >Embedded Linux and Kernel engineering >https://bootlin.com
Technical Details
Message-ID:
<20261027072338.106540-1-taozj888@163.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352256-linux-kernel-netdev=dewy.ruReferences:
<63731290.3f0c.1a1198fe993.Coremail.taozj888@163.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-352256-linux-kernel-netdev=dewy.ru From: taozj888@163.com (Zijin Tao) Newsgroups: linux.kernel.netdev Subject: reply to Theo's questions Date: Tue, 27 Oct 2026 15:23:37 +0800 Organization: Usenet Network Message-ID: <20261027072338.106540-1-taozj888@163.com> References: <63731290.3f0c.1a1198fe993.Coremail.taozj888@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1484412"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:B56+cCf232HVbFf5Q9XKsl1CbU8= sha256:+jLT1L57IXDinL2qaZE45oJYHzLU3P3/H+V3GqDrodw= sha1:bT7k/+/UniRKgwCNpKWsXpdxd8k= sha256:98mTAmTJOCJhdsa9Xser1KZ2ggNy0TBwCs5zpAAhmWI= 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 204AD125BDE; Tue, 27 Oct 2026 10:25:55 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.046 X-Spam-Status: No, score=-3.046 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, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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=163.com 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 BPSUuPj4qe6o; Tue, 27 Oct 2026 10:25:46 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352256-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=163.com X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id E2C20125BDC; Tue, 27 Oct 2026 10:25:37 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id D9C8B260F8; Tue, 27 Oct 2026 07:24:58 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793085898; b=HOB2mKFjOXqMN7FbctNCKsmIvj31pxbQHgb/KiQLPAZfWZtdGrWRGZsdgxZHwRoI+bUs 23HD8d+avyvL+KiDlcoc7mv2agyagC1ozcfTIonNsm9lKMrefdYxhw5TPHzTAjQRR36jX jTdfoQQhpXR6UClfa7zVQOer9KTfXBICja3nqZ0QJO0FsxVcp9yL5SRwuFfLzOp5L38tp +AdjIyVtwU9+OSjMjq9HTHUBJOM05j1tbS+JBRS26QopfE2ufGA2Xg76BoNI+/mcCJwYn Gw1OZ81SwxLtp15E/W1UyqxPZNDIxf2wZhvmVT8o/3MEjy0t06dv2kh9kwRouMHDXLw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793085898; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To: Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam: X-CM-SenderInfo; bh=CAMDTx+A/6qjs3rCvYy7knsHqtM0dksG0ov+15rFt04=; b=V7BhKCs6IpTSzsAkMmZue63w8ksGflVCk3QO4Bntolw22IkF8MLR8er0ORZEK/A4b+tz 6d3PWuYFJUtYoZfUMX4HkAicdAmtyjPP8a4mifjWl37vYL3TIR/EFBoMW4zEh4KDrwok2 ua3r8no3i3soZh7K6STkx/EZOmDKrAZ1UnL66vrkY7qbvxSk6NkQ3fW5nXvhhz+mFWKic +Ex0BEv4Rt7GFbseHknSgQH7ix+lF94nXDBHDUmxtXDrLHEoTrTzhocDfLp5WldLBG+OA 59wfP7tfwyERGPgaS7NCgohsB7fxb588do7odNyFSeNjshZN4vUGXU/Ypa5TrFN3Kiw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=cf9J2xJY; dmarc=pass header.from=163.com; spf=pass smtp.mailfrom=163.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97F34606A323; Tue, 27 Oct 2026 07:24:58 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=cf9J2xJY X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=117.135.210.2 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793085887; b=Dbf8uAeGg9TPcGb24U+AojuI5mKqqPU0DYGH/ivVaOqpePmMCsosABizDlFEF0ZCLJkb /EjFOHk8Buip3lqpF4adPFeRNOK8Ozv39luG/DOxGmkWt/DSAppTg4k/rk33eqVYHDvSg vVUXLepB5Usd+53lQXzheuroxgkYywPBm7myB6pY0IYklleywY1v/NvEBXQ9qyq2fXC+w YX/QJFLcJZSmYKQ4hh6lOXDL9zVHlLwZorPBeoR7XB022g2WOB5swlnXktBMMkVDdRsag 6kZ9aHCD7I332XWje2UJdiqUPd3v0ikjAZCJ4uAnG2wZGuWgF1dDPt3het3h58aJpfQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793085887; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-Id:X-Mailer:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam: X-CM-SenderInfo; bh=CAMDTx+A/6qjs3rCvYy7knsHqtM0dksG0ov+15rFt04=; b=Z6z3EMlP3A4pPSjXNDujZrQS6wtVxdPJxWBWsbPuNfJtG7Sd7x+gZMOIxXkwwLrGfQm4 V1+mvgrH83/v+j+r97IiP3UZyp/w9dp25M7uh5TDH7wmsoEWcaOGlCeQp1UOwpF8SE6g5 0uArW010fcw6KNSXp3XBBkVV8/EA7eTFuVZXVigbYinSMMdeMjpAyHrbZS3j47ObcGYek i5YvnNiOlQgX4WQHNwQZilL3Qz5lFsbdEF9JUvW+gTcjGe88+zXdAv0kfqZPRSL4yUqBK 11cki4sXlt+eYoM8nLpVsX798FrsN+s7CNJLM+1sSOpPUAvy9Cd6WI4BRFzIzyL+m2Q== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=cf9J2xJY; arc=none smtp.remote-ip=117.135.210.2 X-Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05D0A606A31D; Tue, 27 Oct 2026 07:24:43 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 05D0A606A31D X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Date:Message-Id:MIME-Version: Content-Type; bh=CAMDTx+A/6qjs3rCvYy7knsHqtM0dksG0ov+15rFt04=; b=cf9J2xJYyg5p3OGduQLHOgLuPBxLc34VnUmNhEwDBR5YQOQXSnWYqgyHUajErX N2ExL3UphtwIfGpKrmKg+TeiQkdlPht6CWCWVJE6hSKZnzrlj3xIA+KX8N4b3/5q xdc7MM4r5y7rKrSFEFaLNnZiU0vokgxaXwOwHdMcJeJ9M= X-Received: from lx2.. (unknown []) by gzga-smtp-mtada-g0-0 (Coremail) with SMTP id _____wD3f0x6UeBqyKY4DQ--.54976S2; Tue, 27 Oct 2026 15:23:40 +0800 (CST) X-Cc: Conor Dooley <conor.dooley@microchip.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-kernel@vger.kernel.org (open list) X-Mailer: git-send-email 2.34.1 X-In-Reply-To: <63731290.3f0c.1a1198fe993.Coremail.taozj888@163.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-CM-TRANSID: _____wD3f0x6UeBqyKY4DQ--.54976S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCr4fZw1rZr48ZF1rKr13CFg_yoWrArWfpa y5Gr1jvr1kJF1fKws7Cay7Z3WrXr95GF43Wr45GryIka45XFnFgrZIg3yYqFy8u34xWa40 vr4UZasak3yqgaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jwjjDUUUUU= X-CM-SenderInfo: hwdr6yqyyyqiywtou0bp/xtbC3h5GDmrgUX5djQAA39