From patchwork Tue Nov 5 10:25:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 840755 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1ace:b0:37d:45d0:187 with SMTP id i14csp265614wry; Tue, 5 Nov 2024 02:25:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXJ6fs0p3DpigujxkY+8WS2+QKocdYLrxEfc2THjluoBnQHPnPTF3l7eE3b6+CK9w1JdewJRA==@linaro.org X-Google-Smtp-Source: AGHT+IFSWlP/TdLWsAIVtz2KO3C60oJ4DS5XQJutgnZBn8JQzhKmYuwnSBfSwEtyj1pYk42I6MJG X-Received: by 2002:a05:6000:68a:b0:374:c8a0:5d05 with SMTP id ffacd0b85a97d-381e18314bcmr1942315f8f.50.1730802338462; Tue, 05 Nov 2024 02:25:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730802338; cv=none; d=google.com; s=arc-20240605; b=NrqjG+69Jp73jPf8e6W3v6iOqpg4gEwiaKHHfIOniNI3+hPc/304PTH1QXzNgkvyzs M9UkMHRCPWWMjt5AKcr96ohzkky+2upVRFi5vLYDsEeSSi1gh6p/UvI5aiNiPkd1svjj jLnS0Sr6lcD09KCeO2dy7mFIB7nKrygZpWB8azfFJS/WQfRrvv7oRjL/gn3TlxHs/RF3 VvAn6j7Jh9YpHd2tzg7fitPqNjlTMdKjgcicpc74f8oJelY0REs6gd3WDJrX8yJ/HrFr hZx3UntZgtaIhY6KroPnY/NHIJ4WF5pDzen6En5RwwCgqR9up0PnV5ZM32V4T1yraY1n w7WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=f999F0ihAKNvXEXleqUEZ9/K+TdX3AsyUfItGYUr6lQ=; fh=L8IopSUlHjH71Tbs1kRK1cU4mB16csgCLXOyFl4LaM4=; b=hNwLwr+J7CaraBo+3t1ecvUJILdYEMTep6XLqeTs3LCy+zWasZPB8utwyhwF/NFlAY 3HVXqogy5hgENouHSy2iJdnIcahUy5ZxTsRKDbcZRGdTpPOuFzvl7eAZhkrVWbJ1h8rZ HykQrAf8rXtMOUucbFdFEmQCzY6WktYE7fdfW5StGumfDvEsdQKB1TJXu3IfANQJeYxJ 0kIOYWWnIlFp5ExnL56B2uqmaE+YtHVswrUa9mZhp1ynlw0CjLGbfINLi3LWtJRrTg4E 0uzmBOV+2RGQ/Mmjg2gMQ4Ed7r41ww21GzU2iDLUR6T6oF8MOCrUdn+RPXDcmsC52wFi 9gMQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GnMCN0n9; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ffacd0b85a97d-381c10d2316si7048125f8f.154.2024.11.05.02.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 02:25:38 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GnMCN0n9; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DB5FF890D1; Tue, 5 Nov 2024 11:25:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="GnMCN0n9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB59688CF1; Tue, 5 Nov 2024 11:25:36 +0100 (CET) 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, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 14183890D8 for ; Tue, 5 Nov 2024 11:25:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-431688d5127so41761915e9.0 for ; Tue, 05 Nov 2024 02:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730802334; x=1731407134; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=f999F0ihAKNvXEXleqUEZ9/K+TdX3AsyUfItGYUr6lQ=; b=GnMCN0n9wfQD4/0Zl2Tsk5Xrhp5tYsOWhqBxpaRUb3BKdp7tvslae7fyRZw/G6OWGM G8hQsVFkxxD7PfwlkfE7jtCCqhzayzOgkN1IQ/Aa1AS8Dvr0M0Ilw/FCvvrmR5FViVLK fIz5cU0VaR5yWfcfQ/RlCYu9cSAUoU3dbTGwz5upPmys2sqaWteh2tBNlcVKYKmkbDEC Ghtkdp53rXkevG3/3H8Otvsg30NmvpJJYS/liY8fsFaS3yIZiWIMoSxhlc5G/weCfw40 JqGazWY/ws/B22t6AOR3wuwVdxixI0JIbgeclODTFi3ux3HR+dqXf3a1wEwt8qAcvWns GxYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730802334; x=1731407134; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f999F0ihAKNvXEXleqUEZ9/K+TdX3AsyUfItGYUr6lQ=; b=gfyeQV8y+nj9teAplL2Q48KAdR6c5AzRp5u8jVCa0jOAbHYbigGbM/xivHsVO21DY3 aUkXqqp8SgzBkBVgDJImhp+navhCfZFe7GT9sE71qFsSNMWotL70nI/J3nAkzoO7w+E1 VGpVBbR5bXQyN75kYTsVCIYIMrW2euCrix0J/H2wNX4s/lClO5KXqYrsCVhUV0ES5CKu gkH84Fx+JvySRrTtNxn6sz/894iW4Na8xRFxs+VuxjLMS+m+s0CF0Y4nf2L73/9GJP/b hvrKbSOhnNxu9nAIskLonJCV2HuUVZ+bpo1zftqBCFshKaNxov2hvaBhYU2wzhhkOvhy Wryw== X-Gm-Message-State: AOJu0Yx+1ASXgZ4Evv3Lm5Ck6+YLq6zSHwUOb8UjBE7VveOY6P4D2/TP 0NN2NOa6p1YOVCfH8q8Whq6F1iTmxXA3LgDv82nLb2uYSkqD4S9iE62u/dFE930E72adZ0a958y o1F8cujIr X-Received: by 2002:a05:600c:5249:b0:431:6052:48c3 with SMTP id 5b1f17b1804b1-4319acacd6amr333676035e9.16.1730802334364; Tue, 05 Nov 2024 02:25:34 -0800 (PST) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4327d5e7c51sm181643845e9.25.2024.11.05.02.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 02:25:34 -0800 (PST) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Jerome Forissier , Tom Rini , Joe Hershberger , Ramon Fried , Paul Kocialkowski , Oliver Gaskell , Nathan Barrett-Morrison , Greg Malysa , Marek Vasut , John Keeping , Hiago De Franco , Ilias Apalodimas Subject: [PATCH] Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT Date: Tue, 5 Nov 2024 11:25:23 +0100 Message-Id: <20241105102524.10387-1-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Some Kconfig symbols introduced in commit 8cb330355bd5 ("net: introduce alternative implementation as net/lwip/") need a full description. The NET symbol needs one, too. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas --- Kconfig | 5 +++++ net/lwip/Kconfig | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/Kconfig b/Kconfig index eb55f2511d9..6305e5eaad1 100644 --- a/Kconfig +++ b/Kconfig @@ -765,10 +765,15 @@ choice config NO_NET bool "No networking support" + help + Do not include networking support config NET bool "Legacy U-Boot networking stack" imply NETDEVICES + help + Include networking support with U-Boot's own implementation of the + TCP/IP protocol stack. config NET_LWIP bool "Use lwIP for networking stack" diff --git a/net/lwip/Kconfig b/net/lwip/Kconfig index 8a67de4cf33..5ecff9ae07f 100644 --- a/net/lwip/Kconfig +++ b/net/lwip/Kconfig @@ -6,9 +6,16 @@ if NET_LWIP config LWIP_DEBUG bool "Enable debug traces in the lwIP library" + help + Prints messages to the console regarding network packets that go in + and out of the lwIP linrary. config LWIP_ASSERT bool "Enable assertions in the lwIP library" + help + Compiles additional error checking code into the lwIP library. These + checks are related to conditions that should not happen in typical + use, but may be helpful to debug new features. config PROT_DHCP_LWIP bool