[PATCH RFC next v2 0/5] net: guard SYS_RX_ETH_BUFFER with NET + required changes (ls1028a!) to make this happen

Jerome Forissier jerome.forissier at arm.com
Tue May 19 11:22:41 CEST 2026


On 07/05/2026 12:37, Quentin Schulz wrote:
> Adding ls1028a to the mail subject so that maybe it triggers some filter
> for maintainers/reviewers of those boards.
> 
> Follow-up to the NET->NET_LEGACY rename, where CONFIG_SYS_RX_ETH_BUFFER
> was discovered[1] to be in net/Kconfig but not guarded by NET.
> 
> Move a few things around such that we can guard this symbol by NET.
> 
> It'd be nice if someone could check patch 2 works as intended on the
> impacted platform(s), hence the RFC (and the ls1028a! in the mail
> subject).
> 
> CI passed here: https://source.denx.de/u-boot/contributors/qschulz/u-boot/-/pipelines/29934
> 
> [1] https://lore.kernel.org/u-boot/3462e9ac-e882-4145-88d2-a553cd1c3cb2@cherry.de/
> 
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
> ---
> Changes in v2:
> - added Rb from Simon,
> - reindented SYS_RX_ETH_BUFFER to start with a tab instead of spaces,
> - added multiple-of-8 limitation for FSL_ENETC nin the help text,
> 
> - Link to v1: https://patch.msgid.link/20260429-sys_rx_eth_buffer-no-net-v1-0-396ef37ae93c@cherry.de
> 
> ---
> Quentin Schulz (5):
>       ls1028a: only include drivers/net/fsl_enetc.h when driver is compiled
>       arm: ls102xa: use platform data to check Ethernet interface is not SGMII
>       net: tsec: make tsec_private a private structure
>       net: guard SYS_RX_ETH_BUFFER with NET
>       net: SYS_RX_ETH_BUFFER defaults to 8 when CONFIG_FSL_ENETC=y
> 
>  arch/arm/cpu/armv7/ls102xa/fdt.c |  7 +++----
>  board/nxp/ls1028a/ls1028a.c      |  2 ++
>  drivers/net/tsec.c               | 17 +++++++++++++++++
>  include/net-common.h             |  4 ++++
>  include/tsec.h                   | 17 -----------------
>  net/Kconfig                      | 21 ++++++++++++---------
>  6 files changed, 38 insertions(+), 30 deletions(-)
> ---
> base-commit: 3cdd19089f1b1b7cd08530f33ff4708abcfd426c
> change-id: 20260428-sys_rx_eth_buffer-no-net-0ac1fd2004fa
> 
> Best regards,
> --  
> Quentin Schulz <quentin.schulz at cherry.de>
> 

Series added to net-next, thanks!

Regards,
-- 
Jerome


More information about the U-Boot mailing list