From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) by dpdk.org (Postfix) with ESMTP id 2CF325965 for ; Thu, 17 Oct 2013 15:25:45 +0200 (CEST) Received: by mail-ob0-f181.google.com with SMTP id va2so1865358obc.12 for ; Thu, 17 Oct 2013 06:26:32 -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=FyVWr5hawlj5QfuV5YHQPfRv5izJc1HYInmKJZhChgg=; b=lCLC4C/1ccxRUcgVWO9IvbpR6d2cClgZvQ26krHfnycUOZiv1xmKAfKzI8YrDf1Z4D R/D2DFZhQ8Rx01AOJhDtgGA7FnMKvKIX7fyxuZfpkBizHx/VRhOnKkuogk5WbzDLaSPh cq998/4c9iweX6mtc+PFdkUWhiBuhYeD7ZHPl70ByadtflzpRkF2lHSJjKK/JyqLG7Gb I1UOoKM6WiULTpQJKuXCHCkjsYeqemg59Dp6OaNflOrSs7yLpbpzgCyqb35kFiyFy3G0 Ng8Jcnt9k6uSr0Z3DNekO00kDM4MSYtxuvN8bC3bDePnfC9nOmoswFLiHKuAz4YbkCil vHEw== MIME-Version: 1.0 X-Received: by 10.182.121.137 with SMTP id lk9mr13964192obb.32.1382016392125; Thu, 17 Oct 2013 06:26:32 -0700 (PDT) Received: by 10.182.158.1 with HTTP; Thu, 17 Oct 2013 06:26:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Oct 2013 16:26:32 +0300 Message-ID: From: Gopi Krishna B To: Gal Sagie 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 13:25:45 -0000 On Thu, Oct 17, 2013 at 3:01 PM, Gal Sagie wrote: > 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 > >> >> Hi I realized that there are some sample examples available in dpdk-rumptcpip, and am currently trying the tcp_http_get example. But the basic question still remains for me, without assigning an IPaddress to the NIC which DPDK is controlling, how does the communication happen. In more detail, what is the src_ipaddr in the packet being sent out. -- Regards Gopi Krishna