From patchwork Tue Nov 12 15:44:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 842695 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp3635672wru; Tue, 12 Nov 2024 07:45:14 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUQdt07qZisHsMwCKadFpku2WES4XMW/9DxVsguCnAJFSVsaYGkkAT0bHDFzghrB8oUurukVA==@linaro.org X-Google-Smtp-Source: AGHT+IEUFAie1Jm8ceUaG0dV0VdEsh7CXYTiHzECpQOchvTypXLaPGJ4HzvTbB6gvlgtDYJVGjt+ X-Received: by 2002:a05:6402:42c3:b0:5cf:3d14:b3e8 with SMTP id 4fb4d7f45d1cf-5cf3d14b483mr7731289a12.25.1731426314627; Tue, 12 Nov 2024 07:45:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731426314; cv=none; d=google.com; s=arc-20240605; b=QCuOgDC2eQpOvqwHT33gQaCsOip2jPVMrEQI0OCaQqjIYnZ8r8EzclRkfqYjwjHlsv CmkdxZ+G2RR81AYr7sNeAa3Gn5Q3+DuiCgUjeHh/fRT0G+oLF0Y8wWkmxjEBqTSwoxxQ fMDW/vJ6duPqtHEGZrrB/Z1H1jr8nlvCz1sOwY8hXDFDUY9/SxsdgwZ+e/9b1kS7NlJF 7EQQAVS8EDZk6bigWWNvSLYdON8X4uvFtfqnQvJP2rNu1hwiAkYSRwzDbdqRr/swvV/z bVg4s1L+6/62MugAwRrliK89xSo2uTsK2YwMbaoxLDBhdZkQ7nvPqH58UoqpkhAyp7ol abeg== 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=+IJluINCicvYulMvjf2XKqIIkEt1uTzbWhFIVUUbEyQ=; fh=Wa3QOPGIEcRKrKiEcIOuDOq/qT/5oSJk28m+1pc530M=; b=XfuMU3TfUrde7cEzsPnYqLYGCI5oInwEi7sZv0lXy7w4ES3BHw1acK1zen96LrSzym ktYTms5yUpfDkrn2suSHlKTkul9DEshCgju5nXKkqzHquLnRPR54lnHx0xvG8nZJIHbf hdsSWm8VVed+XzYP1tyBeDXQ3a0yqYjEdtUizwAIbiPQuoKOnx5XMeZ78hICN0+QI95k clknA6uVkKKkMrHhGPXxED5pAyk1LMCdyuFdgAfLMJCUcSrXF1YgwNHmDWm7BzSA0nUs g2RIXicSHbyrba/n2N8XgKSP1OrCc36aOUbg8l47M+d84ALxtPlShT1dX2qAN5FJgpda 5W4A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JlFnbdNd; 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 4fb4d7f45d1cf-5cf03cfdde4si8206155a12.611.2024.11.12.07.45.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 07:45:14 -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=JlFnbdNd; 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 7349788DEF; Tue, 12 Nov 2024 16:45:12 +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="JlFnbdNd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B823488DEF; Tue, 12 Nov 2024 16:45:10 +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-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 1FA2288DEF for ; Tue, 12 Nov 2024 16:45:07 +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-x32b.google.com with SMTP id 5b1f17b1804b1-431548bd1b4so49781505e9.3 for ; Tue, 12 Nov 2024 07:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731426306; x=1732031106; 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=+IJluINCicvYulMvjf2XKqIIkEt1uTzbWhFIVUUbEyQ=; b=JlFnbdNdwVE8F93bOd2lokWsWbToe6M+qnA3ZqTSg9k8YJaYgk9Yfh8d46khxR4F9q sAdatgDgRc3PHQhUpoE+7vkTZDARYiFl/BLvi2j/QnR8W4enwNqw4N9/spjLi+mremG0 SDk9dwkM4nMfsWexFwyNhCWqQllhSNPbugyrnDJhKAD6BwAO7vIB1RG/F7Jkl/rcnkUU POdt2JK7HjEpiiwQzxEzxlW+eQpwv9vCr7bac7RV7y2y+9vldL6RFV5XjYsYgytVk6db 8hF2oc5YF1doFNYm/wI2drMp/AidlJRT7XV9NrDEm5DXGh/AukiWb6xJgglJ0mbwyzob St6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731426306; x=1732031106; 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=+IJluINCicvYulMvjf2XKqIIkEt1uTzbWhFIVUUbEyQ=; b=c69+IfQU+DLyIKkQ/ESbbgJlRZ9yTjXhA/AVDp88jNq3HVpcS1BltLFwJ7tsOJNkwu O3cpTw7Fp63n7EWTg1Mo/ht14pHqy7qWvveevDXCnkSsOYU7k5+He5dEHzwSIoRnvVgr 9rmznmQG3RyCSWMttuTNg/U+PJSIRa+yKD3Zl/QFgg1l5JjgWk8fhFLTxj8lr4fsPk8S 56E5SgBU/VlpHm9pWoKoSmChR4DrgikKs1YOhNZH9qqDFtise6YIHjwrSfTfMHbzbQ8n z2QTQHlZN971EELs4NRubXQaJqtnfc6nKy6NzBWTkT0dTUjaYlvBG0uxCc7LwMJCBj83 V0JA== X-Gm-Message-State: AOJu0YzLEbSYgHV82avQhBFcGDIebj/YunZ9acxmBnJC3jTt9oa04ngA lzgiLtIDggXd4aCmM2HTgUxw3Gqyn+9rN/Aup83bk10azx79aww+ZNMVTMmT2kfIoRgRC6MOzJh 1XfE= X-Received: by 2002:a05:600c:34d1:b0:42f:7ed4:4c25 with SMTP id 5b1f17b1804b1-432b7505ad9mr147488225e9.14.1731426306238; Tue, 12 Nov 2024 07:45:06 -0800 (PST) Received: from builder.. ([2a01:e0a:3cb:7bb0:3aa3:af95:97ed:dd98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432d0289f02sm9709715e9.1.2024.11.12.07.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 07:45:05 -0800 (PST) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Jerome Forissier , Ilias Apalodimas , Tom Rini , Joe Hershberger , Ramon Fried , Oliver Gaskell , Paul Kocialkowski , Nathan Barrett-Morrison , Greg Malysa , Marek Vasut , Jonas Karlman , Hiago De Franco Subject: [PATCH v2] Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT Date: Tue, 12 Nov 2024 16:44:29 +0100 Message-Id: <20241112154429.1532647-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(+) Changes in v2: - s/linrary/library/ - s/own/internal/ diff --git a/Kconfig b/Kconfig index eb55f2511d9..1f5b0f1972d 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 internal 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..5d719a1e420 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 library. 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