From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by dpdk.org (Postfix) with ESMTP id 67628156 for ; Fri, 18 Oct 2013 12:11:00 +0200 (CEST) Received: by mail-ee0-f49.google.com with SMTP id d41so1815393eek.8 for ; Fri, 18 Oct 2013 03:11:47 -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=8pGi3jlPkyioBHkKO4Hp9MSfr1/6eBZnLMXGLZrpOV8=; b=O30rxtf8ipSTZy+HhhTPeP7gdL7wKFzRJdetu7/ahpI1gGRSOHok4iNBmwgX3pWRlL s2TLMzFVxw82D6rYqMlSZW0fSLWDmN31TWU6tm68J/9ws0sLpOsuxQqC/C1KJaeK3bQ2 8g9wuuPmD2d7VRsWfUcjmF4lmVztPHw9jRwPuASpzQXo8MGI44QWtvkMJssVPqNYwXjO iHFHv0Jby6ql4La+zq5ZR0xKKwHr08LL/PhU0Qy+JdvImmkjq8wpyZp+59LMsHhuFHPx OHbKbf3Aqr8r7n0JjZlyyjsWm5/pgcr6Ypeq5EOuW15AiV/sNtCXsjcVjCgiObA6mhf1 qUTg== MIME-Version: 1.0 X-Received: by 10.15.42.140 with SMTP id u12mr3285007eev.54.1382091107824; Fri, 18 Oct 2013 03:11:47 -0700 (PDT) Received: by 10.14.219.5 with HTTP; Fri, 18 Oct 2013 03:11:47 -0700 (PDT) In-Reply-To: References: Date: Fri, 18 Oct 2013 13:11:47 +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: Fri, 18 Oct 2013 10:11:00 -0000 On Thu, Oct 17, 2013 at 6:27 PM, Gal Sagie wrote: > Assigning an IP is a function of the network stack, DPDK and the NIC does > not need to be aware of that. > DPDK is just used to poll packets from the NIC and insert them into the > network stack start point inside rump kernels > > In the tcp_http_get example it is assumed you are connected to a DHCP > server , this call is used to obtain an IP for the interface > using DHCP : > if ((e = rump_pub_netconfig_dhcp_ipv4_oneshot("dpdk0")) != 0) > > If you look at the udp echo server example, you can see how to set the IP > address statically using this call: > > if (rump_pub_netconfig_ipv4_ifaddr(IFNAME, > IF_ADDR, "255.255.255.0") != 0) > > > > > Hi Thank you for the explanation. I am observing some problems now. Whenever I execute the ./webbrowser , I am loosing the SSH connection to the HP server. Why is this happening ? , what could be the possible reasons ? I am clueless on this problem. The setup I have is as below: HP Server (one nic is for SSH connection (10.127.x.x) , another nic is controlled by DPDK (192.168.x.x)) Linuxmachine (one nic is for SSH connection(10.127.x.x) , another nic(192.168.x.x) is directly connected with a LAN cable to the NIC on HP server controlled by DPDK) -- Regards Gopi Krishna