{"id":2230141,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2230141/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260429-sys_rx_eth_buffer-no-net-v1-0-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-0-396ef37ae93c@cherry.de>","list_archive_url":null,"date":"2026-04-29T10:35:00","name":"[RFC,next,0/5] net: guard SYS_RX_ETH_BUFFER with NET + required changes (ls1028a!) to make this happen","submitter":{"id":84425,"url":"http://patchwork.ozlabs.org/api/1.2/people/84425/?format=json","name":"Quentin Schulz","email":"foss+uboot@0leil.net"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260429-sys_rx_eth_buffer-no-net-v1-0-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/covers/2230141/comments/","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=WdzdQeLI;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=\"WdzdQeLI\";\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\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5DGJ0rRWz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 20:35:20 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 68D3A84841;\n\tWed, 29 Apr 2026 12:35:17 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 669A484713; Wed, 29 Apr 2026 12:35:16 +0200 (CEST)","from smtp-8fad.mail.infomaniak.ch (smtp-8fad.mail.infomaniak.ch\n [83.166.143.173])\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 460E184713\n for <u-boot@lists.denx.de>; Wed, 29 Apr 2026 12:35:13 +0200 (CEST)","from smtp-4-0000.mail.infomaniak.ch (unknown\n [IPv6:2001:1600:7:10::a6b])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4g5DG867tzzDR5;\n Wed, 29 Apr 2026 12:35:12 +0200 (CEST)","from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4g5DG70DfBzXK3; Wed, 29 Apr 2026 12:35:10 +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_H4,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=1777458912;\n bh=u8LPM1pFf6ya+h/qlsXQ0F0FSNA10nWkrZ4SU/DJlf4=;\n h=From:Subject:Date:To:Cc:From;\n b=WdzdQeLIYZXEFE0DMMUJSm4ZpMnTGI3fvwR5N4cAPE9Hf1zMmV2I3oHVdGo+4tPgi\n fIAOifFCikOkM3XfDoGzwqCtxYw+Yw5BQ7tGaYrXfdS/dHhP+rlJqe42d/shTouzdF\n UbLz8fDBzRwm9+R/KrQzY6lrFFkj86n+urT47i0CPLCWzXw3k/DudJOXfagSx3/qSq\n p3+RqFLcT14oQkD8a1tmHOcH9mfCz017nScHArSg7glx/XCCIVKEUm4lGkV5SgJ+pF\n HzAhl1ujeoMKdMSQvfkYGpLrekFO6GhNCpkmoFP3Qi2vStRamn577JDkxz3FrodhN2\n MWsB9bZ2vW5jQ==","From":"Quentin Schulz <foss+uboot@0leil.net>","Subject":"[PATCH RFC next 0/5] net: guard SYS_RX_ETH_BUFFER with NET +\n required changes (ls1028a!) to make this happen","Date":"Wed, 29 Apr 2026 12:35:00 +0200","Message-Id":"<20260429-sys_rx_eth_buffer-no-net-v1-0-396ef37ae93c@cherry.de>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAAAAAAAC/yWMQQrCMBAAvxL2bGAbiohXwQd4FQlpurHxsJXdV\n CKlfzfqcRhmVlCSTApHs4LQK2ueuUG3MxCnwHeyeWwMDt0ee3ew+lYv1VOZ/LCkRGJ5tkzFYoh\n dGh1inwK0/CmUcv2tr3A5nwxTLXD7G12GB8XyPcO2fQDqNO9/hgAAAA==","X-Change-ID":"20260428-sys_rx_eth_buffer-no-net-0ac1fd2004fa","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":"Adding ls1028a to the mail subject so that maybe it triggers some filter\nfor maintainers/reviewers of those boards.\n\nFollow-up to the NET->NET_LEGACY rename, where CONFIG_SYS_RX_ETH_BUFFER\nwas discovered[1] to be in net/Kconfig but not guarded by NET.\n\nMove a few things around such that we can guard this symbol by NET.\n\nIt'd be nice if someone could check patch 2 works as intended on the\nimpacted platform(s), hence the RFC (and the ls1028a! in the mail\nsubject).\n\nCI passed here: https://source.denx.de/u-boot/contributors/qschulz/u-boot/-/pipelines/29934\n\n[1] https://lore.kernel.org/u-boot/3462e9ac-e882-4145-88d2-a553cd1c3cb2@cherry.de/\n\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\nQuentin Schulz (5):\n      ls1028a: only include drivers/net/fsl_enetc.h when driver is compiled\n      arm: ls102xa: use platform data to check Ethernet interface is not SGMII\n      net: tsec: make tsec_private a private structure\n      net: guard SYS_RX_ETH_BUFFER with NET\n      net: SYS_RX_ETH_BUFFER defaults to 8 when CONFIG_FSL_ENETC=y\n\n arch/arm/cpu/armv7/ls102xa/fdt.c |  7 +++----\n board/nxp/ls1028a/ls1028a.c      |  2 ++\n drivers/net/tsec.c               | 17 +++++++++++++++++\n include/net-common.h             |  4 ++++\n include/tsec.h                   | 17 -----------------\n net/Kconfig                      |  5 +++--\n 6 files changed, 29 insertions(+), 23 deletions(-)\n---\nbase-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e\nchange-id: 20260428-sys_rx_eth_buffer-no-net-0ac1fd2004fa\n\nBest regards,\n--  \nQuentin Schulz <quentin.schulz@cherry.de>"}