DPDK patches and discussions
 help / color / mirror / Atom feed
From: Gal Sagie <gal.sagie@gmail.com>
To: Gopi Krishna B <gopi97468@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] sending and receiving packets
Date: Fri, 18 Oct 2013 12:40:03 +0200	[thread overview]
Message-ID: <CAG9LJa41ERC-AneOpWrdru3Q8dGkiy99-+LcDugK0Q__XXoCew@mail.gmail.com> (raw)
In-Reply-To: <CA+XbSJLiTbvSzRri_sm-wKu9+7ofmX5KWAGbxoUmC1z0z9CNQw@mail.gmail.com>

You need to make sure you don't bind the ssh interface to DPDK
(If you are using version prior to DPDK1.4 you need to blacklist your ssh
interface before running the example
you can see how here =>
https://github.com/anttikantee/dpdk-rumptcpip/wiki/DPDK-important-points)


Gal.


On Fri, Oct 18, 2013 at 1:11 PM, Gopi Krishna B <gopi97468@gmail.com> wrote:

>
>
>
> 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
>
>
>


-- 
Best Regards ,

The G.

  reply	other threads:[~2013-10-18 10:39 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
2013-10-18 10:40           ` Gal Sagie [this message]
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=CAG9LJa41ERC-AneOpWrdru3Q8dGkiy99-+LcDugK0Q__XXoCew@mail.gmail.com \
    --to=gal.sagie@gmail.com \
    --cc=dev@dpdk.org \
    --cc=gopi97468@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).