From: jerry <jerry.lilijun@huawei.com>
To: Luigi Rizzo <rizzo@iet.unipi.it>, <netdev@vger.kernel.org>,
"freebsd-net@freebsd.org" <net@freebsd.org>
Subject: Re: netmap, VALE and netmap pipes
Date: Sat, 22 Feb 2014 09:03:17 +0800 [thread overview]
Message-ID: <5307F755.4090303@huawei.com> (raw)
In-Reply-To: <CA+hQ2+gbs9aBneUaDGAnKVoPHspzc=5o+h+f_K=T+Cy8sRxr+w@mail.gmail.com>
Hi Luigi,
How to use netmap pipe by pkt-gen commands?
I have tried the commands as follows:
./pkt-gen -i netmap:pipename{1 -f tx
./pkt-gen -i netmap:pipename}1 -f rx (in another terminal)
But it works failed.
Should the pipename be replaced with a invalid NIC name such as "eth3" in netmap mode?
The netmap pipe works from software ring to software ring independently with NICs, I understand. Is that right?
B.R.
Jerry
On 2014/2/17 18:11, Luigi Rizzo wrote:
> Hi,
> we have recently made a few extensions to netmap/VALE and put various
> pieces of code on public repositories, so i thought i'd share the
> pointers. All the code below runs with equal features and performance
> on FreeBSD and Linux, and we are trying to upstream it in the relevant
> projects if possible (as an example, QEMU recently added a netmap backend),
> at which point some of these clone repositories will become unnecessary.
>
> See http://info.iet.unipi.it/~luigi/netmap for more details.
>
> https://code.google.com/p/netmap/
> The latest netmap code for FreeBSD/Linux. It has native support
> for certain NICs; emulated netmap over unmodified drivers;
> enhanced parallelism in the VALE switch (20 Mpps/source, scaling
> up to ~50Mpps); and a new feature called "netmap pipe" that
> does zero-copy blocking I/O at over 100 Mpps.
> Other features are the ability to allocate tons of extra
> netmap buffers, and configurable sharing of memory among NICs,
> VALE ports and netmap pipes. This increases the opportunity for
> zero copy operation.
next prev parent reply other threads:[~2014-02-22 1:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 10:11 netmap, VALE and netmap pipes Luigi Rizzo
2014-02-17 19:12 ` Kevin Bowling
2014-02-17 20:14 ` Stephen Hemminger
2014-02-17 20:33 ` Kevin Bowling
2014-02-22 1:03 ` jerry [this message]
2014-02-22 1:08 ` Luigi Rizzo
-- strict thread matches above, loose matches on Subject: below --
2014-02-17 10:15 Luigi Rizzo
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=5307F755.4090303@huawei.com \
--to=jerry.lilijun@huawei.com \
--cc=net@freebsd.org \
--cc=netdev@vger.kernel.org \
--cc=rizzo@iet.unipi.it \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.