From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by dpdk.org (Postfix) with ESMTP id 2E2E36931 for ; Thu, 23 May 2013 19:34:45 +0200 (CEST) Received: by mail-pd0-f182.google.com with SMTP id g10so3156720pdj.13 for ; Thu, 23 May 2013 10:34:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=V2NpP+gj3QxF8MqUvuf3sjzA3WO3yRk1GpE10h5l7bg=; b=VqHCzTtU1GlSiHK0HkzI6077lqVATMMe/1CZdn6Gq8LAJmVPnTeQdRBCxR10jSTPTc 6OXo6m9Bp9XJsIZkC6HiB9VA/oXqQjKWKz5Mm1GFvg+NG/6YLQslImcKa29zmE34gfB9 4irqb49G+dPBmJC+f/VnWbOGiy+8JJE0fJW0yAiffk6dhaZtROPu3AKxoZ49j9zIgH7N f6139fbZHlY+Ll0KCoCaKkz9LHnNx9vOf6TlC23klwhgRj84WxHGFfuNctwFAWlb+7gB QRHhLEv/M21OjRqQfDatysM6giB2XovLwXKhybR78MjnSVQdkBso9f3lE0F/Nl5m5IwP 8HqQ== X-Received: by 10.68.178.229 with SMTP id db5mr13945733pbc.79.1369330489391; Thu, 23 May 2013 10:34:49 -0700 (PDT) Received: from nehalam.linuxnetplumber.net (static-50-53-71-109.bvtn.or.frontiernet.net. [50.53.71.109]) by mx.google.com with ESMTPSA id do4sm12536630pbc.8.2013.05.23.10.34.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 23 May 2013 10:34:48 -0700 (PDT) Date: Thu, 23 May 2013 10:34:45 -0700 From: Stephen Hemminger To: Antti Kantee Message-ID: <20130523103445.2dc6feb5@nehalam.linuxnetplumber.net> In-Reply-To: <519E4686.90406@iki.fi> References: <519E4686.90406@iki.fi> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlF7ym8aEln5cgPgY1hboxNj8CP3elwjo/zESGuh9XDywqatu/3gFpLUWb2D2AFVM3ols+0 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] announcing rump kernel TCP/IP stack for DPDK X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 17:34:45 -0000 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