
Hello, Peter! I see your point and I think that you are right in some aspects. LwIP like other stacks can be used instead of built-in stack but it is necessary to make quite a big work to port it, write tests and so on. It is bigger than my tiny patches.
I'm not against the situation when someone do that work and port other stack. But I think it is better to give people IPv6 right now than wait it again.
________________________________ От: Peter Robinson pbrobinson@gmail.com Отправлено: 1 декабря 2022 г. 16:03:46 Кому: Tom Rini Копия: Vyacheslav Mitrofanov V; rfried.dev@gmail.com; joe.hershberger@ni.com; wd@denx.de; u-boot@lists.denx.de; judge.packham@gmail.com; linux@yadro.com; sjg@chromium.org Тема: Re: [PATCH v4 00/17] IPv6 support
«Внимание! Данное письмо от внешнего адресата!»
Hi Tom and others,
Tom, maybe it is better to change configs add ifdefs or do sth else to exclude them from the build if IPV6 is not configured?
There's two parts to this, yes. Sandbox needs to enable ipv6 so that the tests are run, and the tests need to be be appropriately ifdef'd so that they don't try and be run on platforms without ipv6.
I was wondering with the need to support IPv6, http and tls and the various components whether we wouldn't just be better off using LwIP [1][2]>, it gives us basically everything we need for IPv6, HTTP boot and other things we need, and is used on microcontrollers (I came across it recently when playing with micropython) so it's small. I feel it would save a lot of time maintaining an independent IP stack and being used a cross a bunch of different projects is quite widely used/developed. Thoughts?
Peter
[1] https://savannah.nongnu.org/forum/forum.php?forum_id=9248 [2] https://en.wikipedia.org/wiki/LwIP