{"id":2230146,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2230146/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260429-sys_rx_eth_buffer-no-net-v1-5-396ef37ae93c@cherry.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260429-sys_rx_eth_buffer-no-net-v1-5-396ef37ae93c@cherry.de>","list_archive_url":null,"date":"2026-04-29T10:35:05","name":"[RFC,next,5/5] net: SYS_RX_ETH_BUFFER defaults to 8 when CONFIG_FSL_ENETC=y","commit_ref":null,"pull_url":null,"state":"rfc","archived":false,"hash":"575d1ebe7df761ef9b2f38e9068167d50687fa43","submitter":{"id":84425,"url":"http://patchwork.ozlabs.org/api/1.2/people/84425/?format=json","name":"Quentin Schulz","email":"foss+uboot@0leil.net"},"delegate":{"id":157425,"url":"http://patchwork.ozlabs.org/api/1.2/users/157425/?format=json","username":"jforissier","first_name":"Jerome","last_name":"Forissier","email":"jerome.forissier@linaro.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260429-sys_rx_eth_buffer-no-net-v1-5-396ef37ae93c@cherry.de/mbox/","series":[{"id":502037,"url":"http://patchwork.ozlabs.org/api/1.2/series/502037/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=502037","date":"2026-04-29T10:35:00","name":"net: guard SYS_RX_ETH_BUFFER with NET + required changes (ls1028a!) to make this happen","version":1,"mbox":"http://patchwork.ozlabs.org/series/502037/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2230146/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2230146/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.a=rsa-sha256\n header.s=20231125 header.b=QPdxGS19;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.b=\"QPdxGS19\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net","phobos.denx.de;\n spf=pass smtp.mailfrom=foss+uboot@0leil.net"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5DH71mLJz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 20:36:03 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 8DD928485A;\n\tWed, 29 Apr 2026 12:35:24 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 230DB8483E; Wed, 29 Apr 2026 12:35:21 +0200 (CEST)","from smtp-8fa9.mail.infomaniak.ch (smtp-8fa9.mail.infomaniak.ch\n [83.166.143.169])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 0799384848\n for <u-boot@lists.denx.de>; Wed, 29 Apr 2026 12:35:18 +0200 (CEST)","from smtp-4-0000.mail.infomaniak.ch (smtp-4-0000.mail.infomaniak.ch\n [10.7.10.107])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4g5DGF5FzKzCrF;\n Wed, 29 Apr 2026 12:35:17 +0200 (CEST)","from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4g5DGD4tSkzYX6; Wed, 29 Apr 2026 12:35:16 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net;\n s=20231125; t=1777458917;\n bh=B15bT149NZ1gEGqcciEaPwYruyNJAqGD3R4MtlYDjsU=;\n h=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n b=QPdxGS19bRZxoQY/b+IU3S4DGMUjw9yoN7PykSjvWjimT74t8GCeIT9dWTWmvIn30\n RkTUEemtRmO6fKclHc6hlDkop91B5MBEyFbbjByJ73JWSliMSSnoiehRA/Cb3ck1kY\n 3KsOtRaNiGfxlnezN5CAW47yY36uuBdJP9hp4wBfN1POG2zefS6ovCO2XegSsyufLK\n 1wXq/TviqG0CYRfSdUlx+/DL9n3wpDbFXE7zlb9LnjB3scVcTGGqO34IDE93pYlGtf\n qQyDh/plZuRnQ9SZm3gmGg3l92iPwOVz0frQ0qHeZ1OfZ53d8CuCuGqVrjbEcwyyim\n HXJ3uyUStCaKA==","From":"Quentin Schulz <foss+uboot@0leil.net>","Date":"Wed, 29 Apr 2026 12:35:05 +0200","Subject":"[PATCH RFC next 5/5] net: SYS_RX_ETH_BUFFER defaults to 8 when\n CONFIG_FSL_ENETC=y","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260429-sys_rx_eth_buffer-no-net-v1-5-396ef37ae93c@cherry.de>","References":"<20260429-sys_rx_eth_buffer-no-net-v1-0-396ef37ae93c@cherry.de>","In-Reply-To":"<20260429-sys_rx_eth_buffer-no-net-v1-0-396ef37ae93c@cherry.de>","To":"u-boot@lists.denx.de","Cc":"Tang Yuantian <andy.tang@nxp.com>, Tom Rini <trini@konsulko.com>,\n  Fabio Estevam <festevam@gmail.com>, Alice Guo <alice.guo@nxp.com>,\n  Jerome Forissier <jerome.forissier@arm.com>,\n  Peter Robinson <pbrobinson@gmail.com>, Simon Glass <sjg@chromium.org>,\n  Andrew Goodbody <andrew.goodbody@linaro.org>,\n  Benjamin Hahn <B.Hahn@phytec.de>,\n  Ilias Apalodimas <ilias.apalodimas@linaro.org>, =?utf-8?q?Alvin_=C5=A0ipra?=\n\t=?utf-8?q?ga?= <alvin@pqrs.dk>,  Quentin Schulz <quentin.schulz@cherry.de>","X-Mailer":"b4 0.15-dev-47773","X-Infomaniak-Routing":"alpha","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"From: Quentin Schulz <quentin.schulz@cherry.de>\n\ndrivers/net/fsl_enetc.h specifies ENETC_BD_CNT \"buffer descriptors count\nmust be a multiple of 8\". This constant is set to\nCONFIG_SYS_RX_ETH_BUFFER which defaults to 4.\n\nAll defconfigs enabling CONFIG_FSL_ENETC fortunately have it set to 8,\naccording to\n./tools/qconfig.py -l -f CONFIG_FSL_ENETC '~CONFIG_SYS_RX_ETH_BUFFER=8'.\n\nLet's make sure the default is sane by having it set to 8 when this\ndriver is enabled. Note that originally[1] it was said EEPRO100 and 405\nEMAC should be 8 or higher. 405 (PPC405?) support seems to have been\ndropped in commit b5e7c84f72ee (\"ppc4xx: remove ASH405 board\"), 11 years\nago. Maybe there's something we can do for EEPRO100 though?\n\n[1] commit 53cf9435ccf9 (\"- CFG_RX_ETH_BUFFER added.\")\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n net/Kconfig | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/net/Kconfig b/net/Kconfig\nindex 171a88f8ed2..80f0872e0f5 100644\n--- a/net/Kconfig\n+++ b/net/Kconfig\n@@ -281,6 +281,7 @@ config TFTP_BLOCKSIZE\n \n config SYS_RX_ETH_BUFFER\n         int \"Number of receive packet buffers\"\n+\tdefault 8 if FSL_ENETC\n         default 4\n         help\n           Defines the number of Ethernet receive buffers. On some Ethernet\n","prefixes":["RFC","next","5/5"]}