[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/LWIP PATCH 2/2] Enable loopback interface


  • To: Costin Lupu <costin.lupu@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Mon, 16 Sep 2019 13:18:00 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ArC2dE0y/PdJppn8TuFMe15PSwczLwoJQCdZTmM8Qjw=; b=EOzWXPUjPQlj5XPr76yAid820EDtrcuE6cCFYjP0gAYtaXHmq0PtVIJuCDiaAmlkSPErPf7YiHjRGG2JYrDpxZLPMtexKLcBX9A7QA/J7uJdSdoNMMPWDVoHVwg4zVwe2WKR+iQKY0Ncogbo3fH0KXjCUoxAaJU490UIQRUWqoTZ3VfewopJ7fZZBGQDixox7YleAnCNktBvm5tvpjIcPEAzfY47g46roh/yYgPNg7ebGc1pZi36rd4QPFl4+PUzQG0amcJp/ONDIjT6XaHpQENGqEqd/RnJ3KthK0nwiis6gZFr2zTx/LwWaolyngPBXbNwOOpo53blHY9UvsYskg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MBh8Tgo6k3QSigtpKi6iw5j3HDNNA9cdUi3AAKbcbkL7AsRGXT3EZxO7xBLMR+Nt0BHE2b4NLRQ9K9Ic8oY64ELkeMiltri7KyPXzCv+b92wt2I8r6jUPDlITio3ZIJCzlr8KeCYWqUUaHU8UUfMXYEnnc10+eqFq3VQRK+81o7g6vzyFEZno5UOUDNtMzdrTFwPAg4vDqaoqD3t7gBscwmfaxdbXfjy51el2ihG6ITt7O8PpJrchbXVoX1OQPE7XSjYMkaII6L8To+8OuEdyuOVF9ywEIBShSjZi6VHyxqzuSFn3IHUVgfgGjflbJt/MUm6/2x386vqeRPhMVSlqA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>
  • Delivery-date: Mon, 16 Sep 2019 13:18:05 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVaUiA+hI1CTzgD0aEgW2Empg/ZqcuT8CA
  • Thread-topic: [UNIKRAFT/LWIP PATCH 2/2] Enable loopback interface

Hi Costin,

This patch looks good. Thanks!

Vlad

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>

On 12.09.2019 12:00, Costin Lupu wrote:
> The loopback interface is used in many of the Python 3 unit tests.
>
> Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
> ---
>   Config.uk          | 6 ++++++
>   include/lwipopts.h | 4 ++++
>   2 files changed, 10 insertions(+)
>
> diff --git a/Config.uk b/Config.uk
> index a0db41d..92df4d3 100644
> --- a/Config.uk
> +++ b/Config.uk
> @@ -80,6 +80,12 @@ config LWIP_NETIF_STATUS_PRINT
>       help
>               Print netif status changes to standard console
>   
> +config LWIP_HAVE_LOOPIF
> +     bool "Loopback interface"
> +     default n
> +     help
> +             Enable loopback interface.
> +
>   config LWIP_IPV4
>       bool "IPv4 support"
>       default y
> diff --git a/include/lwipopts.h b/include/lwipopts.h
> index 559223d..148028d 100644
> --- a/include/lwipopts.h
> +++ b/include/lwipopts.h
> @@ -95,6 +95,10 @@ void sys_free(void *ptr);
>   #define LWIP_NETIF_EXT_STATUS_CALLBACK 0
>   #endif /* CONFIG_LWIP_NETIF_EXT_STATUS_CALLBACK */
>   
> +#if CONFIG_LWIP_HAVE_LOOPIF
> +#define LWIP_HAVE_LOOPIF 1
> +#endif
> +
>   /**
>    * ARP options
>    */
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.