From: Gopi Krishna B <gopi97468@gmail.com>
To: Gal Sagie <gal.sagie@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] sending and receiving packets
Date: Fri, 18 Oct 2013 13:11:47 +0300 [thread overview]
Message-ID: <CA+XbSJLiTbvSzRri_sm-wKu9+7ofmX5KWAGbxoUmC1z0z9CNQw@mail.gmail.com> (raw)
In-Reply-To: <CAG9LJa5Uub21N9ioEw7dSAJfeSoJE1a4e7=Qnn1tu86ioTRh2w@mail.gmail.com>
On Thu, Oct 17, 2013 at 6:27 PM, Gal Sagie <gal.sagie@gmail.com> 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
next prev parent reply other threads:[~2013-10-18 10:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-16 14:42 Gopi Krishna B
2013-10-17 11:36 ` Prashant Upadhyaya
2013-10-17 12:01 ` Gal Sagie
2013-10-17 13:26 ` Gopi Krishna B
2013-10-17 15:27 ` Gal Sagie
2013-10-18 10:11 ` Gopi Krishna B [this message]
2013-10-18 10:40 ` Gal Sagie
2013-10-18 10:58 ` Gopi Krishna B
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+XbSJLiTbvSzRri_sm-wKu9+7ofmX5KWAGbxoUmC1z0z9CNQw@mail.gmail.com \
--to=gopi97468@gmail.com \
--cc=dev@dpdk.org \
--cc=gal.sagie@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).