From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by dpdk.org (Postfix) with ESMTP id 22BCC58D6 for ; Thu, 17 Oct 2013 14:00:43 +0200 (CEST) Received: by mail-ie0-f171.google.com with SMTP id tp5so3589816ieb.2 for ; Thu, 17 Oct 2013 05:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CyRT8KLBkJNqYmFPv4N63vuN3I0cBbbL6+5bUtquZjc=; b=nFKav4VIAaetYwrTfG5q+pYqFz1V79dqsDU7E1na6N15zWZZxxHGr9pUzr+IW99Y1Q Ry02Mi85eyddektmyZQV6F8GxKnmxFsWJgfk7Q4wcW2JA1dAZp5RkQbuVTPQzmltGTW3 vU2HJOjLLBNy7hqtzosMgBZtEC98YAX+3J8vwvhQ5EaXxK2lSvmFABUzgKh0tVL7M/E3 nmGx7KOEEGED3Ir0S5IrxoFURnlwD7l2Fmm63ECqaN9/+1xl78KA7C6MuDdFZwbRLAB4 52zyUGNGe93CabeGL+ViMIVZzGtx3NI3kxn3urMHBqPThkYKWSk5PHmBpsXDiYW/EetK viRQ== MIME-Version: 1.0 X-Received: by 10.50.30.42 with SMTP id p10mr5967908igh.5.1382011288345; Thu, 17 Oct 2013 05:01:28 -0700 (PDT) Received: by 10.43.134.65 with HTTP; Thu, 17 Oct 2013 05:01:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Oct 2013 14:01:28 +0200 Message-ID: From: Gal Sagie To: Prashant Upadhyaya Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] sending and receiving packets 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, 17 Oct 2013 12:00:43 -0000 Rump kernels is a flexible kernel architecture which runs in user space and is a very interesting project, you can read more about it here => http://www.netbsd.org/docs/rump/#rump-about It is currently part of the NetBSD source tree. A project was made to integrate Intel DPDK inside Rump kernel networking layer. (in order to provide a networking stack and user space on top of DPDK) You can read more about it here => https://github.com/anttikantee/dpdk-rumptcpip By using this you can run TCP Server inside rump kernel client and interface with the physical port using DPDK. Gopi, you didnt give enough information what exactly you are trying to do, you can look at the examples in the dpdk-rumptcpip maybe its best you first try to run them and see everything works. In order to write a TCP server application on top of Rump kernel you either need to use the rump system call API's (starts with rump_..) or use the libhijack (You can read more about it in the rump kernels page) Gal On Thu, Oct 17, 2013 at 2:36 PM, Prashant Upadhyaya < prashant.upadhyaya@aricent.com> wrote: > Hi Gopi, > > I have not worked with rumpkernel tcpip stack. > Does it run 'with' the DPDK in the userspace and is your tcp client > application interacting over sockets to that tcpip stack in user space ? > > If your stack is running in the kernel, then ofcourse you have to use a > tap interface to interface with the kernel. > > Can you describe your usecase in more details eg. what is the dpdk app, is > the tcp client itself the dpdk app and so forth. > > Normally, I use tcpclient/server as a normal linux kernel interfacing > apps. I run a DPDK app and use a tap interface to switch packets in an out > of the kernel. The kernel interacts over sockets with tcpclient/server as > usual. > > Regards > -Prashant > > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Gopi Krishna B > Sent: Wednesday, October 16, 2013 8:13 PM > To: dev@dpdk.org > Subject: [dpdk-dev] sending and receiving packets > > Hi, > I have DPDK 1.5 configured on my machine, I have also configured the rump > kernel tcpip stack. > > Now, to check whether the setup works, I started *TCP Server > application*on another machine and connected the LAN cable to the port > which is controlled by DPDK. > And I am running *TCP client application* on the machine having DPDK and > rumpkernel tcpip stack. > > The tcp client and server cannot communicate, is there some other > configuration to be taken care for the traffic to flow appropriately on the > machine running DPDK. > I have checked similar posts on the mailing list, but didnot get clue on > how to debug the issue I am facing. > Any pointer/suggestions would be really of great help. > > -- > Regards > Gopi Krishna > > > > > > =============================================================================== > Please refer to http://www.aricent.com/legal/email_disclaimer.html > for important disclosures regarding this electronic communication. > > =============================================================================== > -- Best Regards , The G.