From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: announcing rump kernel TCP/IP stack for DPDK Date: Thu, 23 May 2013 10:34:45 -0700 Message-ID: <20130523103445.2dc6feb5@nehalam.linuxnetplumber.net> References: <519E4686.90406@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Antti Kantee Return-path: In-Reply-To: <519E4686.90406-X3B1VOXEql0@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Thu, 23 May 2013 18:40:38 +0200 Antti Kantee wrote: > Hi, > > I like the opportunities that a technology like DPDK enables, and I felt > that the availability of an open source TCP/IP stack for DPDK could make > things even more interesting. I've been working on a concept called the > anykernel, where the idea is that an OS kernel should be structured in a > fashion which allows the driver components to be run independently of a > monolithic kernel in so-called rump kernels. Long story short, one of > the "byproducts" is a run-anywhere standalone version of NetBSD kernel > TCP/IP stack, so it was a natural progression to integrate that TCP/IP > stack with the NIC driver layer provided by DPDK. > > The published code completes "stage 1: make it work". I want to thank > another person who wished to remain anonymous for help with the > implementation and testing. Next up is "stage 2: make it fast". I > welcome everyone to contribute ideas / use cases / code / etc. towards > that goal. > > You can find the code for plugging DPDK into the rump kernel NIC layer > along with instructions from: > > https://github.com/anttikantee/dpdk-rumptcpip > > In case anyone is interested, I tested the setup with Void Linux running > in VM using an emulated 82540 NIC (cf. my previous mail to this list) > and the other party tested on Ubuntu using real hardware and a 82599 NIC. > > cheers, > antti Already done several times before. http://savannah.nongnu.org/projects/lwip/ https://code.google.com/p/tcp-ip-in-user-space/ http://www.ohloh.net/p/tcp-ip-in-user-space http://www.ioremap.net/projects/unetstack http://www.joerch.org/tcpip/ http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.167.2757