Article View: linux.kernel.netdev
Article #6447Reply to Theo's questions
From: taozj888
Date: Thu, 22 Oct 2026 13:08
Date: Thu, 22 Oct 2026 13:08
134 lines
12950 bytes
12950 bytes
Hi Theo: Sorry for having missed important things. I would like to append some explanations here. Please see my answer inline. 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:
<20261022130824.589241-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-350590-linux-kernel-netdev=dewy.ruReferences:
<DLKVCOXTNGVZ.3CC6KFXDIFJ3X@bootlin.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-350590-linux-kernel-netdev=dewy.ru From: taozj888@163.com Newsgroups: linux.kernel.netdev Subject: Reply to Theo's questions Date: Thu, 22 Oct 2026 13:08:24 +0000 Organization: Usenet Network Message-ID: <20261022130824.589241-1-taozj888@163.com> References: <DLKVCOXTNGVZ.3CC6KFXDIFJ3X@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="215934"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:TS8ChLCIwh0EEaSNEKzlRzGLdYE= sha256:FWlnvHC74T1chgGC6+qgC2arxVJUVj1TESygDkcPJkk= sha1:oJYiHWewjKWRnePGDnq5K22ZyyA= sha256:qz9vi1rMN57mkWa9rWouuFRCeFthXSWKpaG3lfSSrJE= 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 748B4111291; Thu, 22 Oct 2026 16:15:40 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.047 X-Spam-Status: No, score=-3.047 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] 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 FmBJ6nAKAgz2; Thu, 22 Oct 2026 16:15:36 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350590-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 4839411128D; Thu, 22 Oct 2026 16:15:27 +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 E67F6394E6; Thu, 22 Oct 2026 13:09:26 +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=1792674566; b=b/OwLK2tK7IDVlVa44hUDtk6oZJJJbMTAt90z8m9dh2RReRW3DCVT26oJSAfbw3HVqKd Jz159ns+3zNk9ZzcaTQeL71YQHTgrSo3l4BQAeM5C84zai/you+VD4fJ0NODMwiq6q25g MwVKWblwhncWG3rOCNDAEyXqwomGjZpVrSHoYMvXOhIUJpbQPMPzcP96AAI6uyI+1hYwR 8EcpHmZ5TyyV7cr9YJI3ck6GHA+GiLcoUp184psUPkHRX0jWl7+i3MQArLzQaW/0HAWSv AH7umLLPvAYUKlPNm8kz009IYT1xkcuHsBoe2zK77CLd6puj0vwvLSUz7ZlvbPTnbWQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792674566; 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-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam: X-CM-SenderInfo; bh=WeRbh/wN0/oqV/y3B6lUalfWMI187ISQqMh5if+ga/E=; b=TpjKhIpxj/avQeJO4lo/jW0GBTlkSvyjT78Sl+FnEEXod5YUanZIoNOvmtt5TD0pop+/ yEt4J9TPBE3Z9MuEfMCq2O953ms39MW6hc4yMtQRaeKc4oK2LxMOnYJh6ntkwAAnmFsC9 t1THZu8gkrwNwJefOpvsXVw9zVd+EirRlAmEdy2vae0T+bNItEl8rrDtRpJf/Mx2QJd/p VE5UeQ8MVqdkldAl0feZVojHVYmOPwbrCEVhxsRpbDMTIO1Jt89NLhPf8CO+aUScfB1ZW AWvqiblV0sSArh5HAPGbChXb1/VRD6Cq/vwMgRswZxE9MvIg1vRGdcrD12ImzqEr2fg== 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=B4f7CQTx; 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 BD952606A320; Thu, 22 Oct 2026 13:09:26 +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=B4f7CQTx X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=220.197.31.4 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792674556; b=WZHuPLb74/F4hvDfZEuy5CsOWqPQRBo1PdYeneNmT7gwk3mi+fNLquT/PKuGWnJQfNK/ FqzEYc3oJpStug2yTAnfBhq3M37fpcA8nF/0l0OFxEbs7LVLtw6StRWb2B3UWTVH4/LYU /Oj/BtVlucRQF9mIIvHp6shab8wzOOgQRQqzcfzdevqH84QFieyd+t9/Ys0IxD/LBVHA4 Ah4lRXuy9gaKdkpPmyuBdjDhuqxTK/Qvf0R/cvXkmUR4rov5MmKoPHhRCchBDLSbSeuX8 qYJLo1kpxXNtjMtOvkeZrQfakISS0SmewsRTsAvMhUlYmODgmvofQxS9lzLcNuhlmFg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792674556; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-Id:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam: X-CM-SenderInfo; bh=WeRbh/wN0/oqV/y3B6lUalfWMI187ISQqMh5if+ga/E=; b=l8oL+YIue1Ar1ThXRxdTLccYYSWkpdcLUm15M8WE4X5l4tq4FsfqPs2M7i7hfKwhTDKm KljPH5Nf/ENVBw7KEPh6XPr+TZkrzW512BOgg5uZYcVafLA/5mPiwFHUUQKF7SOrulDSW gjHlrA1eMHzKzaED3+p+d9w2hmtlOH60yGXz7doOxlpd0glA3QAmaEAuviBrxsx6i/Xvc qgmfAqS0278xJou32a6RtPl1NUtDQU+RNNzDSbFr7LSLBxSlaZQ7fQcD9aqLamywf38YJ tGgXKkDj9KTo5xWeh8xT/ShA7w+4rlrQlaTFqVqWGi8yrYsavldEA2DQ7ZmI+tSoLlA== 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=B4f7CQTx; arc=none smtp.remote-ip=220.197.31.4 X-Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.4]) (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 E98CE606A31E; Thu, 22 Oct 2026 13:09:12 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E98CE606A31E 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; bh=We Rbh/wN0/oqV/y3B6lUalfWMI187ISQqMh5if+ga/E=; b=B4f7CQTx5dydLOhn9M SL2hK+yNiAAr7DxEGR2HXY6TqCVoqItYnNXLfQGywqsZwriQGlosG2KAC27ha/7Q pWApG9JhpZsYANrTHniHkF9JlNZKo+r3xRa6O4vuMhsY0VlSVroKcBiqR/bdB4Fy mft0tj9Cjtl6R0+lOMlmj63Fc= X-Received: from u2.. (unknown []) by gzga-smtp-mtada-g0-2 (Coremail) with SMTP id _____wDnb3XQCtpqMEjsBw--.50219S2; Thu, 22 Oct 2026 21:08:34 +0800 (CST) X-Cc: andrew+netdev@lunn.ch, conor.dooley@microchip.com, linux-kernel@vger.kernel.org, maintainer@kernel.org, netdev@vger.kernel.org, taozj888@163.com X-Mailer: git-send-email 2.34.1 X-In-Reply-To: <DLKVCOXTNGVZ.3CC6KFXDIFJ3X@bootlin.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: _____wDnb3XQCtpqMEjsBw--.50219S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCr4DWrW5WryrCr17Xw47Arb_yoWrAFy8p3 y5Gr1jvr1kJr1fKws7Cay2v3WrXr95GF43Wr15GryIka45XFnIgrW7t3yYqFy8u348Wa40 vr4UZasak3yqgaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUSfO5UUUUU= X-CM-SenderInfo: hwdr6yqyyyqiywtou0bp/xtbC+RQJ0GraCtQOvgAA3q