From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71333C001B0 for ; Mon, 14 Aug 2023 14:13:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED9468678A; Mon, 14 Aug 2023 16:13:54 +0200 (CEST) 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="ucwYwRFH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B083F855CE; Mon, 14 Aug 2023 16:13:53 +0200 (CEST) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 878F786679 for ; Mon, 14 Aug 2023 16:13:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-31768ce2e81so3933585f8f.1 for ; Mon, 14 Aug 2023 07:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692022431; x=1692627231; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AhSdGFrWzrcmnnjey7QMlR+qMI3Zo7mwQWd6Z6Mn1pY=; b=ucwYwRFHp+aj2PXCYiOgme2YXbaFoUJTJxck2eLkG6c1EOwjWKtYapjF4q8fAbQ0/a Y2atx+KThNxRjiJV4m5Mr6jfz6AIclLJh6vWcK8Qe0LPm3gliasQVaeJreDXgn15IsPM wXY2eljFXL30kII5Whay0DsEduYGUCURAVecHg62rqPa5BDNNJF1uvv4yrCUI5A5wh87 m7SFYDzt7MiZfUdCZlMnQF0BVhCxUPrRpF06iicjAXRbnLUWHRr0l+DQlWyMqRHjGyDu gxJlf8d4sg6jKJyA6TTGeAS0g6vKljucK3izPPR7haPpnQfLe6tdDsxdhtv4xHbxhl96 vhYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692022431; x=1692627231; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AhSdGFrWzrcmnnjey7QMlR+qMI3Zo7mwQWd6Z6Mn1pY=; b=dl9rzwTGzhXOEKooIiYNhLako2vyn+7M1nVELs4sOB1Dn5iLeQQwjBWKcibCANy5Xu 7cUWMZA/Dwz1/Mz/T4iVOtU899uus7QnqVQZYMP1ToPddFVS7a8jZ4R4X0vLf8vj9Ydw 9laMhkKBdv2gS22l6BM8AumBwrRUNEOHExYpU00UtCsxZWR7zEt4n80b3J7bIpN8aSME Jd6tfMNjrWOXGWt8iD7N1ifKwayxNnDVi1ShD9JAMXHqYHHK5HlOcvRnS+i6PzA7jpIT Q5PQMapJeT6tbiWCGZ10AOxiLaA7d2BlUp1PHkb4JEEPtk+rDBJYzejeQHBRKWoepYsh DSRQ== X-Gm-Message-State: AOJu0YzgkKu+Px+tUNaNYl2Mwot4n9Fyy/DBHhMmnEkee2pEVVMKxDLt Lpkk63IDerg2QpXhSk4bGg17Kw== X-Google-Smtp-Source: AGHT+IEf8CTAWANa0wjADUML0CEBoyNs/dcszbNsUhewCH+Jd9lc4sEmifFsoPZe4RZXJpxYXeeJnA== X-Received: by 2002:a5d:4d0a:0:b0:317:70da:abdd with SMTP id z10-20020a5d4d0a000000b0031770daabddmr6351676wrt.59.1692022430992; Mon, 14 Aug 2023 07:13:50 -0700 (PDT) Received: from hades (ppp089210246083.access.hol.gr. [89.210.246.83]) by smtp.gmail.com with ESMTPSA id l11-20020a05600012cb00b003177f57e79esm2267940wrx.88.2023.08.14.07.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 07:13:50 -0700 (PDT) Date: Mon, 14 Aug 2023 17:13:48 +0300 From: Ilias Apalodimas To: Maxim Uvarov Cc: u-boot@lists.denx.de, pbrobinson@redhat.com, joe.hershberger@ni.com, rfried.dev@gmail.com, trini@konsulko.com, goldsimon@gmx.de, lwip-devel@nongnu.org Subject: Re: [PATCHv6 02/14] net/lwip: integrate lwIP library Message-ID: References: <20230814133253.4150-1-maxim.uvarov@linaro.org> <20230814133253.4150-3-maxim.uvarov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230814133253.4150-3-maxim.uvarov@linaro.org> 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 On Mon, Aug 14, 2023 at 07:32:41PM +0600, Maxim Uvarov wrote: > Define Makefile and Kconfig to build lwIP inside the U-Boot. We compile > lwIP the same as the main code, plus we can do optimization for size at > compile time with disabling not needed debug asserts, or not used protocols. > So we can tune lwIP configuration specially for U-Boot environments. > > +menu "LWIP" [...] > +config LWIP > + bool "Support LWIP library" > + help > + Enable the lwIP library code with > + all dependencies (cmd commands implemented with lwIP cmd commands -> commands > + library. This option is automatically enabled if CONFIG_NET=y. > + lwIP library (https://git.savannah.nongnu.org/git/lwip.git) provides > + network stack and application code for U-Boot cmd commands. > + Please see doc/develop/net_lwip.rst for more details. > + > +menu "LWIP options" > + > [...] Thanks /Ilias