lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwIP in mainline linux kernel


From: Ajay Bhargav (SiWi)
Subject: Re: [lwip-users] lwIP in mainline linux kernel
Date: Wed, 7 Feb 2018 11:00:03 +0530

Its going to be a huge task as Linux kernel networking is not just a layer it’s a subsystem which includes a lot of other stuff too.

 

From: Joel Cunningham
Sent: Tuesday, February 6, 2018 8:34 PM
To: address@hidden
Subject: Re: [lwip-users] lwIP in mainline linux kernel

 

I haven't heard of LwIP running in the Linux kernel, but LwIP has been integrated into a number of other operating systems:

ReactOS

GNU Hurd

Minix 3

 

I haven't studied the ReactOS integration, but GNU Hurd/Minix 3 happened more recently and their respective developers communicated on the mailing list how LwIP was integrated :). Both are micro kernels and the integration point with LwIP is different.  GNU Hurd integrated at the sockets level where as Minix 3, integrated at the callback API level (providing their own socket interface).

 

I would imagine for Linux, you'd do something similar, integrating LwIP's callback API level to the kernel side sockets layer.  At the bottom end, you could possibly do something like map LwIP's netif to a netdev so you can use the existing Linux drivers.

Joel

 

On 02/05/2018 06:31 PM, vinay s wrote:

Hello All,

 

I am doing some source code evaluation (cycles spend in various blocks) of TCP/IP stack between linux network stack and lwip. I am able to run lwip in userspace, however for my requirement I would like to put lwip in mainline kernel (either as module or intergrated alternate stack), as running it in userspace fudges the numbers (preemption by high priority processes/interrupts etc).  I am curious as to if this has been already done (any pointers would be helpful).

 

Please note, I am not looking into lwip in rtos kernels (e.g, RTLinux/RTAI etc). 

 

Thanks,

vks




_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]