From: dawid_jurek <dawid_jurek@vp.pl>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Minimal dpdk configuration for 2 hosts
Date: Fri, 04 Mar 2016 21:47:47 +0100 [thread overview]
Message-ID: <158043258-63a666d93d341167f777a9aa26e9ae99@pmq1v.m5r2.onet> (raw)
Hello,
I wonder what is the minimal configuration (in sense on number of NIC ports) to run basic dpdk examples like
basicfwd, rxtx_callbacks or forwarding by testpmd for 2 hosts connected directly by Ethernet.
Is it possible to perform one directional transmission for some kind of sender-reciever scenario (2 hosts, every host with one port)?
It seems that for every kind of transmission between 2 machines I need at least 4 ports
(because every port may take care of TX or RX but not both of them at the same time).
Is it correct?
Regards,
Dawid
From harold.demure87@gmail.com Sun Mar 6 10:30:52 2016
Return-Path: <harold.demure87@gmail.com>
Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com
[209.85.213.48]) by dpdk.org (Postfix) with ESMTP id F1F4A2C4F
for <users@dpdk.org>; Sun, 6 Mar 2016 10:30:51 +0100 (CET)
Received: by mail-vk0-f48.google.com with SMTP id e6so91661299vkh.2
for <users@dpdk.org>; Sun, 06 Mar 2016 01:30:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s 120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc; bh=mno1kfIowkJc6iaRngy5AYRLaMvbF4YcwG/Jj4PDOE0=;
b=ZOYix/l+0pJx7uDl3eHaDHdPB31Xj329+l8blkSCVKU4UbdZ1VxSrCHEp14NGuSMXv
y3sXuDlklALNhR9RMPAOmVObcAomdow+V221Xmod1b5l8my+9szdXX1AMkPn4yfChgvS
+Y23r5/IILI2SKDOlCe4gmcURVxYthByTCjTdL+/WVzhQo4e05SiZnWdH4a4Jzy7OBcl
5qT/o8cyXFPUhGzHsciec/k0kuch2HGL/ppQc3N17J5H5nbqwusas+FdY5oSBXAvSl2A
Moa7dg62v9ffkDRp0Ayhk8f+KNROmnGExtXqL3Etdf1hHV2JH5eMDVIcpan2fzNLypob
/TUg=X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d\x1e100.net; s 130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc;
bh=mno1kfIowkJc6iaRngy5AYRLaMvbF4YcwG/Jj4PDOE0=;
b=SVnnTeSekuwBEusIuqAHUihHvb1MaLkjxOmKmCK9beXVTIynzad+qT6L9d+xgz8lM2
8YPxrlm9CC52lS9DtSqjyslF99JLOAm2cGGPMWfiAinUWHAHFDZFidJ7UBDbHuYFXIwA
iSGJfJGgNvyTDLXGkUeeY62nGzTRE2wf22pOJjzCtLIjkxb0dX9R8JcqOND+9jwHipyr
FOnlksdLfst/7eqeWuB7vvjlPUeStRExtGz1sGH5IAmpvUyQFevxPMbgFv+Hxz6Qvxm0
7XFo54w82dE2ew1STWT0KeX0l7JVdT9eWtZPIJx20rzB+/C+1IEjmw64XFyKAmbNz2Zw
upLw=X-Gm-Message-State: AD7BkJLB4M8VhtfPnFtsIQxdHgHMfplKybjObkm3dDoP/cHKffTLzzUeQsQkQi5U032vwK/HtfRkxb+H88suKg=MIME-Version: 1.0
X-Received: by 10.31.155.131 with SMTP id d125mr12433444vke.146.1457256651482;
Sun, 06 Mar 2016 01:30:51 -0800 (PST)
Received: by 10.159.55.208 with HTTP; Sun, 6 Mar 2016 01:30:51 -0800 (PST)
In-Reply-To: <158043258-63a666d93d341167f777a9aa26e9ae99@pmq1v.m5r2.onet>
References: <158043258-63a666d93d341167f777a9aa26e9ae99@pmq1v.m5r2.onet>
Date: Sun, 6 Mar 2016 10:30:51 +0100
Message-ID: <CAKbMwWomniyf_0EW9UDUmqn2TK+s3O13jGz2pn74ErgwrPsJ+w@mail.gmail.com>
From: Harold Demure <harold.demure87@gmail.com>
To: dawid_jurek <dawid_jurek@vp.pl>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Minimal dpdk configuration for 2 hosts
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
<mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
<mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Mar 2016 09:30:52 -0000
Hello Dawid,
I am no expert but a single port should be able to take care of both TX
and RX queues. For example, I am currently running two hosts with only one
port each and they are able to both send and receive messages.
Regards,
Harold
2016-03-04 21:47 GMT+01:00 dawid_jurek <dawid_jurek@vp.pl>:
> Hello,
> I wonder what is the minimal configuration (in sense on number of NIC
> ports) to run basic dpdk examples like
> basicfwd, rxtx_callbacks or forwarding by testpmd for 2 hosts connected
> directly by Ethernet.
> Is it possible to perform one directional transmission for some kind of
> sender-reciever scenario (2 hosts, every host with one port)?
> It seems that for every kind of transmission between 2 machines I need at
> least 4 ports
> (because every port may take care of TX or RX but not both of them at the
> same time).
> Is it correct?
> Regards,
> Dawid
>
next reply other threads:[~2016-03-04 20:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-04 20:47 dawid_jurek [this message]
2016-03-10 14:59 dawid_jurek
2016-03-11 18:55 ` Harold Demure
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=158043258-63a666d93d341167f777a9aa26e9ae99@pmq1v.m5r2.onet \
--to=dawid_jurek@vp.pl \
--cc=users@dpdk.org \
/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).